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

Remove old analytics JavaScript #522

Merged
merged 1 commit into from
Jan 8, 2015
Merged

Remove old analytics JavaScript #522

merged 1 commit into from
Jan 8, 2015

Conversation

edds
Copy link
Contributor

@edds edds commented Jan 8, 2015

This analytics was added for the performance platform to create an
engagement score of pages. They have since stopped using these events
and they are no longer needed. Remove them so they stop sending lots of
events to Google Analytics.

Tidy up the function in tracking.js which is still needed so that it
is clearer as to what is going on.


This should enable us to remove GDS_successEvents and GDS_analyticsTokens from the cookie page as there will no longer be any code setting or getting those cookies.

This analytics was added for the performance platform to create an
engagement score of pages. They have since stopped using these events
and they are no longer needed. Remove them so they stop sending lots of
events to Google Analytics.

Tidy up the function in `tracking.js` which is still needed so that it
is clearer as to what is going on.
@bradwright
Copy link
Contributor

So much 🔴

@alexmuller
Copy link
Contributor

This is brilliant, thanks @edds. We'll provide 🍰 at some point.

bradwright added a commit that referenced this pull request Jan 8, 2015
Remove old analytics JavaScript
@bradwright bradwright merged commit 2246af1 into master Jan 8, 2015
@bradwright bradwright deleted the remove-analytics branch January 8, 2015 10:38
fofr added a commit to alphagov/slimmer that referenced this pull request Mar 3, 2015
These variables were added to test guide success tracking in:
#5

That success tracking was removed in:
alphagov/static#522

They are no longer used and the “Analytics” namespace is being removed.
fofr added a commit to alphagov/slimmer that referenced this pull request Mar 3, 2015
These variables were added to test guide success tracking in:
#5

That success tracking was removed in:
alphagov/static#522

They are no longer used and the “Analytics” namespace is being removed.
@alexmuller
Copy link
Contributor

This should enable us to remove GDS_successEvents and GDS_analyticsTokens from the cookie page

I've opened a ticket to do that because the expiration date for those cookies has passed.

@fofr
Copy link
Contributor

fofr commented Jun 9, 2015

❤️ 👍

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.

4 participants