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 custom dimension to segment page views by Brexit audience type #2186

Merged
merged 5 commits into from
Jul 5, 2021

Conversation

hannako
Copy link
Contributor

@hannako hannako commented Jul 5, 2021

What

  1. Remove custom dimension 111 from clicks to the Brexit superbreadcrumb
  2. Add custom dimension 111 to the GA payload for page views when a page is displaying a brexit superbreadcrumb

Why

Request from PA

Visual Changes

No visual changes

@bevanloon bevanloon temporarily deployed to govuk-publis-fix-ga-tra-oxqxbp July 5, 2021 14:12 Inactive
@bevanloon bevanloon temporarily deployed to govuk-publis-fix-ga-tra-oxqxbp July 5, 2021 14:24 Inactive
@bevanloon bevanloon temporarily deployed to govuk-publis-fix-ga-tra-oxqxbp July 5, 2021 14:29 Inactive
- We want to use custom dimension 111 to segment page views by audience.
Removing the dimension from clicks to the superbreadcrumbs at request of
PA colleagues.

Reverts #6cc2f437
- We need to know the brexit audience for CD tracking. Renaming
this method before we make it public.
- We are returning "Brexitbusinessandcitizen" when a page is tagged
to BOTH child taxons, or ONLY the brexit parent taxon. This is deliberate
and a request from our PA.
Store the brexit audience type in custom dimension 111.
@bevanloon bevanloon temporarily deployed to govuk-publis-fix-ga-tra-oxqxbp July 5, 2021 14:30 Inactive
@hannako hannako marked this pull request as ready for review July 5, 2021 14:33
@hannako hannako merged commit b6db10c into master Jul 5, 2021
@hannako hannako deleted the fix_ga_tracking branch July 5, 2021 14:45
injms added a commit that referenced this pull request Jul 5, 2021
Includes:

 * Update LUX to activate when usage cookies are accepted (#2154)
 * Add custom dimension to segment page views by Brexit audience type (#2186)
@injms injms mentioned this pull request Jul 5, 2021
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