Track events

How to track user actions on Segment and send them to Palabra

Now that your users are identified and both Palabra and Segment know who they are, you are ready to start tracking their user actions.

If you are using Segment's analytics.jsarrow-up-right library you should track your user actions like this:

your-app.js
// analytics -> Segment's analytics.js

analytics.track("User Registered", {
  plan: "Pro Annual",
  accountType: "Facebook"
});
circle-exclamation

Some things to pay attention to when sending your user data to Palabra:

  1. The name of the event (e.g. "User registered") is the name of your user action. Make sure to keep track of the names of your user actions as you'll need to pick them later from Palabra's UI.

Last updated

Was this helpful?