Make sure to replace YOUR_API_KEY with 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 .track() .
USER_ID is your customer that you want to track this event for. OBJECT_ID is 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.