I need to integrate GA into my chrome extension, using manifest v3. it looks like I miss something, but I can't figure out what exactly I'm doing wrong.
My extension has only a content script and background.js where I'm listening on events, to execute content.js when the user clicks on the Icon, in the extension toolbar. Content script by himself injects widget UI into websites, where users can interact with. And I need to track click events.
And in terms of manifest v3 enter link description here, I need to use protect GA scripts like
"content_security_policy": {
"extension_pages": "script-src 'self' https://www.google-analytics.com/analytics.js"
},
But when I try to refresh my extension on chrome://extansions page, it throwing me a popup with a failed status

Maybe someone has any ideas on how to solve this problem?