Using Events to Track User Interactions

You can implement events in the Dynamic Yield script on your website, or call them using our server-side Experience API. Dynamic Yield offers a variety of predefined event schemas, or you can create your own. You can also track custom events that are fired "off-site" using a pixel.

For details about the parameters and values for events tracked using our Experience API, see the Events endpoint API reference.

For details about script-based event schemas, see our list of standard event schenmas.

📌

In 95% of the cases, we see a response time of 5-25 ms for event reporting calls.

Required events per vertical

Section typeEventDescription
E-CommerceAdd to CartThe user added an item to the cart.

Adding items to the cart is often used as an optimization goal, and contributes to the user's affinity profile.
PurchaseThe user made a purchase.

Purchases are often used as optimization goals. They contribute to the user's affinity profile and are used in calculating recommendations.
Financial InstitutionsApplicationThe user started the application process for a product. 

Applications are often used as optimization goals, and contribute to the user's affinity profile.
SubmissionThe user submitted an application.

Submissions are often used as optimization goals. They contribute to the user's affinity profile and are used in calculating recommendations.

Events used for cross-channel identification

To identify the same user across devices, you need another identifier named customer unique identifier (CUID). This can be a hashed email address, hashed phone number, or a custom ID you define. When a user is identified with the same identifier more than once, their history, affinity profile, and audience memberships are unified.

To do this, implement events that fire when users perform an action that identifies them. Each event must include the unique identifier that is being used in this section (you can use one CUID type per section):

EventDescription
LoginIndicates that a user has logged in.
SignupThe user completed the signup process.
Newsletter SubscriptionThe user subscribed to a newsletter.
Identify UserUse to identify visitors at any point during their journey on your website, such as during the checkout process.

Additional event schemas

EventDescription
Remove from CartThe user removed a product from the cart.
Sync CartUpdates the current cart state.

It's mandatory for the Exclude items currently in cart filter; for this filter, it must be implemented upon every page load.
Add to WishlistThe user has added a product to their wishlist.
Keyword SearchThe user ran a free-style keyword search.
Filter ItemsThe user filtered the product list by a specific field value.

This event also impacts the user's affinity profile.
Sort ItemsThe user changed the sorting order of a product list.
Not available for API implementation
Change AttributeThe user changed an attribute of the displayed product (category, color, keyword).
Promo Code EnteredThe user entered a valid promo code.
Not available for API implementation
Video WatchThe user watched a video (in part or in full). You can distinguish between auto-playing videos and those the user clicked to watch.

Custom events

If you want to track user actions that are not in our standard event list, you can create a custom event, and implement it via script or server-side API. You can also fire custom events from off-site or websites without the Dynamic Yield script (for example, third-party websites) using a pixel. Learn more about custom event parameters and see code examples.

👍

As an alternative to adding code to your site, you can use a template called Fire Event in Custom Code campaigns to fire an event without making any code changes. Learn more about using this template.

Off-site events using pixels

❗️

Note: Off-site events using pixels rely on third-party cookies.

Safari and Firefox have been blocking third-party cookies, and Chrome is gradually following this restriction. Keep this in mind if you consider using this method.

You can also fire events from off-site or websites without the Dynamic Yield script (for example, third-party websites) using a pixel. Learn more about pixel events.