Skip to content

Commit

Permalink
Merge pull request #1489 from alphagov/track-publishing-app
Browse files Browse the repository at this point in the history
Add publishing-app custom dimension
  • Loading branch information
binaryberry authored Aug 8, 2018
2 parents 0e5ac13 + 5211d2e commit fe97dd7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ gem 'sass-rails', "5.0.7"
gem 'asset_bom_removal-rails', '~> 1.0.0'
gem 'nokogiri', "~> 1.8"
gem 'redis', "~> 4.0.1"
gem 'govuk_publishing_components', '~> 9.9.1'
gem 'govuk_publishing_components', '~> 9.12'
gem 'govuk_app_config', '~> 1.8.0'

group :development do
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ GEM
govuk_frontend_toolkit (7.6.0)
railties (>= 3.1.0)
sass (>= 3.2.0)
govuk_publishing_components (9.9.1)
govuk_publishing_components (9.12.0)
govspeak (>= 5.0.3)
govuk_app_config
govuk_frontend_toolkit
Expand Down Expand Up @@ -348,7 +348,7 @@ DEPENDENCIES
govuk-lint (~> 3.8.0)
govuk_app_config (~> 1.8.0)
govuk_frontend_toolkit (~> 7.6.0)
govuk_publishing_components (~> 9.9.1)
govuk_publishing_components (~> 9.12)
govuk_template (= 0.24.1)
image_optim (= 0.26.1)
jasmine-rails (~> 0.14.8)
Expand Down
3 changes: 2 additions & 1 deletion app/assets/javascripts/analytics/custom-dimensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
'withdrawn': {dimension: 12, defaultValue: 'not withdrawn'},
'schema-name': {dimension: 17},
'rendering-application': {dimension: 20},
'navigation-legacy': {dimension: 30, defaultValue: 'none'},
'navigation-page-type': {dimension: 32, defaultValue: 'none'},
'user-journey-stage': {dimension: 33, defaultValue: 'thing'},
'navigation-document-type': {dimension: 34, defaultValue: 'other'},
Expand All @@ -58,7 +59,7 @@
'taxon-slugs': {dimension: 58, defaultValue: 'other'},
'taxon-ids': {dimension: 59, defaultValue: 'other'},
'content-has-history': {dimension: 39, defaultValue: 'false'},
'navigation-legacy': {dimension: 30, defaultValue: 'none'},
'publishing-app': {dimension: 89},
'stepnavs': {dimension: 96}
};

Expand Down

0 comments on commit fe97dd7

Please sign in to comment.