Most Popular
Recently Added
Recently Updated

how to track across sub-domains

Note, if the javascript example is "hidden" below, please refer to this url:

If your site contains sub-domains and you want to track visitors across the different sub-domains then you need to register the top level domain (tld) name in Opentracker.

For example is the TLD for and

So if you want to track across your sub-domains;

  1. register in Opentracker

  2. modify the script as per below

  3. place the modified script in the source? code of your pages

Normally the first segment of script registered for the site "" looks like this:

This needs to be modified to:

NOTE: the only change is the addition of the "." before the domain name.

This tells the cookie to attach itself to all sub-domains instead of just the single domain.

Properties ID: 000045   Views: 4771   Updated: 13 mins ago