Skip to content

Commit f994d11

Browse files
Merge pull request #5090 from segmentio/sarahrudy-patch-12
Update Analytics.js 2.0 overview page
2 parents a752c91 + 3ada7c6 commit f994d11

File tree

1 file changed

+5
-4
lines changed
  • src/connections/sources/catalog/libraries/website/javascript

1 file changed

+5
-4
lines changed

src/connections/sources/catalog/libraries/website/javascript/index.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ id: IqDTy1TpoU
1414

1515

1616

17-
Analytics.js 2.0, the latest version of Segment's JavaScript source, enables you to send your data to any tool without having to learn, test, or use a new API every time.
17+
Analytics.js 2.0 is the newest version of Segment's most popular JavaScript library. It is backwards compatible with our original Analytics.js Classic library, so in most cases, no code changes are necessary in order to start using Analytics.js 2.0. Analytics.js 2.0 enables you to send your data to hundreds of [destination tools](/docs/connections/destinations/catalog/) without having to learn, test, or use a new API every time.
18+
19+
Segment's Analytics.js 2.0 library is fully open-source and can be viewed on [GitHub](https://github.com/segmentio/analytics-next/){:target="_blank"}.
1820

1921
> info ""
20-
> Analytics.js 2.0 is available as an [open-source project](https://github.com/segmentio/analytics-next/){:target="_blank"}.
21-
> <br><br> All sources created on April 5, 2022 and after, default to use Analytics.js 2.0.
22+
> All sources created after April 5, 2022 use Analytics.js 2.0 by default.
2223
2324

2425
## Benefits of Analytics.js 2.0
@@ -30,7 +31,7 @@ Analytics.js 2.0 provides two key benefits over the previous version.
3031
Analytics.js 2.0 reduces page load time and improves site performance. Its package size is **~70%** smaller than its predecessor, Analytics.js.
3132

3233
> info ""
33-
> Many factors impact page load time, including page weight, network conditions, and hosting locations.
34+
> Many factors impact page load time, including network conditions, hosting locations, and page weight. Page weight for each customer integration varies based on the number of device-mode destinations that are enabled for each source. The more device-mode destinations that are enabled, the more data gets added to the library, which will impact the weight of the library.
3435
3536

3637
### Developer experience

0 commit comments

Comments
 (0)