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

Double data in Chrome #31

Closed
lembitk opened this issue Apr 2, 2016 · 4 comments
Closed

Double data in Chrome #31

lembitk opened this issue Apr 2, 2016 · 4 comments
Labels

Comments

@lembitk
Copy link

lembitk commented Apr 2, 2016

  • Chrome: 49.0.2623.110 m
  • Google Analytics Debugger v2.1.0

Somehow all data (pageviews, events) is double-logged, please check the screenshot:

gadebugger-chrome-double-data

I'm sure it's not the fault of my tracking code implementation or a problem with my event tracking JS, because, for one, double data doesn't occur in Firefox devtools (Google Analytics Debugger v2.1.1). Also, Chrome's Google Tag Assistant reports "1 Pageview Requests", "1 Events" every time when GA Debugger reports 2.

@keithclark keithclark added the bug label Apr 3, 2016
@keithclark
Copy link
Owner

Thanks for the bug report.

GA Debugger watches for HTTP(S) requests to the GA domain and logs a beacon for each one. It looks like Chrome is now forcing all HTTP beacon requests to GA to be re-transmitted over HTTPS as a result of HTTP Strict Transport Security (HSTS), this is why you're seeing two requests in the extension.

Request Headers:

Request URL:http://www.google-analytics.com/collect?...
Request Method:GET
Status Code:307 Internal Redirect

Response Headers:

Location:https://www.google-analytics.com/collect?
Non-Authoritative-Reason:HSTS

@lembitk
Copy link
Author

lembitk commented Apr 3, 2016

Thanks for the answer, and thank you for making such a handy tool.

@keithclark
Copy link
Owner

#32 should fix the issue.

@keithclark
Copy link
Owner

Bug fixed and deployed in v2.1.2.

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

No branches or pull requests

2 participants