SDK 0.7.0: clicks, form submits and time on page, for product analytics
The browser SDK now records which buttons and links visitors click, which forms they submit, and how long they stay on each page and how far they scroll. Every page view, screen view, tracked event and error also goes into a new event store, the ground for web analytics, funnels and retention. Needs SDK 0.7.0 for clicks and time on page.
- New: autocapture. A click on a link, a button or another control, and a form submit, is recorded as an event: which element (its label, link, id and classes), never what was typed. Labels inside your mask class are left out, nothing inside the block class or under
data-ar-no-captureis captured, anddata-ar-namegives an element a stable name. Turn it off withautocapture: false. - New: page leave. When a visitor leaves a page, the SDK records how long it was open and how far down it was scrolled.
- A new event store. Page views, app screens, tracked events, errors and web vitals from every SDK, old versions included, now also go into an analytics database built for counting them. Recordings made before today were added to it too. Web analytics, user profiles, funnels and retention will be built on it next.
- Deleting a session, a project or your organisation deletes its events as well, and your retention setting applies to them the same way it applies to recordings.
- The script-tag snippet picks up 0.7.0 as soon as it is deployed. npm installs get it by upgrading
@anyreplay/browserto 0.7.0; the React Native, Capacitor, Cordova, Electron and Tauri packages move to 0.7.0 with it. Mobile apps send screen views to the event store with any version.