Closed hexxorleiva closed 11 years ago
_setDomainName sets the cookie that Google Analytics Tracking Code (GATC) uses to be able to include tracking on sub-domains of the domain that is stated in the _setDomainName. Otherwise the domain (cravetickets.com) is tracked and none of the sub-domains are included because it wouldn't match the document.domain property in the DOM.
But this is my assumption that since I declared $google_analytics_account
in the config file that the tracking code that is inside templates/html5/html5.php
that I added will only be for beta.cravetickets.com. I think in over-looking it now that I might be wrong?
Please view with the cravetix analytics branch.
Added the latest Google Analytics syntax with a inclusion so that all subdomains of cravetickets.com are tracked (including beta.cravetickets.com).