Skip to content

Commit 712b772

Browse files
author
sanscontext
committed
copy and format edit
1 parent 010ba1e commit 712b772

File tree

1 file changed

+7
-2
lines changed
  • src/connections/sources/catalog/libraries/website/javascript

1 file changed

+7
-2
lines changed

src/connections/sources/catalog/libraries/website/javascript/index.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,11 @@ Without any destinations enabled, the `analytics.min.js` file is about 62KB. Eac
660660

661661
### Localstorage cookies used by Analytics.js
662662

663-
There are a few localstorage cookies used by Analytics.js if you have retries enabled. `ack` is a timer used to see if another tab should claim the retry queue. `reclaimStart` and `reclaimEnd` are used to signify if a tab is taking over the queue of another tab. `inProgress` and `queue` are used to track in-flight events and events that are queued up to be retried. For more information you can visit our localstorage-retry library at https://github.com/segmentio/localstorage-retry.
663+
Analytics.js uses a few `localstorage` cookies if you have retries enabled, to keep track of retry timing.
664+
- The `ack` cookie is a timer used to see if another tab should claim the retry queue.
665+
- The `reclaimStart` and `reclaimEnd` cookies determine if a tab takes over the queue from another tab.
666+
- The `inProgress` and `queue` cookies track events in progress, and events that are queued to be retried.
664667

665-
`debug` is a flag that can be set to 'analytics.js' if you want Analytics.js to log debug messages in the console.
668+
For more information, visit the [Segment localstorage-retry library](https://github.com/segmentio/localstorage-retry).
669+
670+
You can set the `debug` cookie to `analytics.js` to log debug messages from Analytics.js to the console.

0 commit comments

Comments
 (0)