How to create a custom event goal for a/b test in Zoho PageSense | Help Guide

Add a custom event goal to your variation

A custom event goal is a slightly more advanced method of tracking every single behavior of a visitor on the page you are testing. This includes watching a video, submitting a form, completing a payment, or any other event that could not be tracked using clicks or page views goals. To set up a custom event goal in your A/B test, you need to add the two line Javascipt code into the AJAX function of the success event in your testing URL. Whenever a user satisfies the event condition in your variation page, the added Javascript code will trigger a conversion in your A/B test report.  
For example, say you want to test two different versions of your 'Sign Up' page in your website where visitors must fill in multistep forms to complete the sign up process. For such instances, you can add the custom event tracking code in the AJAX function of the Next button of each form page to track how many users actually visit both 'Form 1' and 'Form 2', how many visitors visit 'Form 1' but did not move on to 'Form 2' page, and ultimately the number of visitors who clicked the Submit button for conversions on your website. With these metrics, you can analyze if your variation page has outperformed your original form page, and identify which section of your form visitors drop out.

To create a custom event goal:
1. Go to the GOALS tab in your A/B test (or split URL test) and click + New Goal.

2. Choose Custom Event from the left pane, then enter a descriptive name for the goal in the text box. 

3. In the Set custom event field, type in a name for your custom event and click +Create {event name} to create a new custom event or select from previously created events.

Note: You will be able to access the same custom event from other experiments in PageSense.
4. PageSense will generate an event API code based on what you entered in this field. Copy and paste the API code to the exact <script> tag of your web page, depending on the event you would like to track. 
For example, you want to track the users submitting the 'Contact Us' form on your website. Based on our example, the <script> tag should be placed inside the success response of the contact form of your web page.


The code snippet should appear as follows on your web page before and after the implementation of the 'form_success' custom event goal on your web page:
<code snippet before installation--->                                                      <code snippet after installation---> 
       
Whenever a visitor clicks on the Submit button on your contact form, Zoho PageSense will track the successful conversion on your web page.

5. Click Save and then Next to proceed with the remaining settings in your A/B or Split URL test. 
You will be able to track these conversions and analyze your visitor metrics for the set goal on the REPORTS tab of your experiment. 


      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 FormsLegalMobile App
                              Form DesignerHRMobile 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 FormsEncrypted Forms

                              Secure 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

                                                              Use cases

                                                              Make the most of Zoho Desk with the use cases.

                                                               
                                                                

                                                              eBooks

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

                                                               
                                                                

                                                              Videos

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

                                                               
                                                                

                                                              Webinar

                                                              Sign up for our webinars and learn the Zoho Desk basics, from customization to automation and more

                                                               
                                                                
                                                              • Desk Community Learning Series


                                                              • Meetups


                                                              • Ask the Experts


                                                              • Kbase


                                                              • Resources


                                                              • Glossary


                                                              • Desk Marketplace


                                                              • MVP Corner

                                                                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

                                                                                                                        • Add an engagement goal to your variation

                                                                                                                          Creating engagement goals in A/B testing is another way to determine which version of your experiment performs better, and to get more engagement than your original site. This goal tracks any type of visitor behavior or interaction on your web page, ...
                                                                                                                        • Add a revenue goal to your variation

                                                                                                                          PageSense allows you to measure the revenue generated on your website when your visitor performs a successful purchase or payment transaction on your A/B (and Split URL) experiment page. To track the revenue value for each variation of your ...
                                                                                                                        • Create a custom event goal

                                                                                                                          A Custom event goal is different from the other type of goals (Element Clicks, Link Clicks, and Time Spent on Page) in PageSense where you can track clicks and record the success metrics of common behavior of a user on your web page with no unique ...
                                                                                                                        • Create and launch an A/B test in PageSense

                                                                                                                          A/B testing helps you analyze and observe how one version of a web page performs alongside another in front of your audience. On Zoho PageSense, you can quickly create, edit, and launch different versions of your web page, and test which one version ...
                                                                                                                        • Add a page view goal to your variation

                                                                                                                          A page view goal in A/B testing lets you track conversions when a visitor lands on a specific page or set of pages. You can use advanced URL match types to track the goals on multiple pages. For example, if your goal is to check how many visitors ...
                                                                                                                          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