Maxwell Wine Tracking for Rezdy

INSTRUCTION: 1. How to set up Custom Conversion Tracking 2. Click Integrations 3.Click Custom Conversion Tracking 4. Enter custom code for thank-you page 5. Lastly click Save Conversion Tracking
mail@pastecode.io avatar
unknown
plain_text
3 years ago
1.4 kB
1
Indexable
Never
<!-- Global site tag (gtag.js) - Google Ads: 998111666 -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-998111666"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'AW-998111666');
</script>


<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '690127545181345');
fbq('track', 'PageView');
fbq('track', 'Purchase',{
value: ###ORDER_TOTAL###,
currency: 'AUD',
tag: 'rezdy'
});
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=690127545181345&ev=PageView&noscript=1"
/></noscript>
<!-- End Facebook Pixel Code -->



<!-- Event snippet for Purchase conversion page -->
<script>
  gtag('event', 'conversion', {
      'send_to': 'AW-998111666/d7TyCJaT1-IBELLz99sD',
      'value': ###ORDER_TOTAL###,
      'currency': 'AUD',
      'transaction_id': '###ORDER_NUMBER###'
  });
</script>