Debug Google Tag Manager Configuration | Zoho Forms

Steps to debug your Google Tag Manager Configuration

Before you debug

  1. If you have embedded your form on a website, make sure that the form is embedded as an iframe and not using the downloaded HTML/CSS of the form.
  2. Make sure that you have configured Google Tag Manager only with a Google Analytics 4 property.
  3. Make sure that you have already configured Tag, Trigger and the required Data Layer Variables.
If you have done the above, make sure that you publish Google Tag Manager only after checking out the steps below.
The steps to debug below are structured this way:
  1. The headers are the debug steps to follow 
  2. The content beneath each header refers to the steps to follow if the debug steps don't work
  1. If the event is not getting fired, check if you have enabled the event on Zoho Forms end.

    Event Configuration

  2. Check if the domain is enabled for debugging in GTM Preview window.



Once the event is visible, click the event to see if the Tag configured is fired

  1. While configuring the custom event trigger, check if you have set the Event Name as given in Zoho Forms. For example: zf_submitform, or set a custom event name as zf_* and select Use regex matching.

    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
  2. In the Preview  mode, click the required event and click the Tag that is not getting fired to view the Tag Details.

    Tag that is not fired

    Tag Details

    Here, we can check the trigger that is not getting executed.

  3. Navigate to the Data Layer part of the event to see the data received from Zoho Forms.

    Data Layer

Verify the variables received with the variables shown under Firing Triggers  in step 2 to find where the discrepancy lies.

After the event has fired, check in Google Analytics realtime if the event is visible

Publish the changes in Google Tag Manager once more.


The event has fired, but the data shown in Google Analytics realtime is different from expected.


Wherever data layer variables are expected while configuring the Tag, make sure it has been set properly by clicking the    icon next to the input box and selecting the pre-configured data layer variables.


Continue with the below steps if you have your form embedded in a website, but only after you have verified the above steps.  

 

Preview the website with the form embedded in it now and see if event is getting fired while performing the action

Make sure that you have followed the steps here for Google Analytics 4 property. If you are unable to view your form in preview mode, it is likely that you have not installed the Tag Assistant Companion browser extension, which is required for your form embedded within an iframe to work reliably in preview mode.
Install extension




      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 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 ...
                                                                                                                          • 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 ...
                                                                                                                          • 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 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 Drive

                                                                                                                            Your form attachments will be saved to Google Drive when you choose this option. To do this, In your form builder, go to Settings > Submissions & Storage > Manage Form Attachments from the left menu. Choose Google Drive. Authenticate Zoho Forms to ...
                                                                                                                            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