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 ::gaTrackingId:: footer token #18

Open
nickdos opened this issue Jul 8, 2020 · 1 comment
Open

Add ::gaTrackingId:: footer token #18

nickdos opened this issue Jul 8, 2020 · 1 comment

Comments

@nickdos
Copy link
Contributor

nickdos commented Jul 8, 2020

Similar to #16, it would be good to be able specify a testing GA tracking ID so our GA stats are not polluted by hits from our test servers (particularly automated tests).

Requires the ::gaTrackingId:: var to be added to https://github.com/AtlasOfLivingAustralia/commonui-bs3/blob/master/footer.html#L154 and then the var to be substituted via a grailsApplication.config variable.

Ansible templates and inventories will need to be updated for all front-end apps (needs child issue).

@matthewandrews
Copy link
Member

Worth considering Google Tag Manager instead - a single code snippet in all sites, then we manage centrally which sites are test and which are prod: https://developers.google.com/tag-manager

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants