Google Product Forums
Re: Tracking Live no Dev
Jun 4, 2012 7:38 PM
Posted in group:
Asynchronous Tracking Code Snippet :
The above isnt required unless cross domain tracking from main site to another domain eg
cross tracking to
So simply install the default tracking code setup if you are not cross domain tracking.
Tracking itself is tied to the UA# within the tracking code.. eg i could take a copy of your tracking code .. place it on my site and my data would start to appear within your GA reports.
You have a couple of options...
1) Do not include tracking code on the pages on
2) create and apply a filter to the profile that is tracking the main domain www.example com
Filter type - Custom
Filter field - Hostname
Filter pattern - example\.com
Case sensitive.. no
Please keep in mind.. changes in tracking can take 24-48hrs to appear in reports..
Filters do not remove historical data, they only work going forward from the time they are created and applied to the profile