Skip to content

Commit 6411082

Browse files
Merge pull request #2430 from segmentio/DOC-393-IF
Adding note about cookie compatibility/utility plugin [DOC-393]
2 parents e3da3a5 + b5f0aab commit 6411082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ If the source you intend to upgrade uses the in-domain instrumentation as well a
5050

5151
### Relying on Analytics.js Classic's `ajs_anonymous_id` cookie format
5252

53-
Analytics.js 2.0 removes inbuilt quotes from cookie values, resulting in a different format for the `ajs_anonymous_id` value when compared to Analytics.js Classic. Though you can retrieve cookie values with [standard supported functions](/docs/connections/sources/catalog/libraries/website/javascript/identity/#retrieve-the-anonymous-id), you'll need to configure your environment to accept the new format if your implementation relies on accessing the cookie value directly.
53+
Analytics.js 2.0 removes inbuilt quotes from cookie values, resulting in a different format for the `ajs_anonymous_id` value when compared to Analytics.js Classic. Though you can retrieve cookie values with [standard supported functions](/docs/connections/sources/catalog/libraries/website/javascript/identity/#retrieve-the-anonymous-id), you'll need to configure your environment to accept the new format using the `utility` [plugin](/docs/connections/sources/catalog/libraries/website/javascript/index/#example-plugins) if your implementation relies on accessing the cookie value directly.
5454

5555
### Using a strict content security policy on the page
5656

0 commit comments

Comments
 (0)