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

Make analytics non-deploy specific #323

Merged
merged 2 commits into from
Nov 25, 2016
Merged

Make analytics non-deploy specific #323

merged 2 commits into from
Nov 25, 2016

Conversation

edwardhorsford
Copy link
Contributor

This pr amends #320 and works on #322 so that tracking code tied to the app. We don't want other users of the kit to use our tracking code - they should use their own if they want tracking.

Since tracking codes are deploy specific, it's better if it comes from environment.

This pr:

  • Moves tracking snippet to an include
  • Pulls a tracking code out of env
  • Only sets tracking code if it exists

@joelanman
Copy link
Contributor

looks good to me

@joelanman joelanman merged commit 8247b90 into master Nov 25, 2016
@joelanman joelanman deleted the analytics-fix branch November 25, 2016 13:03
rpowis pushed a commit to hmrc/govuk_prototype_kit that referenced this pull request Jan 31, 2017
# 4.18.1

- Fix error in IE - remove trailing comma from shimLinksWithButtonRole
JavaScript ([PR
alphagov#323](alphagov/govuk_frontend_toolkit#323)).
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.

2 participants