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
AMP Google Analytics not working #6740
Comments
I don't see a |
@jridgewell This is an issue with another website which does specify |
We are seeing the analytics tag firing at a doubleclick address instead of the normal GA one and it's not including our extra vars. This is only pageview events - our visibility events are still hitting www.google-analutoics.com/collect |
See also #6714 |
Cross posting #6714 (comment): This is due to Chrome not showing redirected XHR requests in the Network DevTools. Testing in Firefox, I see two XHRs:
Is your data being logged incorrectly in doubleclick.net? |
Can we close this? |
@cramforce This can be closed if |
You should be able to verify with Safari or Firefox devtools. |
Please walk through the following steps for reporting an issue about AMP:
Short description of your issue:
Google analytics used to work with
<amp-analytics>
tag and has stopped working for about a month.How do we reproduce the issue?
USA Today which uses Google Analytics does not trigger a Google analytics call https://cdn.ampproject.org/v/amp.usatoday.com/story/95582484/?amp_js_v=6
collect
call which never fires for the site<amp-analytics>
tag for Google analytics is there in the source of the HTML.What browsers are affected?
Tested only in Chrome but should not matter
Which AMP version is affected?
Using v0 of AMP
The text was updated successfully, but these errors were encountered: