Skip to content

Commit 8759423

Browse files
authored
Apply suggestions from code review
1 parent 3bca31e commit 8759423

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/connections/sources/catalog/libraries/website/javascript/cookie-validity-update.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ Analytics.js tries to detect when a page is about to be closed and saves pending
128128

129129
When `disableClientPersistence` is set to `true`, Analytics.js won't store any pending events into `localStorage`.
130130

131-
## Client Side Cookie Methods (Get, Set, Clear)
131+
## Client side cookie methods (get, set, clear)
132132

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 clear or remove the value for a specific field, pass in an empty value of its type. For example, for string `('')`, or for object `({})`.
134134

135135
| Field | Cookie Name | Analytics.js Method | Local Storage Method | Set Example | Clear Example |
136136
| ----- | ----------- | ------------------- | -------------------- | --------------- | ------------- |

0 commit comments

Comments
 (0)