This is the simplest type of snippet to add.


If your web web site address starts with HTTPS:// then you would add this snippet:

<script src=“https://link.CompanyName.prod.kulea.marketing/k.js"></script>


Replace CompanyName with your own company name as provided in your Kulea setup (sometimes also known as a ma2id) and if you are using a different Custom Tracking Link (CTL) than 'link' then replace this also. The snippet is then placed right at the end of every page, just before the closing body tag, which looks like </body>.


Alternatively, if your web site has master page or a single HTML file that is included as every page’s footer then you can add it to this file and it will automatically work for every page of your web site. Just try to make sure that this Javascript is called at the end of the page, as mentioned previously.


An example of this might look like this at the end of your web page HTML:


<script src=“https://link.CompanyName.prod.kulea.marketing/k.js”></script>

</body>

</html>


If you want to disable visit tracking on certain pages you can add the following JavaScript in the <head> block of your document:


<script type="text/JavaScript">

         var __ma = __ma || [];

         __ma.push([ 'notrack' ]);

</script>


Potentially, you might like to also consider adding additional parameters to your tracking events, such as ‘source’ or ‘keyword’ parameters that might be associated with a PPC or affiliate campaign:


<script type="text/JavaScript">

         var __ma = __ma || [];

         __ma.push([ ‘track',  {  'url':'http://www.example.com/canonical-url',

                                 'source':'PPC123456'  }]);

</script>