Skip to content

ci(build): enable GA for Fred#47

Merged
caugner merged 1 commit intomainfrom
add-fred-ga-envs
Oct 14, 2025
Merged

ci(build): enable GA for Fred#47
caugner merged 1 commit intomainfrom
add-fred-ga-envs

Conversation

@caugner
Copy link
Copy Markdown
Contributor

@caugner caugner commented Oct 13, 2025

Description

Enables Google Analytics for Fred.

Motivation

Adds environment variables needed for mdn/fred#905.

Additional details

Related issues and pull requests

Part of mdn/fred#877.

@caugner caugner requested a review from a team as a code owner October 13, 2025 17:15
@@ -257,6 +257,8 @@ jobs:
# - developer.mozilla.org (GA4)
# Using measurement ids on other domains is okay, as GA will filter these events.
BUILD_GOOGLE_ANALYTICS_MEASUREMENT_ID: G-PWTK27XVWP
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seemed to be the yari env var, shouldn't be needed any more:

Suggested change
BUILD_GOOGLE_ANALYTICS_MEASUREMENT_ID: G-PWTK27XVWP

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still need it for MDN Plus.

@@ -283,6 +283,8 @@ jobs:
# - developer.allizom.org (GA4)
# Using measurement ids on other domains is okay, as GA will filter these events.
BUILD_GOOGLE_ANALYTICS_MEASUREMENT_ID: G-ZG5HNVZRY0
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
BUILD_GOOGLE_ANALYTICS_MEASUREMENT_ID: G-ZG5HNVZRY0

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still need it for MDN Plus.

@caugner caugner merged commit 18e0e7d into main Oct 14, 2025
6 checks passed
@caugner caugner deleted the add-fred-ga-envs branch October 14, 2025 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants