#6249 - google-analytics.com not on list of trusted CSP sites
| Identifier | #6249 |
|---|---|
| Issue type | Minor issue (breaks specific functionality) |
| Title | google-analytics.com not on list of trusted CSP sites |
| Status | Completed |
| Tags |
Roadmap: v11 (custom) |
| Handling member | PDStig |
| Version | 11 beta7 |
| Addon | core |
| Description | google-analytics.com needs to be added to the list of trusted CSP sites when Google Analytics is active. Otherwise, the script gets blocked. |
| Steps to reproduce | Upon adding a gtag into Site Options -> Google Analytics Web Property ID, saving and verifying, the gtag is not present and therefor can not be seen by Google's Analytics site. |
| Additional information | I grant permission for the core developers to investigate this issue remotely on my site, in accordance with the server access policies ( https://composr.app/server-access.htm ), via the FTP credentials provided on my member profile (developers: you must exchange an e-mail contact with the user and send a digital copy [not just a link] of the server access policy for them to agree to via e-mail before accessing the server). |
| Funded? | No |
| Commits |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".
Comments
google-analytics.com needs to be added to the list of trusted CSP sites when Google Analytics is active. Otherwise, the script gets blocked.
This was because it was only being added by the google_analytics non-bundled addon when it needed to be added within core Composr when the web property ID is provided.
CAUTION! If you have the google_analytics non-bundled addon, you must update it with the proceeding commit after applying this hotfix.