Audiences for REAL TIME CDP, attributes vs events | Community
Skip to main content
Level 2
April 18, 2025
Solved

Audiences for REAL TIME CDP, attributes vs events

  • April 18, 2025
  • 2 replies
  • 664 views

hi,

while creating an audience (or segment if using the old name) when is it best to an attribute or an event?

let s say you want to create an audience based on users having visited the page Product.

would you use the attribute page Name or the event page Name?

what s the rationale of each selection?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by KotiSyamala

It depends on your event schema design. Events are always defined in XDM Events with timeseries. So choose the product page view event based on the type of the event.

 

If we have additional classification of audience based on the profile persona details, such as country, usually stored as XDM individual profile attributes. In such cases, use profile attributes.

2 replies

KotiSyamala
KotiSyamalaAccepted solution
Level 5
April 22, 2025

It depends on your event schema design. Events are always defined in XDM Events with timeseries. So choose the product page view event based on the type of the event.

 

If we have additional classification of audience based on the profile persona details, such as country, usually stored as XDM individual profile attributes. In such cases, use profile attributes.

AnkitJasani29
Level 6
April 24, 2025

Hi @wuwei88 ,

 

Whether you should use an attribute or an event when creating an audience (or segment) really depends on what kind of behavior you're trying to capture and how your analytics or CDP system is structured.

 

Use CaseAttribute?Event?Why?
Target users based on past behaviorEvents track historical actions
Target users based on current statusAttributes reflect current profile
Need time-based conditionsEvents are timestamped
Track frequency of actionYou can count events
Track last known valueAttributes get updated
Supriya_Savre
Level 4
May 19, 2025

Hi @wuwei88,

Did the shared solution help you out? If yes, kindly consider marking the answer as ‘correct’.

If you’re still facing any challenges, please feel free to continue the conversation here. We’re happy to support further.