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

Revert PR #2265 #2273

Merged
merged 1 commit into from
Feb 16, 2016
Merged

Revert PR #2265 #2273

merged 1 commit into from
Feb 16, 2016

Conversation

h-lame
Copy link
Contributor

@h-lame h-lame commented Feb 16, 2016

We revert PR #2265 because it turns out that there is a issue with how the GOVUK.MultivariateTest communicates with the GOVUK.GoogleAnalyticsUniversalTracker to set dimensions. The test sends 4 arguments: the dimension, the name of the test, the name of the cohort chosen, and the scope in which to set the dimension (see: https://github.com/alphagov/govuk_frontend_toolkit/blob/master/javascripts/govuk/multivariate-test.js#L78-L83 for the call-site and https://github.com/alphagov/govuk_frontend_toolkit/blob/master/javascripts/govuk/analytics/analytics.js#L53 for the abstraction that passes it to the actual tracker). The universal tracker only accepts 2 arguments: the dimension and the value to set for that dimension (see: https://github.com/alphagov/govuk_frontend_toolkit/blob/master/javascripts/govuk/analytics/google-analytics-universal-tracker.js#L138-L140) - the classic tracker, now removed, used to take all 4 arguments, but this is no longer how GA universal works.

This means our GA tracking doesn't get any information about which cohort each user is in, so we can't interpret any data about which change has the best affect on our goals.

This reverts commit 1be8cce, reversing
changes made to 491aa07.

…ests"

This reverts commit 1be8cce, reversing
changes made to 491aa07.
@h-lame h-lame merged commit ace0f18 into master Feb 16, 2016
@h-lame h-lame deleted the revert-start-now-button-abc-tests branch February 16, 2016 11:56
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.

1 participant