Skip to content

Migrate to Google Analytics 4 (GA4) #2175

@thisisobate

Description

@thisisobate

Google is deprecating the Universal Analytics tag over Google Analytics 4. This effect will commence on July 1, 2023. You can learn more here

This issue is part of a CNCF-wide effort to upgrade project websites to GA4 since Google has deprecated Universal Analytics (UA). For more details, see:

We should migrate the Prometheus website to GA4 as soon as possible so that by 2023Q3, when UA data collection stops, we will already have 1+ year of historical data.

Tasks, stage 1 (no code changes are necessary)

  • Create a GA4 site tag using the GA4 setup assistant from the UA site tag console. This will create and connect the two site tags.
  • The new GA4 measurement ID is G-ADD_ID_HERE.
  • Confirm that the GA4 site tag is receiving events
  • Confirm that the UA site tag(s) are still receiving events (with no code changes, there's no reason for it to not being receiving events, but it's good to check)

Tasks, stage 2 (optional, can be done later)

  • Switch to using GA4 ID.
  • Confirm that the GA4 site tag is receiving events
  • Confirm that the UA site tag(s) are still receiving events

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions