0.1.2 • Published 4 years ago

@carl/analytics v0.1.2

Weekly downloads
158
License
MIT
Repository
github
Last release
4 years ago

alt text alt text alt text alt text

@carl/analytics

A library containing analytics tools for Carl.

Installation

npm install @carl/analytics

API

createId()

import { createId } from '@carl/analytics;'

A function that returns a 128 bit id. Any existing id found will be persisted. If a Google Analytics (_ga) value is found then the id will be generated using that value as a base.

KEY - carlId

import { KEY } from '@carl/analytics;'

This is the value that is used to store the generated id.