Skip to content

Commit a7f8b9a

Browse files
author
Andy
authored
Merge branch 'master' into security-update
2 parents f9eeb1c + 164efdc commit a7f8b9a

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -657,3 +657,14 @@ Segment's Analytics.js javascript snippet only increases the page size by about
657657
However, the snippet asynchronously requests and loads a customized javascript bundle (`analytics.min.js`), which contains the code and settings needed to load your [device-mode destinations](/docs/connections/destinations/#connection-modes). The size of this file changes depending on how many and which destinations you enable.
658658

659659
Without any destinations enabled, the `analytics.min.js` file is about 62KB. Each time you enable a destination, the file's size may increase slightly.
660+
661+
### Localstorage cookies used by Analytics.js
662+
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.
667+
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.
104 KB
Loading

src/protocols/starter.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,13 @@ You can click **Save and add more** to add more than one property, or click **Sa
7979

8080
## Monitor your Segment data flow
8181

82-
<!--TODO: sounds like some of this isn't shipping today-->
83-
The Tracking Plan page shows <!--an overview of the data that is arriving to your Segment workspace. The page information includes--> a **Name** and **Description** for each event that you expect to see in Segment, <!-- information about if Segment has seen any data matching that event name yet,--> and information about who last modified the event in the tracking plan.
82+
The Tracking Plan page shows an overview of the data that is arriving to your Segment workspace. The page information includes a **Name** and **Description** for each event that you expect to see in Segment, information about if Segment has _actually_ seen any data matching that event name yet, and information about who last modified the event in the tracking plan.
8483

8584
You can click each event in the table to expand it, view the event description, and view its properties and their descriptions. Property descriptions include the expected data type for each property.
8685

87-
<!--The **Sending** column shows the number of Events Segment has seen with that description and format. You can expand this to see how many of the events Segment saw for Dev, Test, and Production sources. If you see a 0 in this column for all sources, this usually means that the event has not been implemented yet, or has not been implemented correctly.-->
86+
![](images/starter-tp-seen.png)
87+
88+
The **Sending** column shows the number of Events Segment has seen with that description and format. You can expand this to see how many of the events Segment saw for Dev, Test, and Production sources. If you see a 0 in this column for all sources, this usually means that the event has not been implemented yet, or has not been implemented correctly.
8889

8990
At the far right of the table is a **** (more) menu.
9091
From this menu you can click **View Code Snippet** to see and copy a Javascript snippet for the event, including its properties. This might be helpful if you’re not sure how to implement or format the actual Track event.

0 commit comments

Comments
 (0)