Data collected
On every pageview
Section titled “On every pageview”| Field | Source |
|---|---|
| Path and query string | The page URL. Never the fragment unless you set contentNav: 'fragment' |
| Page title | document.title |
| Referrer | document.referrer |
| Campaign tags | utm_source, utm_medium, utm_campaign, utm_term, utm_content from the URL |
| Screen width and viewport height | The browser |
| Language | navigator.language |
| Hostname | Sent by the browser, not by page script |
| Country, region, city | Derived from the connection at the edge |
| Browser, OS, device type | Derived from the user agent |
| Visitor token | _ws_uid, a first-party value the pixel mints |
| Timestamp | Recorded on the client and on the server |
On every video
Section titled “On every video”Recorded per play, with no code from you:
| Group | Actions |
|---|---|
| Playback | play, pause, ended, seek, start, impression |
| Progress | progress at 25/50/75/100%, plus periodic heartbeat |
| Quality | quality, buffer, stallframe, error, autoblock |
| Controls | rate, volume, subtitle, audio, fullscreen, pip, cast |
Each carries the position in the video, its duration, seconds watched, and action-specific detail such as the resolution served, buffering milliseconds, or a subtitle language.
Plays are grouped by a play token minted per view, so a conversion event fired during a play binds to that exact view.
On every link click
Section titled “On every link click”| Event | Recorded with |
|---|---|
download | A link to a file, or any link with a download attribute. URL and filename |
outbound | A link to another site. URL and destination host |
What you send
Section titled “What you send”Only what you pass to webstats(): event names and props, content declarations, and video
names. Nothing else is read from your page.
Keep personal data out of event props. Use your own account id if you need to join the data up later.
The visitor token
Section titled “The visitor token”_ws_uid is a random 32-character value stored as a first-party cookie and in localStorage,
for 365 days. It is unique per browser, carries no personal information, and is never shared
across the sites of different customers.
Clearing site data resets it, and that visitor is then counted as new.
Retention
Section titled “Retention”Event-level data is kept for 365 days. Rolled-up reports outlive it, so your long-term charts stay complete after the raw events expire.