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/cookie-validity-update.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,9 +128,9 @@ Analytics.js tries to detect when a page is about to be closed and saves pending
128
128
129
129
When`disableClientPersistence` is set to`true`, Analytics.js won't store any pending events into`localStorage`.
130
130
131
-
##ClientSide Cookie Methods (Get, Set, Clear)
131
+
##Clientside cookie methods (get, set, clear)
132
132
133
-
To access or assign a value to a cookie, outside of the standard Segment methods (track/identify/page/group), you can use the following methods. To access the cookie's value pass an empty`()` at the end of the method. To assign the value, include the string value inside those parenthesis`('123-abc')`. To clear(remove) the value for a specific field, pass in an empty value of its type, for string`('')`, for object`({})`.
133
+
To access or assign a value to a cookie outside of the standard Segment methods (track/identify/page/group), you can use the following methods. To access the cookie's value, pass an empty`()` at the end of the method. To assign the value, include the string value inside those parenthesis, for example,`('123-abc')`. To clearorremove the value for a specific field, pass in an empty value of its type. For example, for string`('')`, or for object`({})`.
134
134
135
135
| Field| Cookie Name| Analytics.js Method| Local Storage Method| Set Example| Clear Example|