Skip to content

Commit

Permalink
feat(ga4/CSP): Add *.analytics.google.com
Browse files Browse the repository at this point in the history
  • Loading branch information
torotil committed Nov 20, 2024
1 parent d0e3f1b commit a1b5e1f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@ function campaignion_tracking_ga4_campaignion_tracking_snippets() {
*/
function campaignion_tracking_ga4_d7csp_hosts() {
$hosts['connect-src'][] = '*.google-analytics.com';
$hosts['connect-src'][] = '*.analytics.google.com';
return $hosts;
}

0 comments on commit a1b5e1f

Please sign in to comment.