6.0.0-beta.8 • Published 4 years ago

@logary/plugin-browser v6.0.0-beta.8

Weekly downloads
-
License
GPL3 / commercial
Repository
-
Last release
4 years ago

Logary JS — Browser Plugin

[lang=bash]
npm add @logary/plugin-browser

In your logary.ts:

import browser from '@logary/plugin-browser'
const logary = getLogary({ ... }) // configure targets and Logary Analytics ID here
browser(logary)
// more plugins here
export default logary

Features

  • Plugs into Logary JS without fuss
  • Tracks 'Page view' event as span
  • Tracks all window errors
  • Tracks the latency for all fetches on document load
  • Tracks all user clicks (element selector, element text)