nordtheme/web

Google Analytics

Closed this issue · 0 comments

Associated epic: #86

This issue documents the implementation of Google Analytics like documented in the “Analytics & Statistics” design concept.

The main tool to collect and analyze data will be Google Analytics. It is a stable and proven service with a lot of useful configurable features and a reliable persistence.

Nord Docs will use the latest and recommended gtag.js library that optionally allows, next to Google Analytics itself, the integration of almost all Google Marketing services like e.g. Google Tag Manager.

To protect the privacy of users and to be compatible with various privacy and data legal guidelines all IP addresses will be anonymized.

The library will be integrated through gatsby-plugin-google-gtag.

Tasks

  • Install required packages:
  • Implement required internal constants.
  • Implement the plugin configuration.