1.2.4 • Published 1 year ago
@formo/analytics-sdk v1.2.4
Installation Guide
NPM - YARN
- Install the npm package:
yarn add @formo/analytics-sdkor
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 buildat the root level to build the script. - Run
yarn publishornpm run publishto publish new versions of the package.