How to create a custom events goal in Zoho PageSense | Help Guide

Create a custom event goal

Custom event goal is different from the other type of goals (Element ClicksLink 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 destination or confirmation page URL. For example, form submissions are one of the most conversion actions on a website that uses the Custom Event goal. This includes tracking newsletter sign ups, registering for an upcoming webinar, or submitting a contact request. Implementing custom event requires you to add a custom code to your site (with the help of developers) in order to track actual conversions under your reports page. These conversion metrics are often the key goal of email, social media, and other digital marketing campaigns.

To understand the custom event goal better, let'imagine you have a 'Contact Us' form on your website '' that displays a 'ThankYou message' to visitors upon submitting the form. In this case, the page URL remains the same even after the visitor submits the form. For such instances, you can use the Custom Event goal in the destination page to track successful conversions whenever a specific condition is achieved. Implementing the custom goal requires you to add the two line Javascript code in the success function of the AJAX request. This event code will be triggered after the form is submitted to send the required conversion metrics to PageSense. 

To create a custom event as your goal:
1. Click Goals on the left pane, then click the New Goal button. 

2. Choose the goal type as Custom Event, then add a descriptive name for it. 

3. Enter the URL of the web page on which you want to track your custom event and click Next.

4. Enter a specific name for your custom event, then click 
+Create 'event name' to create a new custom event or select from the previously created ones (if it's already available). 
For example, let us say you want to track the successful submission of your newsletter 'subscribe' form that does not redirect visitors to a confirmation or thank you page. 

You will be able to access the same custom event across other experiments in PageSense.
5. Based on your input in the field, PageSense will generate an event API code. Copy and paste the API code inside the exact <script> tag of your web page, depending on the event you would like to track. 

In our example, the <script> tag should be placed inside the success response of the form on your web page. The code snippet should appear as follows on your web page before and after the implementation of 'form_success' custom event goal on your web page.
<code snippet before custom event implementation--->             <code snippet after custom event implementation---> 

Whenever a visitor clicks on the 'subscribe' button on your newsletter form, Zoho PageSense will track the successful conversions on your web page.
6. Click Launch to finish setting up the goal and start running it on your web page.
You will be able to track conversions and analyze your visitor metrics for the set goal under the REPORTS tab. 

    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

                        Still can't find what you're looking for?

                        Write to us:



                          Manage your brands on social media

                              Zoho Marketing Automation

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

                                                        Zoho TeamInbox Resources

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

                                                                                          • Setup your Zoho PageSense account

                                                                                            Zoho PageSense provides you with the right set of tools to test personalized website experiences, track user's key metrics, and further analyze their behavior on your website in real time to boost visitor conversions. To sign up with PageSense, all ...
                                                                                          • Create a custom event in funnel analysis

                                                                                            Funnels are used to track events and task completions by visitors between different stages in your website. By creating custom event funnels, you can track visitor clicks in every stage of your funnel page which does not contain a unique thank you ...
                                                                                          • Create a time spent on page goal

                                                                                            You can track the amount of time spent by your visitors on your web page using the Time Spent on Page goal in PageSense. This goal allows you to track the conversion rate whenever a visitor exceeds the set time frame (in seconds) on the page. For ...
                                                                                          • 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 ...
                                                                                          • Create a click on link goal

                                                                                            You can create a goal to track when someone clicks a link on your website. In this goal type, clicking on the link usually leads the user to a different web page. For example, you can track when someone clicks the 'Buy Now' link on your product page, ...
                                                                                          Wherever you are is as good as
                                                                                          your workplace



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


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


                                                                                            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