Skip to content

Commit 3ada7c6

Browse files
Apply suggestions from code review
1 parent 8f3dcb5 commit 3ada7c6

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

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

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

1515

1616

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](https://segment.com/docs/connections/destinations/catalog/){:target="_blank"} 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.
1818

1919
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"}.
2020

2121
> info ""
22-
> All sources created after April 5, 2022 will use Analytics.js 2.0 by default.
22+
> All sources created after April 5, 2022 use Analytics.js 2.0 by default.
2323
2424

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

3333
> info ""
34-
> Many factors impact page load time, including network conditions, hosting locations, and page weight. Each customer integration will vary 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.
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.
3535
3636

3737
### Developer experience

0 commit comments

Comments
 (0)