Adds google analytics tracking script to your site, if it is in production (live) mode.
For a SilverStripe 3.x compatible version of this module, please see the 1.x branch, or 0.x release line.
To make it work, you have to define
AO_GA_TRACKING_CODE environment variable.
# define in .env AO_GA_TRACKING_CODE="<YOUR_GA_TRACKING_CODE>"
Add the following into the
<head> section of your template:
You can overwrite
GoogleAnalytics.ss on project basis, if you need some different behaviour.
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem