How can i write a custom filter in tab “Insight" to show abandoned cart (carts not updated for about X hours)

Vote:
 

I have been used Episerver Insight to tracking all event of cart and now i want to show abandoned cart (carts not updated for about X hours) in insight tab

How can i write a custom filter in tab “Insight" to show abandoned cart (carts not updated for about X hours)?

Can anybody give me solution?

Regards,

Thang Le

#226415
Aug 12, 2020 8:44
Vote:
 

Hello Thang

To do this you need to define a custom filter definition using KQL. Then execute it to find the profiles of people with carts that haven't been updated since a given date/time. More information about custom segments can be found below.

Define the filter: 

https://dmytroduk.com/techblog/a-sneak-peek-of-segmenting-based-on-historical-data-in-episerver-insight/

https://world.episerver.com/documentation/developer-guides/profile-store/profile-store-api/KQL/

Execute to get the data: 

https://world.episerver.com/documentation/developer-guides/profile-store/profile-store-api/segments/#execute

David

#226419
Aug 12, 2020 10:36
Vote:
 

Hi David,

Thanks for your support!

Regards,

Thang Le

#226453
Aug 13, 2020 10:58
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.