Dynamic Yield

Account Access

Create a user account for [email protected] with permissions to create Drafts, and create audiences.

Audience Creation

DY activation of Kahoona’s segments is done by an audience based on event-level reporting of Kahoona’s segments.

image.png

Kahoona’s Events can be reported using the Experience API (ideal) or via DY’s client-side script.

Event-Level API Integration

We report user-level data using DY’s Experience API.

If you do not wish to provide conclusive access to Kahoona’s user, you can create the API key with the following settings, and send the API key directly to your CSM or to [email protected]

image.png

Event Structure

Kahoona reports a custom-event (”KahoonaSegment”) for each prediction. Example payload to Experience API:

{
	"user":{
		"active_consent_accepted":true
		"dyid":"-667433333333333333"
		}
	"session":{
		"dy":"doa18i9y7kg8vuoco9vuoco9vuoco9"
		}
	"context":{
		"device":{
		"ip":"99.99.99.99"
		}
	}
	"events":[
		0:{
			"name":"KahoonaSegment"
			"properties":{
				"high_intent":"true"
				}
			}
		]
}

Events will be reported to the experience API based on identifiers collect from the DY script on the client side (dyid, dy session id).

DY client-side event reporting

In cases where Experience API integration is not applicable, we can set up a custom integration to report the segment from the client-side:

Kahoona’s script will check the servers for available segments, once an updated is ready will report the custom event to DY using their client-side object:

DY.API('event', {
  name: 'KahoonaSegment',
  properties: { high_intent: true},
});