elliot-analytics

All your tracking tools in a single library.

Usage no npm install needed!

<script type="module">
  import elliotAnalytics from 'https://cdn.skypack.dev/elliot-analytics';
</script>

README

elliot-analytics

All your tracking tools in a single library.

Use

Install using NPM:

npm install --save elliot-analytics

Initialize and track.

import { Tracker, Integration } from 'elliot-analytics'

let tracker = new Tracker(config, customIntegrations)

tracker.identify(userId, userProperties)
tracker.track(eventName, eventProperties)
tracker.page(category, name, properties)
tracker.alias(userId)
tracker.group(groupId, traits)