Skip to content

GA4 CSP update for Google Signals

Dennis Charukulvanich requested to merge ga4-csp-google-signal into master

What does this MR do and why?

Update CSP to include Google Signals for Google Analytics 4. Google Signals was enabled on Google Analytics 4 on 1/18. Web data has since dropped due to CSP blocking GA4 from loading. According to the Google Developer guide, the CSP must also be updated when Signals is turned on to include google.com. https://developers.google.com/tag-platform/security/guides/csp

Here's the issue for additional context: https://gitlab.com/gitlab-com/marketing/marketing-strategy-performance/-/issues/1636

Google Signals provides age, demographic, and search interest data for web visitors. We use this data to segment our blog readership.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Merge request reports