1.2.4 • Published 9 months ago
@formo/analytics-sdk v1.2.4
Installation Guide
NPM - YARN
- Install the npm package:
yarn add @formo/analytics-sdk
or
npm install @formo/analytics-sdk --save
- Initialize the SDK and keep an instance of it ready to reference in other parts of your app. To do this, add the following code on your app’s load:
import { FormoAnalyticsSdk } from '@formo/analytics-sdk'
const sdk = await FormoAnalyticsSdk.init(API_KEY, {
//TODO: Add more details
})
Development notes
To run a local version of the script:
- Run
yarn build
at the root level to build the script. - Run
yarn publish
ornpm run publish
to publish new versions of the package.