From 490160f45c7e00db350cc34276f5e9415a92d8c1 Mon Sep 17 00:00:00 2001 From: Brenton Race Date: Wed, 15 Jul 2026 06:16:16 +1000 Subject: [PATCH] Fix script-src directive in web analytics FAQ Corrected the script-src directive to include a trailing slash to support versioned URLs like https://static.cloudflareinsights.com/beacon.min.js/v4513226cdae34746b4dedf0b4dfa099e1781791509496 --- src/content/docs/web-analytics/faq.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/web-analytics/faq.mdx b/src/content/docs/web-analytics/faq.mdx index a4a0fd89295..438665a1fd8 100644 --- a/src/content/docs/web-analytics/faq.mdx +++ b/src/content/docs/web-analytics/faq.mdx @@ -114,7 +114,7 @@ If your site implements a Content Security Policy (CSP), you'll need to add some You'll first need to permit our script to execute by adding it to your `script-src` directive: ``` -script-src [...existing values...] https://static.cloudflareinsights.com/beacon.min.js +script-src [...existing values...] https://static.cloudflareinsights.com/beacon.min.js/ ``` _Note: if you have a query string in the script as per the example above for Google Tag Manager, then you'll need to include this in the URL too, e.g. `script-src [...existing values...] https://static.cloudflareinsights.com/beacon.min.js?token=$SITE_TOKEN`_