Step 1 – Tracking tag

This tag needs to be on every page that you wish to track. This tag will allow you to see visitors, companies, keywords, pages views and referring sites.

To integrate the tag copy and paste the following code into each page just before the </body> tag.

Once this is complete you should start to see data in your reports within 15 minutes.


<script type="text/javascript">

   var __raconfig = __raconfig || {};
   __raconfig.uid = '< YOUR SITE ID >';
   __raconfig.action = 'track';

   (function () {

   var ra = document.createElement('script');
   ra.type = 'text/javascript';
   ra.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'www.ruleranalytics.com/lib/1.0/ra-bootstrap.js.php';
   var s = document.getElementsByTagName('script')[0];
   s.parentNode.insertBefore(ra, s);

   }());

</script>

 

Step 2 – Conversion Tracking – Option 1

Ruler can also automatically detect forms and scrape information from the page without any additional coding, please Contact us and we will be happy to set this for you.

 

Step 2 – Conversion Tracking – Option 2

This tag should only be on the pages that you wish to track a conversion on whether it be a lead, sale or other action. This tag will allow you to match your conversion to the exact source of traffic.

To integrate the tag copy and paste the following code into your conversion page somewhere above the Tracking tag.

It is possible to add any information / variables that you capture (such as the persons e-mail address or order number) to the Conversion tag, see below for an example, you can name the capture fields whatever you like.

This tag would capture other variables assuming they are available on the page e.g.:


<script type="text/javascript">

var RulerAnalyticsPayload = {
action: 'convert',
variable: 'PopulateWithVariable'
};

</script>

 

Step 3 – Phone Calls

In order to set-up phone tracking you need to sign up and complete the form on the integration page.

Phone tracking can take up to two business days to set-up depending on the number type but usually only takes one.

In order to use phone tracking you must have the tracking tag installed.

Once this is in place you will need to have a phone number on your website written in HTML with a div tag around it, you may already have this but we need to know the name of the class, e.g.:

 <span class="ruler-tel">0800 000 000</span> 

 

Need more help?

For more information please Contact us and we will be happy to help you through the process.