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

it's impossible to integrate google analytics with MV3 #152

Closed
markon1 opened this issue Jan 23, 2022 · 5 comments
Closed

it's impossible to integrate google analytics with MV3 #152

markon1 opened this issue Jan 23, 2022 · 5 comments

Comments

@markon1
Copy link

markon1 commented Jan 23, 2022

it's impossible to integrate google analytics with MV3, since it won't allow this in manifest.json:
"content_security_policy": { "extension_pages": "script-src 'self' https://www.google-analytics.com https://www.googletagmanager.com https://js.refiner.io; object-src 'self'" }

@xeenon
Copy link
Collaborator

xeenon commented Feb 3, 2022

This is by design and we support blocking remote code at Apple.

@carlosjeurissen
Copy link
Contributor

Would there be a way for the Google Analytics team to provide a version of the analytics script which can be added directly to the extension source so we do not have to deal with the remote code restriction?

@ghostwords
Copy link

ghostwords commented Feb 3, 2022

@Rob--W
Copy link
Member

Rob--W commented Feb 3, 2022

@Rob--W
Copy link
Member

Rob--W commented Feb 3, 2022

I'm closing this issue because there is universal consensus that this is the desired behavior.

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

5 participants