Spring Manual

Google Analytics

Google Analytics is a free web based site Tracking and Analysis service. If you do not have an account already, you can create one for free or contact Millstream and we will setup an account for your site. Once you have an account and have a tracking ID you are ready to complete the setup in Spring.

To enable tracking in Spring using Google Analytics, create a new page in the Assets tab with the following settings (making sure to change the 'Value' field to match your Analytics Tracking ID):

  • Title: Analytics
  • ID: analytics
  • Status: <Online>
  • Value: <your analytics tracking id>

If you wish to track the site with multiple Google Analytics accounts, simply enter each tracking ID on a new line.

Google Analytics

Save the page and your done. Initially you may need to wait up to 24hours for Google to check your site.

Google Analytics and Multiple Domains

If you are using one analytics account to track multiple domain names like www.example.com and www.mysite.com you need to add another asset to tell Spring to output the correct tracking code.

  • Title: Analytics Multiple Domains
  • ID: analytics-multiple-domains
  • Status: <Online>
  • Value: <Primary Domain Name> (this must match the primary domain name for the Google Analytics account)

Google Analytics and Multiple Subdomains

If you are using one analytics account to track multiple subdomains like www.example.com and shop.example.com you need to add another asset to tell Spring to output the correct tracking code.

  • Title: Analytics Multiple Subdomains
  • ID: analytics-multiple-subdomains
  • Status: <Online>
  • Value: <Primary Domain Name> (this must match the primary domain name for the Google Analytics account)

Excluding traffic

Once Google Analytics is setup, all traffic to your website will be included for analysis - including any pages you or your staff visit.

To prevent this, on any staff machine that will be used to browse your website visit the following URL to have that traffic excluded.

http://<yourdomain.name>/analytics-exclude/

e.g. http://cache.millstream.com.au/analytics-exclude/

Spring will set a cookie in your browser for your domain name and all traffic will be excluded. To enable tracking again, simply clear the cookies on that machine.