Skip to content

Commit bb3a008

Browse files
Merge pull request #19322 from steve-cunnew/patch-2
Fix: Change from sessionStorage to localStorage
2 parents d879dab + 89c4a8d commit bb3a008

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/content/docs/browser/browser-monitoring/page-load-timing-resources/cookie-collection-session-tracking.mdx

+5-7
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ redirects:
1313
freshnessValidatedDate: never
1414
---
1515

16-
Browser monitoring's [page load timing](/docs/browser/new-relic-browser/page-load-timing-resources/page-load-timing-process) feature can track sessions by using the sessionStorage API that can store a simple session identifier.
16+
Browser monitoring's [page load timing](/docs/browser/new-relic-browser/page-load-timing-resources/page-load-timing-process) feature can track sessions by using the localStorage API that can store a simple session identifier.
1717

1818
## How it works [#process]
1919

@@ -30,12 +30,10 @@ Here is the basic process for session tracking:
3030
* Clicking
3131
* Scrolling
3232
* Typing
33-
34-
Session tracking will not work properly in these situations:
35-
36-
* If users have DOM Storage disabled in their browser.
37-
* If the browser or page is configured to **not** allow loading and execution of third-party origin scripts through security policies or other means (which naturally means the agent as a whole will not function).
38-
* Browser storage APIs such as LocalStorage are cleared during an active session
33+
* Session tracking will not work properly in these situations:
34+
* If users have DOM Storage disabled in their browser.
35+
* If the browser or page is configured to **not** allow loading and execution of third-party origin scripts through security policies or other means (which naturally means the agent as a whole will not function).
36+
* Browser storage APIs such as localStorage are cleared during an active session.
3937

4038
## Enable or disable tracking [#settings]
4139

0 commit comments

Comments
 (0)