Creating segment in AEP based on Page View | Community
Skip to main content
selvendranr9588
Level 2
June 2, 2020
Solved

Creating segment in AEP based on Page View

  • June 2, 2020
  • 2 replies
  • 2967 views

Hi Team,

Expecting your help on the below use case which I am trying to solve in AEP.

 

Use case: If a user visits the product for more than 1 times, send a email to the customer using Adobe Campaign.

 

Solution: The solution which I am thinking is ingesting the profile and product interaction data to AEP via Launch Tag. Then create a segment and send those segments to Campaign.

 

Problem:

I was able to ingest the data to AEP and while creating segment I am not able to create a segment where a product view has been occurred more than 1 time. Please let me know how to create a segment to filter the profiles where a particular product has been viewed more than once. 

Tried something below but it is now working and the product view is always 1 and not solving my problem

Event:

"Include audience who have at least 1 Any event where (Value is greater than 5)"

Code :

"select _Any1 from xEvent where _Any1.commerce.productViews.value > 5.0"

 

 

 

Please refer the JSON (https://jsoneditoronline.org/#left=cloud.d78fce9b4fb34683976c8df3ffbcdc44&right=local.tofuba) taken from the profile which shows the data that is getting ingested.

 

 

 

 

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 kartheek_a

Hi @selvendranr9588 ,

 

Please try sending commerce.productViews.value as double instead of integer.

 

Regards,
Kartheek

2 replies

kartheek_aAccepted solution
Level 2
June 12, 2020

Hi @selvendranr9588 ,

 

Please try sending commerce.productViews.value as double instead of integer.

 

Regards,
Kartheek

jantzen_b
Adobe Employee
Adobe Employee
January 5, 2021
Do any of the answers below answer your initial question? If so, can you select one of them as the correct answer? If none of the answers already provided answer your question, can you provide additional information to better help the community solve your question?