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 analytics dimension for A/B tests #888

Merged
merged 1 commit into from
Feb 7, 2017
Merged

Conversation

suzannehamilton
Copy link
Contributor

@suzannehamilton suzannehamilton commented Jan 27, 2017

Link meta tags named govuk:ab-test to a custom Google Analytics dimension. The value of the meta tag and the dimension is a combination of the test name and bucket name, such as EducationNavigation:B.

This links to existing session dimension 13, which has been used for A/B tests in the past. We're not going to use the existing A/B test dimension (13) so that it can continue to be used by JS-based A/B tests. Tara has reserved dimension 40 instead.

Note that only one A/B test can use this dimension at once, otherwise the value will be overridden by different tests.

Trello: https://trello.com/c/g9OyC7Pn/310-tell-google-analytics-about-a-b-tests

Link meta tags named `govuk:ab-test` to a custom Google Analytics
dimension. The value of the meta tag and the dimension is a combination
of the test name and bucket name, such as `EducationNavigation:B`.

This links to existing Session dimension 13, which has been used for A/B
tests in the past.

Note that only one A/B test can use this dimension at once, otherwise
the value will be overridden by different tests.
@suzannehamilton suzannehamilton changed the title [DO NOT MERGE] Add analytics dimension for A/B tests Add analytics dimension for A/B tests Feb 1, 2017
@tijmenb tijmenb merged commit c23ec6c into master Feb 7, 2017
@suzannehamilton suzannehamilton deleted the analytics-ab-tests branch February 8, 2017 16:39
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

2 participants