Unable to load analytics from a third party domain
See original GitHub issueEnvironment
Name | Version |
---|---|
msw | latest |
browser | Chrome Canary |
OS | macOS |
I’m using the rest-react
example repository to create a working demo. My commit can be seen here
Current behavior
Following errors in the network and console tabs
Expected behavior
I expect the gtm.js request to be resolved and loaded successfully. Am I missing a way to make this happen? Thanks
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Troubleshooting Cross-Domain Tracking In Google Analytics
A troubleshooting checklist for Google Analytics cross-domain problems.
Read more >29 Common Google Analytics Data Errors And How To Fix Them
Google Analytics data not showing all traffic or no view data? Here's why your data is wrong and how to fix the most...
Read more >[GA4] Troubleshoot tag setup on your website - Analytics Help
The Google tag ID is incorrect · Click Data Streams and then select the web data stream for the website. · In the...
Read more >Troubleshooting Analytics.js | Segment Documentation
Is data being transmitted to your third-party destinations? ... If Analytics.js fails to load, are callbacks not fired?
Read more >Loading Third-Party JavaScript - web.dev
Reload the page and re-measure how long the page takes without loading these blocked third-party scripts. You should hopefully see an ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
After some more testing I can now see this working fine. It was an unfortunate issue of an ad-blocker being enabled without me realising which explains it working correctly when viewed directly.
Apologies for wasting anyone’s time with this!
@simonsmith keep in mind that if a request is not handled (and your GTM request should be not), it will be performed as-is. This means that its URL must be valid. Double check if you are providing a valid GTM script URL, and that file exists at that path.
@marcosvega91, thank you 🙏 That would be awesome.