1.2.5 • Published 8 years ago
@seed-media/tracking v1.2.5
Seed Tracking
Seed tracking that works in the browser and on the server
Development
Copy .env.example to .env and utilise the development URLS on your local machine to develop this repository.
yarn install
yarn watchto run the tests
yarn testto build just run
yarn buildDocumentation
track(event, payload)
The track functionality accepts Page View, Share, Click, Identification and any other custom events.
The provided payload will be added to a common payload which contains the app id, seed id, tracking package information with a timestamp and payload fingerprint.