@frogalytics/web
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

Frogalytics

This package can be used to easily track page views and events for any web framework. You can also append data to visitors if you have authenticated users.

Basic usage

Note that page views are tracked automatically and only require you to call init().

import frogalytics from '@frogalytics/web'

frogalytics.init()

frogalytics.track('Event name', { optionalEventData: true })

frogalytics.identify('yourUniqueUserIdentifier', { email: 'johndoe@mail.com', name: 'John Doe' })

Readme

Keywords

none

Package Sidebar

Install

npm i @frogalytics/web

Weekly Downloads

1

Version

1.0.5

License

MIT

Unpacked Size

7.54 kB

Total Files

6

Last publish

Collaborators

  • pgvr