@loomduct/js
v0.1.0
Published
Loomduct browser SDK: web analytics, custom events and web vitals
Readme
@loomduct/js
Loomduct's browser SDK: page views, time on page, outbound links, downloads, custom events and Core Web Vitals. Cookieless, and under 5 KB gzipped for the core with web analytics.
npm install @loomduct/jsimport { Loomduct } from '@loomduct/js'
import { webAnalytics } from '@loomduct/js/web-analytics'
export const loomduct = new Loomduct({
token: 'pk_your_project_token',
plugins: [webAnalytics()],
})
loomduct.load()More plugins: @loomduct/js/web-vitals and @loomduct/js/client-hints. The full documentation covers the script tag, all options, plugins, privacy and troubleshooting.
