Adding a Tracking Code to your website

In order for GatorLeads to track any stats, you need to put the Leads tracking code on your website.

The tracking code is an embedded code which looks like "<script data-cfasync='false' type='text/javascript' defer='' async='' src='https://t.wowanalytics.co.uk/Scripts/ssl/c673830a-536c-4dcb-9832-4023fde60b13.js'></script>"

This code varies so please do not copy & paste the above code.

We are aware that you may have built your own website from scratch, or you may be using a CMS such  as Wordpress.
In this guide we will show you where to put the tracking code on your site if you are using Wordpress and Wix.

Finding your Tracking Code

To find your tracking code you need to be an Admin user in GatorLeads.

1. Hover over Admin, select Client Admin -> Embed Tracking.

2. The script above starting with <script is your tracking code.

 

 

Adding Tracking Code to Wordpress

Install the Wordpress GatorLeads Plugin

 

Activate the plugin.

 

Go to ‘settings’ > ‘GatorLeads’

Add your client ID and click 'Save Changes'.

 

Adding Tracking Code to Wix

To add the tracking code to a Wix site it has to be a custom domain i.e. you must have multiple domains in order for this to be available to you.

  1. Select 'Settings' from your site dashboard.
  2. Under Advanced Settings select the 'Tracking & Analytics' tab.

3. Select '+ New Tool'.
4. Select 'Custom' from your dropdown.
5. Enter the Leads tracking code.
6. Select the relevant site domain to add this to.
7. Name your custom code e.g. GL Tracking.
Select which pages to add the tracking code to.
8. We recommend adding the Leads tracking code to your header of Footer as these are present on every page of your website.
9. Click 'Apply'.

 

 

Using the GatorLeads Plugin

Our GatorLeads Plugin is to help you add the tracking code onto your website, specifically your Wordpress site.

Follow this link to download the plugin. It used to be under WowAnalytics so do not get confused and attempt to download from that name.

 

Adding Tracking to a Parallax Website

The term ‘parallax’ refers to the apparent movement of objects when viewed from different positions to create a sensation of depth or distance to your website.

If your website uses parallax scrolling and has a one-page design, don’t worry. GatorLeads' tracking won’t just show you single visits to your one-page website. The additional GatorLeads code will track every menu click.

In addition to the standard GatorLeads tracking code (no change there so leave as is), please pass this code to your web designer/developer. This code needs to be placed on the page load function of your site.

It makes sure that every navigation click on your website fires the GatorLeads tracking code. This code may require some slight modification or may even need to be deployed specifically to your website’s CMS platform.

 

Code example for Parallax site

jQuery(function () {

// Configure WOW to track the top menu

jQuery(‘#nav a’).on(‘click’, function () {

// get the custom title

var element = jQuery(this);

var title = element.html();

var url = element.attr(‘href’);

// if the url starts with a # then it is an anchor tag

if (url[0] === ‘#’)

url = document.baseURI + url;

// add the

_wow.push([‘trackPageView’, title, url]);

});

 

Code example for custom values

<!-- WOW Async Tracking Code Start -->

<script type='text/javascript'>

var _wow = _wow || [];

(function () {

try{

_wow.push(['setClientId', 'insert client code']);

_wow.push(['enableDownloadTracking']);

// set custom values

_wow.push([‘SetCustomData’, ‘val1’, ‘val2’, ‘val3’]);

// track page

_wow.push(['trackPageView']);

var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];

g.type = 'text/javascript'; g.defer = true; g.async = true;

g.src = '//t.wowanalytics.co.uk/Scripts/tracker.js';

s.parentNode.insertBefore(g, s);

}catch(err){}})();

</script>