1.0.2 • Published 2 years ago
@stablyhq/stably v1.0.2
Installation
npm install @stablyhq/stably --save
or
yarn add @stablyhq/stably
Usage
1) Initialize
import { Analytics } from 'stablyhq/stably'
const analytics = Analytics("YOUR_WRITE_KEY")
You can find your write key at https://app.stably.dev/
2) Call
Re-use the above analytics instance and call track with your event name:
analytics.track("account_creation_start")
Development
To build, you can run npm run build
.
To have updated versions sent with the library, you'll want to first run npm run gen
To publish, you can run: npm publish --access public
Contributing
Please feel free to open issues or pull requests. We love any feedback!