Tracking site statistics using Google Analytics

View Source Code

This components enables tracking of the site statistics using Google Analytics.

This component might need to be used together with cookie-consent.


  • traking-code - google analytics tracking code
  • environment - environment where analytics is enabled (default production). Use - to enable analytics in all environments.


Place the include into the head

    {% google-analytics %}

This component is included into the base theme

Powered by Docify