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/persistence.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ If a user returns to your site after the cookie expires, Analytics.js looks for
15
15
16
16
### Cookie Settings
17
17
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.
19
19
20
20
Here is the full list of available parameters with their default values:
21
21
@@ -42,7 +42,7 @@ analytics.load('writeKey', {
42
42
43
43
### User Settings
44
44
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.
46
46
47
47
The user object has the following fields and default values:
48
48
@@ -70,7 +70,7 @@ analytics.load('writeKey', {
70
70
71
71
### Group Settings
72
72
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.
74
74
75
75
The group object has the following fields and default values:
0 commit comments