Skip to content

Commit 88a929d

Browse files
authored
Merge pull request #5958 from segmentio/sarahrudy-patch-8
Analytics.js: Move "Getting started" section to top of page
2 parents e00fff4 + 1e75f5e commit 88a929d

File tree

1 file changed

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

1 file changed

+3
-5
lines changed

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ Analytics.js enables you to send your data to hundreds of [destination tools](/d
1414

1515
Segment's Analytics.js library is fully open-source and can be viewed on [GitHub](https://github.com/segmentio/analytics-next/){:target="_blank"}.
1616

17+
## Getting started
18+
19+
Use the [Analytics.js QuickStart Guide](/docs/connections/sources/catalog/libraries/website/javascript/quickstart/) to learn how to add Analytics.js to your site. Once you've installed the library, read on for the detailed API reference.
1720

1821
## Benefits of Analytics.js
1922

@@ -26,7 +29,6 @@ Analytics.js reduces page load time and improves site performance. Its package s
2629
> info ""
2730
> 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.
2831
29-
3032
### Developer experience
3133

3234
Analytics.js improves developer experience by introducing new ways for developers to augment events throughout the event timeline. For example, developers can augment events either before or after an event occurs, or while the event is in-flight.
@@ -37,10 +39,6 @@ For example, you can use Analytics.js to build features that:
3739
- Enrich events with customer or page context while in-flight with middleware
3840
- Check an event for errors after the event is sent to Segment
3941

40-
## Getting started
41-
42-
Use the [Analytics.js QuickStart Guide](/docs/connections/sources/catalog/libraries/website/javascript/quickstart/) to learn how to add Analytics.js to your site. Once you've installed the library, read on for the detailed API reference.
43-
4442
## Basic tracking methods
4543

4644
The basic tracking methods below serve as the building blocks of your Segment tracking. They include [Identify](#identify), [Track](#track), [Page](#page), [Group](#group), and [Alias](#alias).

0 commit comments

Comments
 (0)