Create an event feed

Event feeds are how you define what information you want to capture based on events received by the Customer Data Platform (CDP). This step of the tutorial 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 in distinguishing 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 step of the tutorial. 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:

  1. In your CDP instance, click on the Event feeds entry.

  2. Click on the Create an event feed button and select Web behavior event feed.

    This event type tracks user navigational events from configured websites.
  3. The website behaviors you want to capture are for two separate segments: Customer, and Prospect.

    1. Complete the settings for Web behavior event feed Details.

    2. Select Add attribute and complete the settings for Web behavior event feed Attributes for each segment.

    3. Select Create event feed when you have configured your event correctly.

  4. Repeat Step 3 for the Prospects event type.

Settings tables

Table 1. Web behavior event feed Details
Field Name Customer value Prospect value Notes

Name

Customer

Prospect

What you set here appears in the CDP Segments configuration.

ID

select-customer

select-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 even type is necessary when you need to 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

Table 2. Web behavior event feed Attributes
Field Name Customer value Prospect value

Attribute

type

type

Rule

equals

equals

Value

customer

prospect