Skip to content

Commit b351c60

Browse files
committed
clarify where cookie/user/group object gets used
1 parent 7a7a2f8 commit b351c60

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/persistence.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ If a user returns to your site after the cookie expires, Analytics.js looks for
1515

1616
### Cookie Settings
1717

18-
Analytics.js sets some default properties when creating cookies for user or group identities. You can override the default cookie properties in code when loading Analytics.js by passing in a `cookie` object.
18+
Analytics.js sets some default properties when creating cookies for user or group identities. You can override the default cookie properties in code when loading Analytics.js by passing in a `cookie` object to the load method.
1919

2020
Here is the full list of available parameters with their default values:
2121

@@ -42,7 +42,7 @@ analytics.load('writeKey', {
4242

4343
### User Settings
4444

45-
Analytics.js automatically persists the user's ID and traits locally. You can override how and where the user ID and traits are stored when loading Analytics.js by passing in a `user` object.
45+
Analytics.js automatically persists the user's ID and traits locally. You can override how and where the user ID and traits are stored when loading Analytics.js by passing in a `user` object to the load method.
4646

4747
The user object has the following fields and default values:
4848

@@ -70,7 +70,7 @@ analytics.load('writeKey', {
7070

7171
### Group Settings
7272

73-
Analytics.js automatically persists the user's group ID and group properties locally. You can override how and where the group ID and properties are stored when loading analytics.js by passing in a `group` object.
73+
Analytics.js automatically persists the user's group ID and group properties locally. You can override how and where the group ID and properties are stored when loading analytics.js by passing in a `group` object to the load method.
7474

7575
The group object has the following fields and default values:
7676

0 commit comments

Comments
 (0)