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 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

                                                                                                                          • Create your first personalization experiences in PageSense

                                                                                                                            You can use Personalization to create customized versions of your website based on the interests, characteristics, and behavior of your audience. This technique requires you to choose your target audience segment first and then make the desired ...
                                                                                                                          • Integrate Kissmetrics with Zoho PageSense

                                                                                                                            With the Kissmetrics integration, you can track web metrics for each variation in your Zoho PageSense experiment. To enable the integration, add the Kissmetrics integration code snippet in the pages you want to track. After you set it up once, it ...
                                                                                                                          • Integrate Google Analytics with Zoho PageSense via Google Tag Manager

                                                                                                                            You can effortlessly integrate Google Analytics (GA) with Zoho PageSense using Google Tag Manager. GTM is a free tool that allows you to quickly add and update your code (tags) on your website without having to manually write a single line of code. ...
                                                                                                                          • Add and edit the background image in the variation

                                                                                                                            Having a relevant background image for your business site can help showcase your products and services in a visually appealing way and allow users to develop an instant connection with your brand. This could include displaying a relevant cover ...
                                                                                                                          • Some important metrics to measure the effectiveness of website personalization

                                                                                                                            Mesauring the success of your personalization experience can vary from industry to industry. However, there are a few of the key performance metrics that you can consider to track and analyze the effectiveness of the personalization experience on ...
                                                                                                                            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