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' })