Untitled
unknown
plain_text
a year ago
8.1 kB
3
Indexable
<!-- Global site tag (gtag.js) - Google Ads: 10883809033 --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-10883809033"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-10883809033'); </script> {% if first_time_accessed %} <!-- Event snippet for Test conversion page --> <script> gtag('event', 'conversion', { 'send_to': 'AW-10883809033/T4XrCOG1prMDEIn-5sUo', 'value': {{ checkout.total_price | divided_by: 100.0 }}, 'currency': '{{ currency }}', 'transaction_id': '{{ order_number }}' }); </script> {% endif %} <!-- Global Site Tag (gtag.js) - Google AdWords: 10883809033 --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-10883809033"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-10883809033', {'send_page_view': false}); </script> <!-- google dynamic remarketing tag for order confirmation page --> <script type="text/javascript"> var event_name="purchase" var id = new Array(); {% for line_item in order.line_items %} id.push('shopify_IN_{{line_item.product.id}}_{{line_item.variant.id}}'); {% endfor %} var google_tag_params = { ecomm_prodid: id, ecomm_pagetype: 'purchase', ecomm_totalvalue: parseFloat('{{ subtotal_price | money_without_currency | remove: ","}}') }; </script> <script> gtag('event',event_name, { 'ecomm_prodid':window.google_tag_params.ecomm_prodid, 'ecomm_pagetype':window.google_tag_params.ecomm_pagetype, 'ecomm_totalvalue':window.google_tag_params.ecomm_totalvalue, 'id': google_tag_params.ecomm_prodid, 'google_business_vertical': 'retail', 'value': window.google_tag_params.ecomm_totalvalue }); </script> <!-- Hotjar Tracking Code for my site --> <script> (function(h,o,t,j,a,r){ h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; h._hjSettings={hjid:3421002,hjsv:6}; a=o.getElementsByTagName('head')[0]; r=o.createElement('script');r.async=1; r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; a.appendChild(r); })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='); </script> <!-- Paytm ad conversion script --> <script type="text/javascript">(function(){var a=document.createElement("iframe");a.setAttribute("src","https://paytm43.gotrackier.com/pixel?adid=644a62cf399bce5e69256a02&txn_id={{ order_number }}&sale_amount={{ total_price | money_without_currency }}¤cy=INR&sub4=");a.style.width="1";a.style.height="1";document.body.appendChild(a)})(); </script> <!-- Twitter conversion tracking event code --> <script type="text/javascript"> // Insert Twitter Event ID twq('event', 'tw-odfbi-odh0k', { value: null, // use this to pass the value of the conversion (e.g. 5.00) currency: null, // use this to pass the currency of the conversion with an ISO 4217 code (e.g. ‘USD’) contents: [ // use this to pass an array of products or content // add all items to the array // use this for the first item { content_type: null, content_id: null, content_name: null, content_price: null, num_items: null, content_group_id: null }, // use this for the second item { content_type: null, content_id: null, content_name: null, content_price: null, num_items: null, content_group_id: null }], conversion_id: null, // use this to pass a unique ID for the conversion event for deduplication (e.g. order id '1a2b3c') email_address: null, // use this to pass a user’s email address phone_number: null // phone number in E164 standard }); </script> <!-- End Twitter conversion tracking event code --><!-- Global site tag (gtag.js) - Google Ads: 10883809033 --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-10883809033"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-10883809033'); </script> {% if first_time_accessed %} <!-- Event snippet for Test conversion page --> <script> gtag('event', 'conversion', { 'send_to': 'AW-10883809033/T4XrCOG1prMDEIn-5sUo', 'value': {{ checkout.total_price | divided_by: 100.0 }}, 'currency': '{{ currency }}', 'transaction_id': '{{ order_number }}' }); </script> {% endif %} <!-- Global Site Tag (gtag.js) - Google AdWords: 10883809033 --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-10883809033"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-10883809033', {'send_page_view': false}); </script> <!-- google dynamic remarketing tag for order confirmation page --> <script type="text/javascript"> var event_name="purchase" var id = new Array(); {% for line_item in order.line_items %} id.push('shopify_IN_{{line_item.product.id}}_{{line_item.variant.id}}'); {% endfor %} var google_tag_params = { ecomm_prodid: id, ecomm_pagetype: 'purchase', ecomm_totalvalue: parseFloat('{{ subtotal_price | money_without_currency | remove: ","}}') }; </script> <script> gtag('event',event_name, { 'ecomm_prodid':window.google_tag_params.ecomm_prodid, 'ecomm_pagetype':window.google_tag_params.ecomm_pagetype, 'ecomm_totalvalue':window.google_tag_params.ecomm_totalvalue, 'id': google_tag_params.ecomm_prodid, 'google_business_vertical': 'retail', 'value': window.google_tag_params.ecomm_totalvalue }); </script> <!-- Hotjar Tracking Code for my site --> <script> (function(h,o,t,j,a,r){ h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; h._hjSettings={hjid:3421002,hjsv:6}; a=o.getElementsByTagName('head')[0]; r=o.createElement('script');r.async=1; r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; a.appendChild(r); })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='); </script> <!-- Paytm ad conversion script --> <script type="text/javascript">(function(){var a=document.createElement("iframe");a.setAttribute("src","https://paytm43.gotrackier.com/pixel?adid=644a62cf399bce5e69256a02&txn_id={{ order_number }}&sale_amount={{ total_price | money_without_currency }}¤cy=INR&sub4=");a.style.width="1";a.style.height="1";document.body.appendChild(a)})(); </script> <!-- Twitter conversion tracking event code --> <script type="text/javascript"> // Insert Twitter Event ID twq('event', 'tw-odfbi-odh0k', { value: null, // use this to pass the value of the conversion (e.g. 5.00) currency: null, // use this to pass the currency of the conversion with an ISO 4217 code (e.g. ‘USD’) contents: [ // use this to pass an array of products or content // add all items to the array // use this for the first item { content_type: null, content_id: null, content_name: null, content_price: null, num_items: null, content_group_id: null }, // use this for the second item { content_type: null, content_id: null, content_name: null, content_price: null, num_items: null, content_group_id: null }], conversion_id: null, // use this to pass a unique ID for the conversion event for deduplication (e.g. order id '1a2b3c') email_address: null, // use this to pass a user’s email address phone_number: null // phone number in E164 standard }); </script> <!-- End Twitter conversion tracking event code -->
Editor is loading...
Leave a Comment