Intent Client
JavaScript Client
Install the client for use in a frontend web application framework
Installation
You can install the Unify Intent JS Client with your preferred package manager:
npm
yarn
Usage
After installing the client, you must initialize it in your application code:
You should only initialize the client one time in your application.
index.ts
You can then use the resulting client instance to log intent data. See the Client Spec for more details on how to use the client.
Cleanup
When you are done using the client, if you wish to clean up the side effects
generated by it, you can do so with the unmount
method:
cleanup.ts