Skip to content

Commit f6bb74c

Browse files
authored
Merge pull request #3383 from segmentio/DOC-570
Clarification to the Ajs 2.0 migration doc [DOC-570]
2 parents bbf73d4 + 8a26bcd commit f6bb74c

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.github/styles/Vocab/Docs/accept.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ Okta
8888
Omnichannel
8989
onboarding
9090
Optimizely
91+
param(:?s)
92+
Pardot
9193
performant
9294
Preact
9395
Rokt
@@ -113,4 +115,4 @@ waitlist
113115
WebKit
114116
Wootric
115117
Xcode
116-
Zendesk
118+
Zendesk

src/connections/destinations/catalog/jimo/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,3 @@ analytics.track("Login Button Clicked");
4242
```
4343

4444
Segment sends Track calls to Jimo as a `track` event.
45-

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,14 @@ If the source you intend to upgrade uses the in-domain instrumentation as well a
5252

5353
### Using a mix of Analytics.js Classic and 2.0 sources
5454

55-
If you're using a mix of Analytics.js Classic and 2.0 sources, the classic source won't be able to use the anonymous ID set by Analytics.js 2.0. In order to fix this, update all sources to 2.0.
55+
If you're using a mix of Analytics.js Classic and 2.0 sources, the classic source won't be able to use the `anonymousId` set by Analytics.js 2.0. In order to fix this, update all sources to 2.0.
56+
57+
Segment won't change the `anonymousId` value when a source is upgraded from Analytics.js Classic to Analytics.js 2.0. The previous `anonymousId` will still be used by the new library. The only exception is for the scenario below:
58+
* The user initiates the visit on the Analytics.js 2.0 subdomain (for example: `account.yourwebsite.com`), and Analytics.js 2.0 creates the `anonymousId`. When users visit another domain (for example: `yourwebsite.com`) where Analytics.js Classic is still being loaded, Analytics.js Classic can't read the Analytics.js 2.0 `anonymousId` and therefore recreates its own `anonymousId`.
59+
60+
> success ""
61+
> Segment recommends all subdomains to use the same version of Analytics.js for compatibility between `anonymousId`s.
62+
5663

5764
### Relying on Analytics.js Classic's `ajs_anonymous_id` cookie format
5865

0 commit comments

Comments
 (0)