Create an event feed
Event feeds define what information you want to capture based on events received by the Customer Data Platform (CDP). This tutorial step guides you through creating two specific event feeds that will let you uniquely identify two types of website users. The tutorial uses the custom web behavior event type to record when a user interacts with a feature on the website. This interaction helps distinguish whether the user is a customer or a prospect.
Before you start
-
Read the Events documentation in Customer Data Platform to learn more about the full range of settings available. This procedure only describes the web behavior settings.
-
Remember that you are configuring two sets of event feeds in this tutorial step. The reference tables tell you what information you need to set and, in some cases, why you need to set it for this specific tutorial.
Create an event feed
To create an event feed:
-
In your CDP instance, click on the Event feeds entry.
-
Click the Create an event feed button and select Web behavior event feed from the menu that appears.
This event type tracks user navigational events from configured websites.
-
The website behaviors you want to capture are for two separate segments: Customer, and Prospect.
-
Complete the Event feed details settings:
Expand
Field Name Customer value Prospect value Notes Name
Customer
Prospect
What you set here appears in the CDP Segments configuration.
ID
This will autofill with the feed’s name, but can be overwritten as needed.
Set it toselect-customer
.This will autofill with the feed’s name, but can be overwritten as needed.
Set it toselect-prospect
.These IDs are what you set on your website frontend for the HTML elements that customers will interact with to trigger this event.
Source
Website behavior
Website behavior
Event type
Custom
Custom
The
Custom
event type is necessary when you must implement frontend code like JavaScript to trigger the event.Custom event ID
persona-selector
persona-selector
In both cases, customers will opt into a CDP segment using buttons with the
ID
names through a custom JavaScript function.Time period in days
1
1
-
Select Add attribute and complete the settings for Event feed attributes for each segment:
Expand
Field Name Customer value Prospect value Attribute
type
type
Rule
equals
equals
Value
customer
prospect
-
Select Create event feed when you have configured your event correctly.
-
-
Repeat Step 3 for the Prospects event type.