Kissmetrics integration

Permalink
Hi,
I'm trying to integrate Kissmetrics with my Concrete5 site. The Kissmetrics instructions are to update the JavaScript\PHP etc. on the site but I cannot figure out how to access the page source on concrete5 in order to do this, or do I need to go about this some other way?
Cheers,
Andre.

E.g.
Copy the code below and paste it on every page of your site right after the opening <head> tag.
<script type="text/javascript">var _kmq = _kmq || [];
var _kmk = _kmk || 'UniqueIdToIdentifySite';
function _kms(u){
  setTimeout(function(){
    var d = document, f = d.getElementsByTagName('script')[0],
    s = d.createElement('script');
    s.type = 'text/javascript'; s.async = true; s.src = u;
    f.parentNode.insertBefore(s, f);
  }, 1);
}
_kms('//i.kissmetrics.com/i.js');
_kms('//doug1izaerwt3.cloudfront.net/' + _kmk + '.1.js');
</script>

 
enlil replied on at Permalink Reply
enlil
In it's simplest form, you should be able to paste that into an HTML block and go. Preferably in a Global Area at the head of your pages.
mhawke replied on at Permalink Reply
mhawke
Try pasting that code into the box at Dashboard->System and Settings->Tracking Codes

Make sure you replace the part where it says "UniqueIdToIdentifySite" with the number they sent you.
mhawke replied on at Permalink Reply
mhawke
I just read up on Kissmetrics. You might want to implement this to prevent your business from being blamed for handing over personally identifyable information to Kissmetrics:

https://medium.com/it-security/c8f1aae73134...

Out of the box, Kissmetrics ties a visitor's online behavior to their email address. In Canada, a business email address is protected under our privacy legislation and I suspect this is true in many other countries as well. Be careful when tying your business model to another companies business model, especially when that other business is scraping this type of personal information from your customers.