Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up Google Analytics 4 #1515

Closed
5 tasks done
Tracked by #1511
chalin opened this issue Jul 5, 2022 · 4 comments
Closed
5 tasks done
Tracked by #1511

Set up Google Analytics 4 #1515

chalin opened this issue Jul 5, 2022 · 4 comments
Assignees
Labels
analytics-and-seo CI/infra CI & infrastructure e0-minutes Effort: < 60 min e1-hours Effort: < 8 hrs p1-high

Comments

@chalin
Copy link
Contributor

chalin commented Jul 5, 2022

This as part of a CNCF-wide effort to upgrade project websites to GA4. For context, see:

Tasks (stage 1):

If Option 1 doesn't work, and we have to fall back on Option 2, see if we can upstream a change to the Hugo internal template in support of more than one GA tag.

Followup: stages 2 & 3

Resources:

@chalin chalin self-assigned this Jul 5, 2022
@chalin chalin added CI/infra CI & infrastructure e0-minutes Effort: < 60 min e1-hours Effort: < 8 hrs p1-high labels Jul 5, 2022
@chalin
Copy link
Contributor Author

chalin commented Jul 5, 2022

Steps:

  • Select Admin (bottom of left-nav)
  • Select GA4 Setup Assistant
  • Select I want to create a new Google Analytics 4 property > Get started

Here is the resulting web-stream measurement ID: G-QZHM7YEG07

No code changes were required since the tags are connected.

@chalin
Copy link
Contributor Author

chalin commented Jul 6, 2022

I confirm, as of this morning (2022/07/06) that analytics data is appearing in both the UA and GA4 consoles.

@chalin
Copy link
Contributor Author

chalin commented Jul 6, 2022

Option 1 isn't working, sadly:

image

The drop in page views corresponds to about the time when #1523 was merged. I'll revert it now so that we get back to a steady state.

#1524 reverted option 1. I'll wait for the analytics data to stabilize before trying something else.

Events are back to normal levels:

image

@chalin
Copy link
Contributor Author

chalin commented Jul 6, 2022

I confirm that option 2 (#1525) works:

Screen Shot 2022-07-06 at 13 55 37

The part of the histogram in the green box shows activity after #1525 was merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analytics-and-seo CI/infra CI & infrastructure e0-minutes Effort: < 60 min e1-hours Effort: < 8 hrs p1-high
Projects
None yet
Development

No branches or pull requests

1 participant