Once the Segment library is integrated in your app, toggle Tractionboard on in your Segment integrations, and add your Segment Token ID which you can find in the Tractionboard Dashboard, under the Settings > Integrations.
The Segment Tractionboard integration is 100% handled through our side, you just need to take some names in consideration when sending track events.
Tractionboard supports the page, identify, track, group, alias and screen methods.
The Page method is equivalent to our visit event, which track your user iterations inside your website and app.
When you identify a user, we'll pass that user's information to Tractionboard with userId as Tractionboard's External User ID, as if it were our login event . Segment's special traits will be recognized as Tractionboard's attributes, and you can use as many as you want.
When you track an event, we will send that event to Tractionboard as a custom event. There are certain events that trigger special actions in Tractionboard:
- Payment Made: This is an standard event in Segment (Payment Made) and it's translated to the Tractionboard payment event, that is used to get the earnings of certain user.
- Refund Received: This is an standard event in Segment (Refund Received) and it's translated to the Tractionboard refund event, that is used to subtract this amount to the revenue.
- cancel: This event with the userId will update the user status to canceled, and it will count in the churn rate metric.
- signup: We expect the signup event with the userId. Signup events are used to compose the UAC metric.
The information provided by this method will be saved as a user's attribute.
With this method we will change the id to a certain user saving the old one as a attribute of the new one.
It's the same that the page method. Currently we don't support mobile apps, but we already can get events from them.