Our direct Google Analytics integration uses the analytics.js script that Google provides in order to track default page views. When you need more advanced metrics tracked with Google Analytics, you will have to add their tracking script following the instructions below, after customizing it to fit your particular situation.
With this option, you will not use our direct integration at all.
Conversions will be triggered either by button clicks/form submissions on the main page or by visits to a thank you page (used as a conversion page).
1. Conversions triggered by button clicks
For any Google Analytics event, you will need to customize the event parameters. You will need to replace the square brackets with your event fields. Please consult Google’s documentation for more information about how to configure your Google Analytics events.
Here is how you can find the button element ID number:
If you want to track multiple buttons you will have to add the code again for each button. Don’t forget to customize all the individual code snippets to have the correct element ID number and event parameters for each separate button.
2. Conversions triggered by form submissions
While you can check the form submissions on our built-in Analytics dashboard (link to our article), you can also set up a Google Analytics event to track them.
Note that we offer two different code snippets for when you want to fire the same Google Analytics event for all your page forms, and also a different code snippet for when you want to fire a different Google Analytics event for each form on your page.
Just like with event fired on button clicks, be sure to customize the event parameters as per Google’s documentation.
For this second code snippet, you will need to edit the "wid" value, which is only the digit part of the element ID. For #element-659, the "wid" value is "659".
3. Conversions triggered on the thank you page
Note: Google Analytics needs 24 hours to process the data received.
Note: We only offer the ability to add custom code. We do not provide custom code assistance through the support team.