Adding Tracking code

How to add Tracking code/script in pages

Zenler Support avatar
Written by Zenler Support
Updated over a week ago

If you would like Global includes (script/style) across ALL your pages:

You can add that in:

Site > Site Settings > Global Includes

There are two options here:

ALL Pages: Includes that you add will go to all ALL pages

For Course Player - Includes that you add will go to all course player of all pages)


But, If you would like to add the script/style per page basis follow the steps below:


In this example, we are going to add Google Analytics tracking code to a New Zenler School Page. There is an example for Facebook Pixel also at the end.

  1. Login to your New Zenler site and go to your site pages(I am going to select Home Page for now - Go to Site > Pages > Home Page). And click on the edit button.

    2.  You will get redirected to the page editor. Click on the drop-down icon on the top right of your editor page.  You will find an option to add your tracking code.

   3.  Login to your Google Analytics account and copy the tracking code. As mentioned there, you have to copy and paste this code as the first item into the Head section of every web page.

   4. To do this, Paste tracking code to Embed in to Head section of your site page where you want this as shown below.

  5. And click the Save button to update the changes.

Adding a Facebook Tracking Pixel

  1. Create a Facebook pixel

  2. Go to your Pixels tab in Events Manager. And create a Facebook pixel fr your site.

    3. Login to your New Zenler site and go to your site pages(I am going to select Home Page for now - Go to Site > Pages > Home Page). And click on the edit button.

    4. You will get redirected to the page editor. Click on the drop-down icon on the top right of your editor page.  You will find an option to add your tracking code.


   5. Copy- paste the Facebook Pixel code into the Embed in to Head section as shown below. And Save the changes.

Did this answer your question?