Learn how to start using Plaudy in minutes.
Install plaudy using
// Using npm
npm install plaudy
// or yarn
yarn add plaudy
One installed, use a simple
import Plaudy from 'plaudy';
Init your workspace with
`YOUR API KEY`is replaced with the API Key in your dashboard.
Make sure to replace
YOUR_API_KEYwith your actual key or Plaudy will not track any events for you.
Identify the user and/or object that will be tracked for subsequent events. This benefits you by allowing you to skip passing these fields in for every single event tracked. However, you can always pass these fields through when calling
USER_IDis your customer that you want to track this event for.
OBJECT_IDis a secondary identifier for when the user has multiple spaces/workspaces/locations within a single account:
It is possible to track events without identifying the user. In this case, the tracked user recorded for the event will be
no_tracked_user. This allows you to still have query-friendly events for things like overall app usage, button clicks on your landing page, etc. We've done this on our landing page as an example.