how to track across sub-domains
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 widgets.com is the TLD for http://www.widgets.com and plastic.widgets.com
So if you want to track across your sub-domains;
register widgets.com in Opentracker
modify the script as per below
- place the modified script in the source? code of your pages
Normally the first segment of script registered for the site "widgets.com" 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.