PostMessage Tracking

PostMessage Tracking

Overview

PostMessage Tracking allows you to track the actions happening within your form and share them with the website via a post message. This enables any web analytics service configured on your website to receive these events and build conversions, creating a unified tracking approach for both your form and website, even when hosted on a different domain.

Pre-requisites

  1. Google Tag Manager (GTM) or any web analytics service must be properly configured on the website to ensure that the events are successfully captured.
Info
Google Tag Manager (GTM) and PostMessage Tracking operate independently. Therefore, configuring both simultaneously for the same form might result in duplicate event captures.

Configuring PostMessage Tracking

  1. In your form builder, navigate to the Share tab > Google Tag Manager & Custom Tracking.
  2. Navigate to PostMessage Tracking and click Configure.

    Configuring PostMessage Tracking

  3. Enter an alternate name for your form in Form Alias to identify it on your website.
  4. Under Configure Events, select the form events for which you want to push the event details to the website where your form is embedded.
    1. Form View: Pushes an event when a respondent views your form.
    2. Page View: For multiple-page forms, you can push an event when a respondent visits the selected pages. Enter an alias name for the selected pages to identify them in the website.
    3. Onclick Fields: Pushes an event when a respondent clicks the selected fields in the form. Enter an alias name for the selected fields to identify them in the website.
    4. Review Form: Pushes an event when a respondent reviews the form.
    5. Save Form: Pushes an event when a respondent saves your form.
    6. Submit Form: Pushes an event when a respondent submits your form. 
      Data Push Configuration:
      To push data from your form to an external website, enable Configure Data Push and then map the fields you want to send.
      Notes
      Note: If your form is HIPAA-enabled and you have marked certain fields as HIPAA-compliant, then the ePHI data will not be pushed to external sources unless you explicitly choose to send that data in your form settings.

      Configure Events
  5. View the list of variables that will be pushed with each event by hovering over the event and clicking Variables.
  6. Click Save. 
  7. After saving, a popup with the PostMessage Tracking Code will be displayed. Copy this code, embed it in your website's header, and publish your website.
Info
Within the code, any additional functionality should be implemented by invoking a dedicated function within the appropriate event listener. Avoid placing the entire custom logic directly inside the event listener. This approach ensures that any errors in your custom code will not interfere with the stable operation of the existing implementation.

PostMessage Tracking with Google Tag Manager (GTM)

If your form is configured with PostMessage Tracking and your website uses GTM, follow these steps 
  1. Embed Tracking Code
    Place the PostMessage Tracking Code in your website's header section. This will capture the form events on your website. 
  2. GTM Configuration
    In your Google Tag Manager, ensure you have set up the following to push the captured events to Google Analytics.

PostMessage Tracking with Other Web Analytics Services

If your form is configured with PostMessage Tracking and your website uses web analytics services other than GTM then
  1. Embed Tracking Code
    Place the PostMessage Tracking Code in your website's header section. This will capture the form events on your website. 
  2. Customize Embed Tracking Code
    To push the captured events to your specific web analytics service, customize the PostMessage Tracking Code as required.
    Tracking Code
    Info
    Within the code, any additional functionality should be implemented by invoking a dedicated function within the appropriate event listener. Avoid placing the entire custom logic directly inside the event listener. This approach ensures that any errors in your custom code will not interfere with the stable operation of the existing implementation.
  3. Configure Analytics Service
    Properly configure your specific web analytics service to receive the events.

Benefits of Using PostMessage Tracking

  1. Unified Analytics: Consolidates data from your form and your website into a single analytics platform.
  2. Cross-Domain Tracking: Track user behaviour even when your form is hosted on a different domain than your website.
  3. Consent-Driven Tracking: Event data is only triggered to web analytics services upon user acceptance of consent. With PostMessage Tracking, once consent is given on the website, event data is immediately triggered for conversions, contrasting with Zoho Forms GTM configuration.
  4. Payment Forms: Post Message Tracking can be configured for payment forms.
  5. Non-Google Tags Support: Trigger events for non-google tags like TikTok, Meta Pixel, and Pinterest are supported as we are sharing the events with your website. 
Notes
Note:
  1. If you configure a custom domain after setting up PostMessage Tracking, you must retrieve and re-embed the code in your website's header.
  2. Event capture occurs only when the form is accessed while embedded in a website, not when accessed directly via its URL.
  3. Your website is responsible for obtaining user consent for data transfer to analytics, as forms transmit data only to your website, it is then forwards it to analytics services via your website.
  4. PostMessage Tracking only shares event data with your website, form data is not shared.

      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








                                                                                                                          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