To install Google Tag Manager in your form,
Click Save.
Learn more about the considerations before you install Google Tag Manager.
Event | Event Name |
Form View | zf_formview |
Page View | zf_pageview |
Onclick Fields | zf_onclickfield |
Review Form | zf_reviewform |
Save Form | zf_saveform |
Submit Form | zf_submitform |
To configure a custom event trigger for the above events,
When an event is triggered, a set of data regarding the event is sent from the form to Google Tag Manager. In order to capture this data on Google Tag Manager's end, data layer variables will have to be created. Data Layer is a virtual layer of your form that temporarily holds the data generated when a respondent interacts with your form. For example, you can capture additional details from form events in Google Tag Manager, such as the fields clicked or the pages viewed using Data Layer Variables.
You can create the following Data Layer variables in Google Tag Manager to capture a form event data:
To create a Data Layer variable in Google Tag Manager,
In Google Tag Manager, click Variables from the left menu.
Under User-Defined Variables, click New.
Enter a name for the variable.
Click Variable Configuration and select Data Layer Variable.
Under Data Layer Variable Name, enter the name of the variable as given in the above list (For example: zf_formname) and click Save.
The Google Analytics Settings variable is used while configuring a Universal Analytics tag. Once you have created this variable, you can reuse it to configure multiple Universal Analytics tags.
To create Google Analytics Settings variable,
In Google Tag Manager, click Variables from the left menu.
Under User-Defined Variables, click New.
Enter a name for the variable.
Click Variable Configuration and select Google Analytics Settings under Utilities.
Enter your Google Analytics Tracking ID and click Save.
To create a Universal Analytics tag,
In Google Tag Manager, click Tags from the left menu and click New.
Enter a name for the tag (For example: Submit Form Tag).
Click Tag Configuration and select Google Analytics: Universal Analytics.
Under Track Type, select Event.
Enter the Event Tracking Parameters : Under Category, click the variable picker and select the data layer variables that you have created from the list to track them in Google Analytics.
Under Google Analytics Settings, select the Google Analytics Settings variable created earlier. If you have not created it already, select New Variable from the list and create a Google Analytics Settings variable.
Click Triggering, and select a custom event trigger that you have created to associate it with the tag.
Click Save.
If your form's iframe is embedded in a website, and you have configured to track events in both your website and form using Google Tag Manager, you must configure certain additional settings.
For example, if your form is in the domain forms.zylker.com and you have embedded it on your website which is in the same domain zylker.com, and you have configured to track events in both your website and form using Google Tag Manager, follow the steps below:
Ensure that you use the same Google Analytics Property across the website and the embedded form.
In Google Tag Manager, check if the Cookie Domain parameter is set to auto in Google Analytics Settings Variable.
Once you have configured and saved all your tags, you can click Preview in the top-right corner of Google Tag Manager to test and debug your configuration using the steps here if you are facing issues in tracking.
Click Submit in the top-right corner to publish and push the changes to Zoho Forms.
Note:
Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.
If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.
You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.