0.1.6 • Published 2 years ago

@engaging-care/kind-web-events-service v0.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Front Facing Event Tracking Library for Kind

Installation & Development:

  • npm install, add --legacy-peer-deps if on npm@8.x and installation fails
  • npm start

Publishing:

  • make sure to manually bump version in package.json
  • npm run prepare
  • commit all your changes
  • npm run trypublish

Usage:

@engaging-care/kind-web-events-service is a public package, so each version we release can be used from unpkg cdn, like below:

<script src="https://unpkg.com/@engaging-care/kind-web-events-service@XXX" async>
/* XXX is the version you just published */

This exposes on the window object the KindWebEventsService class constructor, and it can be used like this:

const KindWebEventsService = window.KindWebEventsService.default;
const kindService = new KindWebEventsService('development');
kindService.sendClickEvent('WEBFLOW_HOME', 'WEBFLOW_ABOUT');
0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago