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

Add discovery_engine_attribution_token to GA4 pageview #3951

Merged
merged 1 commit into from Mar 25, 2024

Conversation

andysellick
Copy link
Contributor

What / why

Adds a new parameter to the GA4 page view, discovery_engine_attribution_token. This is a unique token generated by each search result, used for debugging purposes in search. Additional work will be done in finder-frontend to add this token as a meta tag so this code can read it - on all non-search pages this attribute will be undefined in the page view.

Visual Changes

None.

@govuk-ci govuk-ci temporarily deployed to components-gem-pr-3951 March 25, 2024 11:11 Inactive
Copy link
Contributor

@leenagupte leenagupte left a comment

Choose a reason for hiding this comment

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

"searchyMcSearch" LOL!

LGTM! 👍 🙇‍♀️

@govuk-ci govuk-ci temporarily deployed to components-gem-pr-3951 March 25, 2024 11:31 Inactive
@andysellick andysellick merged commit 6efb52d into main Mar 25, 2024
13 checks passed
@andysellick andysellick deleted the add-discovery-token branch March 25, 2024 11:42
@andysellick andysellick mentioned this pull request Mar 25, 2024
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.

None yet

3 participants