Google Tag Manager is the reference tool for tracking visits to your website and automatically accounting for conversions.
Conversion is any significant action by a prospect that you have identified and want to measure. For example, a conversion could take the form of registering for a webinar, a trial version, or submitting a contact form.
GTM consists of tags and triggers in order to track all types of interactions:
For example, if you want to measure all conversions from forms in Google Analytics or Appvizer, you will need to create a Google Analytics tag and an Appvizer tag and then connect them to a trigger for submitting forms.
Avoid, but in some cases, the form is not followed by a redirection to a confirmation page (different URL). This case makes tracking conversions more hard but not impossible and we will see how to do it.
Reminder: This method should only be used if the form does not have a confirmation page.
Google Tag Manager is able to detect the validation of AJAX forms, the most common technology for web forms.
In “Variables” and then “Configure”, you can enable or disable built-in variables that are useful for tracking visits and conversions to your site.
It is recommended to check all variables related to Pages, Clicks, and Forms. These variables allow you to choose the variables related to the pages, clicks, forms that you want to track.
For example, you can ask GTM to activate a trigger on all forms located on the /contact page (form url contains /contact).
In GTM, a trigger is an action for which you want a tag to be sent. This corresponds, for example, to sending a contact form or creating a trial account.
In this specific case, a “visit” event triggers an Appvizer tag when the page is visited.