Overview
deviceIntegration records the browser's navigator.userAgent once, at setup, as the device.userAgent context — from then on it rides along on every event. Buglapse parses the User-Agent on the backend at ingestion into browser.*, os.* and device.* fields, so you can filter and group events by browser, OS and device type.
No UA-parsing library ships in your bundle, and nothing else (language, timezone, screen size) is collected.
Usage
ts
import { use } from '@buglapse/browser'
import { deviceIntegration } from '@buglapse/browser/integrations'
use(deviceIntegration())The integration takes no options.