Skip to content

Solution for documenting & administration Events, Parameters & Annotations for Google Analytics 4 (GA4) using Google Sheet, BigQuery & Looker Studio.

License

Notifications You must be signed in to change notification settings

Knowit-Experience-MarTech/ga4-documentation-administration-solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GA4 Events, Parameters & Annotations documentation & administration solution

This is a solution that makes it easier to document and administrate Events, Key Events, Parameters (Dimensions & Metrics) for Google Analytics 4 (GA4).

Google Sheet is used for doing the documentation, and Looker Studio is used for presenting the documentation. Since the Google Sheet is integrated with several API's, you can (bulk) create/edit/delete Custom Dimensions & Metrics and Key Events. This means that you can document and administrate Custom Dimensions & Metrics and Key Events in the same operation.

It also makes it easier for "non-technical" people to understand what a particular Event Name is tracking, and what the different Parameters connected to the Event Name is tracking, by presenting the documentation in Looker Studio. Looker Studio comes in 2 different versions: Basic and Advanced.

The Basic version is using the Google Sheet as a Data Source, while the Advanced version is using BigQuery as a Data Source. The BigQuery solution will join the GA4 documentation with your GA4 BigQuery data, making it easy to identify if the documentation is aligned with data collected in GA4 (are documentation or data collection broken?).

The solution also includes Annotations, which can help you understand changes to your data. Annotations can either be added manually, or automatically created from GA4 Property Change History or Google Tag Manager Container Versions.

GA4 Documentation illustration

Overall functionality is listed below:

  1. Google Sheet using Apps Script for easier documentation and administration of Events, Parameters and Annotations. Everything starts with this Google Sheet.
  2. Looker Studio for presenting and sharing the documentation. The Advanced version using BigQuery will make it easier to identify if your documentation is aligned with the data you are collecting, or if the documentation or data collection is "broken".
  3. Export of Event documentation to Firestore. This will make it possible to block or flag undocmented Events, in addition to adding Event Group from the Google Sheet Event documentation. This requires Server-side GTM.

Intro to documentation

The documentation is organized in the following way:

  1. Google Sheet (Everything starts with the Google Sheet)
  2. BigQuery (for integrating the documentation with GA4 Data so you can understand if the documentation or tracking is broken)
  3. Looker Studio (for presenting Events, Parameters and Annotations in a way that is easier to understand)
  4. Firestore (for flagging or blocking undocumented GA4 Events)

This solution is made by Eivind Savio from Knowit Experience (Oslo). It is not officially supported by Knowit Experience.