Add tracking pixel using custom javascript


Tracking pixels are commonly used to measure the effectiveness of ad campaigns. The best solution to adding these pixels is to add them to the successful registration page or desired page where users will encounter the pixel. The platform allows for Custom JavaScript to be entered in the Admin section of the platform by following the steps below:

  1. Go to Design at the top menu in Admin.
  2. Choose JavaScript at the left menu.
  3. Find the body id tag for the desired page to place the tag. Use “View Page Source” and search for body id to find the desired id (Example: #mthd_success is the id tag for the registration successful page).

You can enter JavaScript in the empty field below Custom JavaScript to apply your script to the platform. Enter your tracking pixel URL and method page within the function here:

	var track = new Image();

After you Save your script, test the tracking pixel by loading the desired page then check with the provider that they receive the request. Once you have confirmed the tracking pixel is working, add the script to Mobile JavaScript at the left menu.

Read this article to learn about  absolute do’s for community management.

Was this article helpful?

Related Articles