Is it possible to add google analytics into a chrome extension using manifest v3 ? How can i do that ?
I found this post from stackoverflow : Add Google Analytics to a Chrome Extension so i tried the code into the accepted answer, with
"content_security_policy": {
"extension_pages": "script-src 'self' https://ssl.google-analytics.com; object-src 'self'"
}
into my manifest.json, but when i load my extension i got this error : 'content_security_policy.extension_pages': Insecure CSP value "https://ssl.google-analytics.com" in directive 'script-src'.
I feel like it's not possible to use google analytics with chrome extension right now, but it's weird because into the chrome web store dashboard, we can see this field : https://imgur.com/a/PBHGOvu
Did i miss something ?