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

CSP for googletagmanager.com #3

Open
vytas315 opened this issue Jan 18, 2018 · 0 comments
Open

CSP for googletagmanager.com #3

vytas315 opened this issue Jan 18, 2018 · 0 comments

Comments

@vytas315
Copy link

vytas315 commented Jan 18, 2018

I'm getting the following error when testing gtag tracking on my Instant Article:

Refused to load the script 'https://www.googletagmanager.com/gtag/js?id=UA-XXXXXXXX-X' because it violates the following Content Security Policy directive: "script-src *.facebook.com *.fbcdn.net *.facebook.net *.google-analytics.com *.virtualearth.net .google.com 127.0.0.1: .spotilocal.com: 'unsafe-inline' 'unsafe-eval' fbstatic-a.akamaihd.net fbcdn-static-b-a.akamaihd.net *.atlassolutions.com blob: data: 'self'".

Any way to modify the CSP? Also appears not to work in production so I'm at a loss...

Feel free to test using this link:
https://ia-tracker.fbsbx.com/instant_article_test?url=https://hivisasa.com/posts/roselyn-akombe-promoted

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

No branches or pull requests

1 participant