Skip to content

Commit 5dac102

Browse files
committed
h223
1 parent 5029783 commit 5dac102

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/connections/sources/catalog/libraries/website/javascript/analytics-js-2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ We identified the following two cases where upgrading Analytics 2.0 requires man
4949
If your source uses the in-domain instrumentation as well as a custom "Alias for analytics.js", then you should update the AJS snippet to the latest version (4.13.2
5050
or higher) before toggling Analytics 2.0 on.
5151

52-
## When using a strict content security policy on the page
52+
### When using a strict content security policy on the page
5353
Analytics 2.0 asynchronously loads different pieces of the library as needed, and therefore, if your source uses a strict Content Security Policy (CSP) that allows Javascript to be downloaded from specific locations, then you need to update the CSP to account for all the pieces used for Analytics 2.0. Therefore, beyond allowing the main analytics.min.js script, you should allow the following paths in your CSP:
5454
- `https://cdn.segment.com/v1/projects/<WRITE_KEY>/settings`
5555
- `https://cdn.segment.com/analytics-next/bundles/*`

0 commit comments

Comments
 (0)