skip to Main Content

Google Tag Manager: Using Javascript variables defined on page html in GTM Merchant code? – Magento

I am trying to integrate Google Merchant Code via GTM on a product checkout/thankyou page. The Google Merchant code is : <script> window.renderOptIn = function() { window.gapi.load('surveyoptin', function() { window.gapi.surveyoptin.render( { "merchant_id": 12345678, "order_id": "ORDER_ID", "email": "CUSTOMER_EMAIL", "delivery_country": "COUNTRY_CODE", "estimated_delivery_date":…

VIEW QUESTION
Back To Top
Search