1.0.2 • Published 3 years ago
@keen.io/tracking-lite v1.0.2
@keen.io/tracking-lite
Light and simple version on Keen Tracking library - used for integration with Google Tag Manager.
Installing
For direct website integration embed a script with @keen.io/tracking-lite that is hosted on CDN.
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@keen.io/tracking-lite@latest/dist/tracking-lite.min.js"></script>Examples
Access KeenTrackingLite from browser window object.
KeenTrackingLite.sendEvent(projectId, authorizationKey, eventCollection, eventPayload);npm scripts
List of useful commands that could be used by developers. Execution in the command-line interface should be prefixed with yarn package manager.
| Command | Description |
|---|---|
start | run application on localhost:3000. |
build | build the application UMD distribution. |