@logary/plugin-browser

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

Usage no npm install needed!

<script type="module">
  import logaryPluginBrowser from 'https://cdn.skypack.dev/@logary/plugin-browser';
</script>

README

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)