Inserting Analytics event snippet in Sign-up conversion page

  • 27 April 2020
  • 3 replies
  • 3 views

Where do I insert this specific tag? I’m not talking about the google analytics header script, but this one:

<!-- Event snippet for Sign-up conversion page -->
<script>
  gtag('event', 'conversion', {
      'send_to': 'XXXXXX',
      'value': 0.0,
      'currency': 'USD'
  });
</script>

3 replies

Hey Matan! 😃

The event snippet should be added to your form confirmation dialog (FCD) and installed in the Head section of your FCD page.

Let me know if you have additional question 🙂

-Vicky

Thank you Vicky. Head section? Mike from support said its in the body section…

Badge +1

@Matan_Offer Head or Body doesn’t matter as long as you fire this script after the GA tracker is set. Because Gtag is recommended to be added in head section, you can add event code to either head (below global gtag snippet) or the body section…

Reply