With Candu, you can create and publish different content for different user segments. To create user segments, send the necessary data attributes to Candu, either directly or via a third-party provider.

Required: the ability to identify users with a unique ID, otherwise they will be tracked anonymously.

Sending Events Directly

To send events directly, use the Candu SDK. Sample identify call:

To send events directly, use the Candu SDK. This is a sample identify call:
import { Candu } from '@candulabs/js-sdk';
Candu.init({ clientToken: 'YOUR_CLIENT_TOKEN', userId: 'some_user_id', traits: { name: 'Some Person',email: '[email protected]', logins: 5}});

Third-party Integrations

Segment.io Integration

This integration sends user event data via the Segment.io function to Candu, where it can be used to personalize content.

If you are using Segment.io to send Candu user event data, you will need to send it as identify calls with user traits. For example:

If you are using Segment.io to send Candu user event data, you will need to send it as identify calls with user traits.
analytics.identify("some_user_id", { name: "Some Person", email: "[email protected]", logins: 5});

For more information on installing Segment integration, please refer to the Segment section in the Candu Destination documentation.

ℹ️ In order to create user segments, an identify event with traits is required. Tracking events with properties will not be sufficient.

Event Stream

Once your events are set up, you can view them in Candu's Event Stream or Users Tab to make sure they are coming through properly.

Once your events are set up, you can view them in Candu's User Tab
Did this answer your question?