Expand my Community achievements bar.

SOLVED

last login on Experience Event

Avatar

Level 1

Hi I need to realize this use case on Experience Platform : "A registered user has purchased more than X Offers in the last Y days on the website. In his last session he booked 2 nights in a hotel in Rome."
I recorded the login event on the Experience Evente schema . How can I recover the last login? 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hey @carmen_18 

Hope you are doing well!

If you are tracking "login=true" flag and "hashed customer ID" in AEP, from web or app properties, you can run queries basis these dimension with date & time. And upon "logout=true" flag with "same hashed customer ID" must be set with date and time. These two flags must be mutually exclusive, while sending a beacon to AEP.

 

Let me know if I'm missing anything.

 

Thanks,

Kishore

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hey @carmen_18 

Hope you are doing well!

If you are tracking "login=true" flag and "hashed customer ID" in AEP, from web or app properties, you can run queries basis these dimension with date & time. And upon "logout=true" flag with "same hashed customer ID" must be set with date and time. These two flags must be mutually exclusive, while sending a beacon to AEP.

 

Let me know if I'm missing anything.

 

Thanks,

Kishore