Skip to content

Commit 8be3c6c

Browse files
authored
Merge pull request #3424 from segmentio/DOC-573
Updated A.js Classic end of service note
2 parents 8946ff7 + 04021ec commit 8be3c6c

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

src/connections/sources/catalog/libraries/website/javascript/ajs-classic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ strat: ajs
1010
Analytics.js, Segment's JavaScript source, makes it simple to send your data to any tool without having to learn, test or implement a new API every time.
1111

1212
> warning "Deprecation of Analytics.js Classic"
13-
> On August 31, 2022, Segment will end support and maintenance for Analytics.js Classic, and on February 28, 2023, Segment will remove access to Analytics.js Classic.
13+
> Segment ended support and maintenance for Analytics.js Classic on August 31, 2022. On February 28, 2023, Segment will remove access to Analytics.js Classic.
1414
> <br><br>[Upgrade to Analytics.js 2.0](/docs/connections/sources/catalog/libraries/website/javascript/upgrade-to-ajs2) before access ends for Analytics.js Classic. See the [Analytics.js 2.0 docs](/docs/connections/sources/catalog/libraries/website/javascript/) to learn more about the new source.
1515
1616
## Getting Started

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

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ strat: ajs
66
Analytics.js 2.0 is fully backward compatible with Analytics.js Classic when you use the default Segment snippet in a standard implementation. To upgrade your sources, follow the manual upgrade steps below, or see the schedule for automatic migration. As with all upgrades, Segment recommends that you start development on a non-production source to test the upgrade process and outcome, prior to upgrading your production sources.
77

88
> warning "Deprecation of Analytics.js Classic"
9-
> On August 31, 2022, Segment will end support and maintenance for Analytics.js Classic, and on February 28, 2023, Segment will remove access to Analytics.js Classic.
9+
> Segment ended support and maintenance for Analytics.js Classic on August 31, 2022. On February 28, 2023, Segment will remove access to Analytics.js Classic.
1010
> <br><br>Upgrade to Analytics.js 2.0 before access ends for Analytics.js Classic. See the [Analytics.js 2.0 docs](/docs/connections/sources/catalog/libraries/website/javascript/) to learn more about the new source.
1111
1212
## Manual upgrade
@@ -52,14 +52,7 @@ 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 `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-
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.
6356

6457
### Relying on Analytics.js Classic's `ajs_anonymous_id` cookie format
6558

0 commit comments

Comments
 (0)