Expand my Community achievements bar.

how to count top of the sequential segment in AEP

Avatar

Level 1

if a person views the product and after that adds that product to the cart but does not purchase the same person repeats this process 4 times in the year i want those profiles

venkataak_0-1727769310266.png

but I am unable to count on top of the sequential segment

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Community Advisor

Hello @venkataak , 

 

You can design your segment as follows to achieve the intended outcome:

Create a sequence where a Product View and Product Add to Cart event count is more that four, and no Purchase occurs afterward.

 

Parvesh_Parmar_0-1727782779332.png

 

 

Kr,
Parvesh

Avatar

Level 1

I'm working on a project that requires writing a sequential segment in PQL (Profile Query Language), and I'm looking for guidance or a sample code snippet if anyone has done this before.

Specifically, I need to segment users who:

  1. Perform Action A (e.g., clicked an email)
  2. Then, within a specified timeframe, perform Action B (e.g., make a purchase).

If someone could share a basic structure or sample code for how to approach this in PQL, that would be extremely helpful.