Skip to content

CSP for googletagmanager.com #3

@vytas315

Description

@vytas315

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions