Installing+Google+Analytics+Module

=Installing Google Analytics Module=

The module allows you to add the following statistics features to your site:
 * Single/multi/cross domain tracking
 * Selectively track/exclude certain users, roles and pages
 * Monitor what type of links are tracked (downloads, outgoing and mailto)
 * Monitor what files are downloaded from your pages
 * Custom Variables support with tokens
 * Custom code snippets
 * Site Search support
 * AdSense support
 * Tracking of Goals
 * Anonymize visitors IP address
 * Cache the Google Analytics code on your local server for improved page loading times
 * Access denied (403) and Page not found (404) tracking
 * DoNotTrack support (non-cached content only)

Head to Google Analytics and sign up for an account to get your Tracking ID code - this will become relevant during the configuration of the module. Sign in with a gmail account, create your username and enter the URL of your website:





Download the Google Analytics module and install it as usual:



Enable the Module in the Statistics Section:

Save your Configuration.

Under modules, find Google Analytics again and click on "Configure". The following window will appear:



Enter the UA Tracker ID you obtained from your Google Analytics profile and enter it. Make any configuration changes if necessary and click "Save Configuration". Beneath the General Settings box there will be a section called "Tracking Scope" where you can customize the module (circled in red). The default settings render the module good to go; however you can select or deselect exceptions, add tracking for specific roles, set permissions for users to customize tracking, track clicks, downloads and privacy. The custom javascript section (blue) dictates whether the code will be placed in the header or footer: