You can use the same configuration for Google Analytics in all your environments, but receive tracking data only form your production site. Using the following settings, the request to other domains are ignored in the tracked data.
NOTE: Because the configuration files, generated by the Analytics module, are from a different provider, they cannot be stored in the database. Therefore, you cannot configure the module after you deploy the site in the cloud. You must do it before the deployment and the files need to be included in the deployment package.
Perform the following:
RECOMMENDATION: Google Analytics recommends that you have one account set for every website that you track.
NOTE: If you have not set the tracking code, provided by Google Analytics on any page of your website or the page where you have set it has not been requested, Sitefinity CMS your domain in the list of Tracked domains.
RESULT: Sitefinity CMS Analytics module will display data from your production environment only, regardless of that you are using the same Analytics settings on all of your environments.
Back To Top