MIT-Mobile-Web icon indicating copy to clipboard operation
MIT-Mobile-Web copied to clipboard

Expansion of GA Tracking

Open dmolsen opened this issue 14 years ago • 0 comments

Based on what CC is doing:

Regarding Google Analytics (not that I'm even close to tracking usage), I added a config variable to config.gen.inc.php:

$ga_domain = ".inst.edu";

And added this line right before _trackPageview is called:

pageTracker._setDomainName("=$ga_domain?>"); } ?>

This helps us generally track visitors across our various subdomains.

dmolsen avatar Nov 05 '09 18:11 dmolsen