Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8f2b6e6

Browse files
authored
Clarify language
1 parente0339ac commit8f2b6e6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ 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-
##Clientside cookie methods (get, set, clear)
131+
##Client-side cookie methods (get, set, clear)
132132

133133
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

@@ -142,22 +142,22 @@ To access or assign a value to a cookie outside of the standard Segment methods
142142

143143
##Storage Priority
144144

145-
By default Analytics.js uses`localStorage` as its preferred storage location, with Cookies as a fallback when`localStorage` is not available or not populated. An in-memory storage is used as a last fallback if all the previous ones are disabled.
145+
By default, Analytics.js uses`localStorage` as its preferred storage location, with Cookies as a fallback when`localStorage` is not available or not populated. An in-memory storage is used as a last fallback if all the previous ones are disabled.
146146

147147
Default Storage Priority:
148148

149149
```md
150150
LocalStorage -> Cookie -> InMemory
151151
```
152152

153-
Some scenarios might requireto switchthe priority ofthe storage systems.
153+
Some scenarios might requirea switchinthe storage systems priority:
154154

155155
- Apps that move the user across different subdomains
156156
- Apps where the server needs control over the user data
157157
- User Consent
158158
- Availability
159159

160-
The storage priority can be configured in the Analytics.js client using the`storage` property either globally or only for user or group data.
160+
You can configure the storage priority in the Analytics.js client using the`storage` property, either globally or only for user or group data.
161161

162162
The`storage` property accepts an array of supported storage names (`localStorage`,`cookie`,`memory`) to be used in the priority order of the array.
163163

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp