Google Tag Manager setup : Overview | Zoho Forms

Google Tag Manager setup : Overview

If you are looking to understand how respondents interact with your form, Google Tag Manager (GTM) can help you add and manage analytics and measurement tags on your form to track events in Google Analytics when respondents view your form, click the form fields, review, save, and submit your form.

GTM trackin

Pre-requisites

Before you configure to track events in your form, 

  1. Create a Google Analytics account and configure a Google Analytics Property.
  2. Create an account at tagmanager.google.com or you can use your existing account. A new container is created by default when you create an account.

After completing the pre-requisites, you must follow the steps below to configure and deploy the Google Analytics tags on your form using Google Tag Manager.

Install Google Tag Manager in your form

The first step is to install Google Tag Manager in your form to deploy Google Analytics tags on your form.

Learn more about the considerations before you install Google Tag Manager.

Zoho Forms does not require you to have experience with code to install Google Tag Manager on your form. It just requires you to select the form events that you wish to track.

To install Google Tag Manager in your form,

  1. In your Google Tag Manager account, go to Workspace and copy the container ID (GTM-XXXXXX) on the top of the window.
  2. In your form builder, navigate to the  Share tab > Google Tag Manager & Custom Tracking.
  3. Click Google Tag Manager and click Configure.
    Configuring Google Tag Manager
  4. Paste the Container ID.
  5. Enter an alternate name for your form in Form Alias to identify it in Google Tag Manager.
  6. Under Allowed GTM Tags, you can select which GTM Tags are permitted.
    1. Limited Google Tags restricts you to a specific set, including Google Analytics Settings (legacy), Google tag, Google Analytics 4 Event, Google Ads Conversion Tracking Tag, Conversion Linker, Auto-Event Variable, Constant, Custom Event, URL, Lookup Table.
    2. All Google Tags allows the use of any tags categorized under Google classes. For example- Element Visibility Listener, Timer Listener, Enhance Conversions. Learn more about tags permitted under Google Classes
      GTM Tags
  7. Under Configure Events, select the form events from the following for which you want to push the event details to Google Tag Manager:
    • Form View : You can push an event when a respondent views your form.
    • Page View : If you have a multiple-page form, you can push an event when a respondent visits the selected pages. Enter an alias name for the selected pages to identify them in Google Tag Manager.
    • Onclick Fields : You can push an event when a respondent clicks the selected fields in your form. Enter an alias name for the selected fields to identify them in Google Tag Manager.
    • Review Form : You can push an event when a respondent reviews the form.
    • Save Form : You can push an event when a respondent saves your form.
    • Submit Form : You can push an event when a respondent submits your form.
      Configure Events
  8. You can view the list of variables that will be pushed with each event by clicking Variables.
  9. Click Save
    Notes
    Note : Google Tag Manager is not supported if the form is embedded on your website using the HTML/CSS embed option. 

Configuring Google Tag Manager

Google Tag Manager requires 3 main components to capture events:

  • Triggers 
    Triggers instruct the Google Tag Manager on when to fire a tag based on the events detected in your form such as field clicks or form submissions. When an event matching the trigger definition is detected, the tag associated with that trigger will fire. You must configure Custom Event Triggers in Google Tag Manager to fire the tags associated with them.
  • Variables 
    Variables are used to capture additional details related to an event. You can use variables in trigger conditions or to pass the information to the tags. 
  • Tags 
    Tags are code snippets or tracking pixels that collect and send data from your form to Google Analytics. Any tag that you create in Google Tag Manager gets fired in response to the event trigger associated with it. 

Supported Tags and Variables


The following tables list the supported Tags and Variables:

Tags ID
Google Analytics 4 Configuration  gaawc
Google Analytics 4 Event gaawe
Variables ID
Google Analytics Settings (legacy)  gas
Auto-Event Variable v
Constant c
Custom Event e
URL u

Preview and Publish

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.

Compliance and Privacy

Please ensure that you comply with the data privacy laws applicable to you while enabling this tracking by providing privacy notice and obtaining consent from your visitors/users.​
    Refer to the links below for detailed instructions on completing your GTM setup:
  1. Refer to the detailed step-by-step instructions about configuring Google Tag Manager.
  2. If you have configured Google Tag Manager and find issues in tracking, refer to the step-by-step instructions to debug your configuration.
  3. Refer to the Frequently Asked Questions about Google Tag Manager for further clarification.

      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        Access your files securely from anywhere

          Zoho CRM Training Programs

          Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

          Zoho CRM Training
            Redefine the way you work
            with Zoho Workplace

              Zoho DataPrep Personalized Demo

              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.

              Zoho CRM Training

                Create, share, and deliver

                beautiful slides from anywhere.

                Get Started Now


                  Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                  BOOK A SESSION







                              Quick LinksWorkflow AutomationData Collection
                              Web FormsEnterpriseOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceAccessible Forms
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit

                              Intake FormsLegal
                              Mobile App
                              Form DesignerHR
                              Mobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic Forms
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsFormstack alternativeEncrypted Forms

                              Wufoo alternativeSecure Forms

                              WCAG

                                      Create. Review. Publish.

                                      Write, edit, collaborate on, and publish documents to different content management platforms.

                                      Get Started Now







                                                        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.




                                                            Manage your brands on social media


                                                              • Desk Community Learning Series


                                                              • Digest


                                                              • Functions


                                                              • Meetups


                                                              • Kbase


                                                              • Resources


                                                              • Glossary


                                                              • Desk Marketplace


                                                              • MVP Corner


                                                              • Word of the Day


                                                              • Ask the Experts


                                                                Zoho Sheet Resources

                                                                 

                                                                    Zoho Forms Resources


                                                                      Secure your business
                                                                      communication with Zoho Mail


                                                                      Mail on the move with
                                                                      Zoho Mail mobile application

                                                                        Stay on top of your schedule
                                                                        at all times


                                                                        Carry your calendar with you
                                                                        Anytime, anywhere




                                                                              Zoho Sign Resources

                                                                                Sign, Paperless!

                                                                                Sign and send business documents on the go!

                                                                                Get Started Now




                                                                                        Zoho TeamInbox Resources





                                                                                                  Zoho DataPrep Demo

                                                                                                  Get a personalized demo or POC

                                                                                                  REGISTER NOW


                                                                                                    Design. Discuss. Deliver.

                                                                                                    Create visually engaging stories with Zoho Show.

                                                                                                    Get Started Now








                                                                                                                        • Related Articles

                                                                                                                        • Google Sheets Integration

                                                                                                                          Overview If you are looking to automate storing your form responses in a sheet and save the time spent on manual entry of form data into the sheet, you can use the Zoho Forms - Google Sheets integration. With this integration, your form responses ...
                                                                                                                        • Google Tag Manager Configuration

                                                                                                                          Watch a quick video to see how you could configure Google Tag Manager to track your form events. The below video is an example configuration with a Universal Analytics property. Help Guide: Configure Google Tag Manager Frequently Asked Questions
                                                                                                                        • Overview

                                                                                                                          Having an approval process within your organization becomes essential to approve certain documents, applications, invoices, budgets, purchase orders, discounts, vacation time, etc. To streamline the manual approval processes that you already have and ...
                                                                                                                        • Google Tag Manager Configuration with Google Ads

                                                                                                                          How this works? A conversion is a user action that you consider valuable, such as the form submission. When a prospect clicks on a Google Ad and is redirected to your website, where the user fills out and submits your form, it is typically treated as ...
                                                                                                                        • Google Tag Manager Configuration with Google Analytics 4 Property

                                                                                                                          Installing Google Tag Manager in your form To install Google Tag Manager in your form, In your Google Tag Manager account, go to Workspace and copy the container ID(GTM-XXXXXX) on the top of the window. In your form builder, navigate to the Share tab ...
                                                                                                                          Wherever you are is as good as
                                                                                                                          your workplace

                                                                                                                            Resources

                                                                                                                            Videos

                                                                                                                            Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                            eBooks

                                                                                                                            Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                            Webinars

                                                                                                                            Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                            CRM Tips

                                                                                                                            Make the most of Zoho CRM with these useful tips.



                                                                                                                              Zoho Show Resources