Tracking site statistics using Google Analytics
This components enables tracking of the site statistics using Google Analytics.
This component might need to be used together with cookie-consent.
Parameters
- traking-code - google analytics tracking code
- environment - environment where analytics is enabled (default production). Use - to enable analytics in all environments.
Usage
Place the include into the head
<head> {% google-analytics %} </head>
This component is included into the base theme