Skip to content

Commit 2e24ba7

Browse files
committed
DOC-319 update note
1 parent 17a110d commit 2e24ba7

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/connections/sources/catalog/libraries/website/javascript/upgrade-to-ajs2.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,7 @@ In some cases, upgrading to Analytics.js 2.0 requires manual effort beyond enabl
3939

4040
### When using in-domain instrumentation CDN aliasing
4141

42-
If the source you intend to upgrade 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 or higher) before you toggle on Analytics.js 2.0.
43-
44-
To ensure that AJS is loaded from your indomain CDN, add the following to your javascript snippet, directly after `analytics._writeKey="<WRITE_KEY>";`:
45-
46-
- `analytics._cdn="<YOUR_CDN_URL>"`
47-
48-
The updated snippet should read `...analytics._writeKey="<WRITE_KEY>";analytics._cdn="<YOUR_CDN_URL>"`.
42+
If the source you intend to upgrade 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.15.3) or higher) before you toggle on Analytics.js 2.0.
4943

5044

5145
### When relying on Analytics.js Classic's `ajs_anonymous_id` cookie format

0 commit comments

Comments
 (0)