How to add Traek's Script to your WordPress Website

Ujjwal Sikriwal
Ujjwal Sikriwal

17 Feb 2022 | 2 Min Read

In this Blog, we will guide you to setup Traek in your wordpress website

Using a PLUGIN.

  1. The first step for you would be obtain a script which you can post on your website's backend. While completing your signup, you will be asked to enter your website url. Please enter your website's name and Url to continue.

    If you are already using Traek with an existing website(property), please add a new property from top right side on your dashboard.

2. After entering the website Url, please proceed to the next steps till you get a script to paste on your website. Copy this script to clipboard.

Add this plugin for your wordpress : Insert Header/Footer.

Once you have added this plugin to your wordpress website, please look for "Header and Footer" in the configuration menu. Click on it and paste the script in the 'scripts in header' section. Click on SAVE and your are all sorted.

And you are all sorted, click on VERIFY INSTALLATION on your Traek's Dashboard and start Traeking!!

Using header.php file

  1. The first step for you would be obtain a script which you can post on your website's backend. While completing your signup, you will be asked to enter your website url. Please enter your website's name and Url to continue.

    If you are already using Traek with an existing website(property), please add a new property from top right side on your dashboard.

2. After entering the website Url, please proceed to the next steps till you get a script to paste on your website. Copy this script to clipboard.

3. Go to the "Appearance" section of your Wordpress admin Dashboard and click on the "Theme Editor", then select "header.php"

4. Use your search function and search for "</head>".

5. Input the tracking code before closing the "</head>" tag.

6. Save the tracking script by clicking "Update File".

And you are all sorted, click on VERIFY INSTALLATION on your Traek's Dashboard and start Traeking!!

Facebook
Twitter
Linkedin
Whatsapp