Candu SDK Event Names

Track user interactions in your application with Candu's event system. All events are automatically instrumented and follow a consistent candu.sdk prefix.

Candu's SDK emits events to both Candu servers and your customer application. These events help track user interactions and analyze product usage.

To familiarize yourself with all the identifiers, read more about Candu's Entities.

All Candu SDK events start with the prefix candu.sdk.

Common Events

Content events are generic events common to every type of content.

Every SDK event includes a core set of identifiers. Depending on the event type, additional properties may be included.

IdentifierTypeDescription
contentIdStringIdentifies the Content that triggered the event
segmentIdStringThe Segment that was matched against the user when the event fired.
documentIdIntegerThe Document ID associated with the Segment
versionIdStringA digest hash uniquely identifying the document version. Used for tracking publishing changes.
placementIdStringThe matched Placement that triggered the content display. Useful for debugging.

candu.sdk.content

Fired when a user views content on their screen. This event only triggers if the user has actually seen the content on their screen.

Component Events

These are useful for tracking interactions. Component events always have a nodeId associated with them. Note that components do not have identifiers as they're a logical grouping of Nodes.

Component events have the following identifiers:

IdentifiertypeDescription
contentIdStringThe Content that fired the event.
segmentIdStringThe Segment that was matched against the user when the event fired.
documentIdIntegerThe Document associated with the Segment.
versionIdStringA digest hash of the document uniquely identifying a specific version of the Document. Useful for tracking publishing changes.
placementIdStringThe Placement that matched to trigger the Content. Useful for debugging and analytics.
nodeIdStringThe specific node that fired a given event. nodeId are not uniques across documents, however the combination of documentId and nodeId is unique.
nodeTypeStringThe type of Node that fired the event.
eventNameString[Optional] The Interaction label associated with a given action inside the node.

candu.sdk.content.interaction

A generic interaction event. This event is emitted by components like Button, Link, Card and any other component where an interaction can be specified.

candu.sdk.dismiss

A generic dismiss events. This action is emitted by Modal or Card when they are dismissed.

Checklists

candu.sdk.tutorial.checklist_group_complete

Event emitted when all items in a Checklist have been completed. This event is re-emitted each time a user with a completed checklist visits the relevant page/s where the checklist content is embedded.

Includes the following additional properties:

KeytypeDescription
titleStringThe Checklist title

Includes the checklist title in the payload.

candu.sdk.tutorial.checklist_item_state_updated

Tracks individual checklist item state changes. Please note that event-driven Checklists do not emit this event.

Includes the following additional properties:

KeytypeDescription
titleStringThe Checklist title
stateStringThe Checklist state. Either Done or NotStarted

Includes the checklist title in the payload,

Flows

candu.sdk.flow_step

A Flow Step has been seen. This actions are emitted byFlowStepnodes when they are being displayed as part of a Flow.

Form

candu.sdk.form_submit

A Form has been submitted. The formId will be included in the body, as well as an encoded payload of all the Form fields.

KeytypeDescription
nameStringThe Form name

Tour

candu.sdk.tour_step_tooltip

A Tour Step has been viewed.

candu.sdk.tour_step_dismissed

A step has been dismissed.

candu.sdk.tour_completed

The Tour has been completed.

Hotspot

candu.sdk.hotspot_tooltip

A Tooltip has been opened.

candu.sdk.hotspot_beacon

A Tooltip beacon has been rendered.

candu.sdk.hotspot_dismissed

A Hotspot has been permanently dismissed.

candu.sdk.hotspot_group_dismissed

All the Hotspots in a group have been dismissed.

Experimentation events

candu.sdk.impression

Tracks experiment variant views, including control group impressions.

A User has seen an Experiment Variant. This happens when there is a matching Placement. In the case of control group, an impression occurs anytime a Placement matches for another Variant.

The event has the following payload:

KeytypeDescription
contentIdString[Optional] The Content being rendered.
variantIdStringThe Variant to which the User was assigned to.
placementIdStringThe Placement that was matched.