Hello, I would like to build segments based on customers’ first purchase date range, e.g. a segment whose first purchase dates are within January 2022. Couldn’t find the first purchase date in the property list. Any way to achieve it? Thanks in advance :-)
Segment by First Purchase Date
Hi there
Welcome to the Community! Thanks for asking your question regarding segments here and hope I can help.
To begin collecting first purchase dates from new customers, you'll need to set up a Flow to apply this property. The flow setup will look like this:
Trigger: Placed Order
Conditional Split: What someone has done > placed order > equals > 1 > over all time
Update Profile Property: Create Profile Property > First purchase Date > Select date data type > check Use current date when this step is reached
There is unfortunately no way to retroactively update every person's first purchase date, but there is a workaround if you were able to export your customer's first order history from within your ecommerce backend. This would allow you to apply this first purchase date as a custom profile property.
Hope this helped,
Alex
![Anniversary - 2 years Badge](https://uploads-us-west-2.insided.com/klaviyo-en/attachment/9c1854d8-7db8-4ea0-95f4-085af72d8496_thumb.png)
Wow! Amazing! Thanks a lot for your help. Will definitely try it out :-D
Glad I could help
![Academy Student - 1 Badge](https://uploads-us-west-2.insided.com/klaviyo-en/attachment/b8dc3931-d263-4af8-a078-1d93afd10378_thumb.png)
Hello
I hope you’re well.
We tried to do your tutorial to set the date of the first purchase.
We checked and it doesn't work for us.
I put you the screenshots below the different flows
![](https://uploads-us-west-2.insided.com/klaviyo-en/attachment/7d45e3fa-36a6-4d05-93f9-e74aabc13521.png)
![](https://uploads-us-west-2.insided.com/klaviyo-en/attachment/0296c0bd-0784-4dcb-982b-7d2d9a3f447d.png)
can you help us ?
have a good day !
Hi there
Thanks for reaching out. I’d be glad to assist. Where do you seem to be running into issues? I believe that you have set things up properly so are you seeing contacts not have a property changed or is there something else?
Looking forward to your response,
Alex
![Academy Student - 1 Badge](https://uploads-us-west-2.insided.com/klaviyo-en/attachment/b8dc3931-d263-4af8-a078-1d93afd10378_thumb.png)
Thanks for your answer
The contacts are not updated with the purchase date.
I'm not sure where the problem comes from...
Can you redo the 2nd flow of your tuto but with more screen.
If there is a problem, it comes from here.
Thanks for your help Alex !
Hi there
Apologies. Thank you for bringing something back in mind for myself. Upon reviewing, it appears that you are correct that this would not update and that this method may not be sustainable in the long term! This is due to how back population works in Klaviyo in relation to dates such as 365 days. I've since edited my response to reflect this.
Thank you,
Alex
Reply
Log in to the Community
Use your Klaviyo credentials
Log in with Klaviyo
Use your Klaviyo credentials
Log in with KlaviyoEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.