How to track signup events or create custom events when a user registers?

Created by Rishabh Pandey, Modified on Fri, 27 Sep at 2:38 PM by Prerak Jain

This guide is designed to assist you in efficiently tracking signup events or custom events when users signup/register on your Knorish website.


This part necessitates a high level of proficiency in managing tags, parameters, and a basic understanding of JavaScript. Incorrect configurations might impact the user's signup/register process. The sample code provided is generated from Google Analytics and Facebook Pixel, but you can also generate tracking code from other third-party platforms based on your needs.


Now, let's break it down into easy-to-follow steps.


  • Login to publisher dashboard
  • Go to the Website builder section, then select Custom code, and finally, click on the signup tracking tab.
  • Now paste your tracking code


Sample Google Analytics Tracking

Here is a sample code that you can use for tracking signups. Make sure to replace all placeholders within curly braces so that they are sent to Google Analytics along with the event data. It's important to note that in the following tracking code, we are creating a custom event named "signup_on_knorish_site".


Once you add the tracking code, the events along with their data will begin appearing on the Google Analytics dashboard.



This simple step will allow you to begin tracking all signups on your Knorish website.


[Sample] Google Analytics code - https://raw.githubusercontent.com/knorish/tracking-code/main/global-signup-tracking-google-analytics.txt


Sample Facebook Pixel Tracking

Here is a sample code that you can use for tracking signups. Make sure to replace all placeholders within curly braces so that they are sent to Facebook Pixel along with the event data. It's important to note that in the following tracking code, we are creating a custom event named "signup_on_knorish_site".


Once you add the tracking code, the events along with their data will begin appearing on the Facebook Pixel dashboard. It may take upto 30 mins to display data on Facebook Pixel dashboard.



[Sample] Facebook Pixel code - https://raw.githubusercontent.com/knorish/tracking-code/main/global-signup-tracking-facebook-pixel.txt

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article