You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/connections/sources/catalog/libraries/website/javascript/index.md
+23-2Lines changed: 23 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -791,10 +791,10 @@ Segment loads the libraries required for your **enabled** Destinations. When you
791
791
792
792
Using Analytics.js doesn't offer a large performance benefit, but is more performant than installing each of the destinations individually. And as more destinations move to accept data directly from Segment, you'll receive more performance benefits automatically.
793
793
794
-
One option, if you don't want to use any bundled third-party tools, is to use the [Analytics-Node](https://github.com/segmentio/analytics-node) package.
794
+
One option, if you don't want to use any bundled third-party tools, is to use the [Analytics-Node](https://github.com/segmentio/analytics-node) package.
795
795
796
796
> info ""
797
-
> Analytics.js doesn't set third-party cookies and only sets first-party cookies.
797
+
> Analytics.js doesn't set third-party cookies and only sets first-party cookies.
798
798
799
799
### Bundle size
800
800
@@ -804,6 +804,27 @@ The snippet asynchronously requests and loads a customized JavaScript bundle (`a
804
804
805
805
Without any destinations enabled, the `analytics.min.js` file is about 62KB. Each time you enable a destination, the file's size may increase slightly.
|`ajs_anonymous_id`| An anonymous ID generated by Analytics.js, used for Segment calls. |
814
+
|`ajs_group_id`| A group ID that can be specified by making a `group()` call with Analytics.js. |
815
+
|`ajs_user_id`| A user ID that can be specified by making an `identify()` call with Analytics.js. |
816
+
817
+
For Google Chrome, these cookies expire by default **one year** after the date created. Other [supported browsers](/docs/connections/sources/catalog/libraries/website/javascript/supported-browsers/) might have a different expiration time.
818
+
819
+
Some user/group traits are also stored in `localStorage`:
0 commit comments