is there a way to add these two properties to user profiles?
First Order Date
Last Order Date
Hi Elena M., Please stand by as I search the Mixpanel knowledge base for an AI-powered answer. I normally take about 15 seconds or so. In case AI cannot answer your question, feel free to reach out to Mixpanel support at mixpanel.com/get-support. If you have follow-up questions for this thread, please tag me again with your question: @kapa.ai <follow-up question> đź‘‹
Feel free to ask a follow-up question once I've answered by mentioning me with @kapa.ai
Yes, you can add custom properties such as "First Order Date" and "Last Order Date" to user profiles in Mixpanel. User profiles are flexible and allow you to set arbitrary properties, including dates, to describe your users. You can set these properties using the appropriate SDK for your platform (e.g., JavaScript, iOS, Android, etc.) by calling the method to set user profile properties after identifying the user.For example, using the JavaScript SDK: LBKSmixpanel.identify('USER_DISTINCT_ID'); mixpanel.people.set({ "First Order Date": "2024-06-01T12:00:00Z", "Last Order Date": "2024-06-15T15:30:00Z" });LBKS
If you want to ensure that "First Order Date" is only set once (i.e., it should not be overwritten if it already exists), you can use the equivalent of the $set_once
operation, which is available in the Mixpanel API and SDKs. This is useful for properties like "First Order Date" that should not change after being set for the first time Set Property Once.Mixpanel user profiles can contain up to 2000 properties, and you can use any property name you like, as long as it does not conflict with reserved property names User Profile FAQ.In summary, both "First Order Date" and "Last Order Date" can be added as custom user profile properties in Mixpanel using the standard methods for setting user properties.
kapa.ai is still learning and improving, please let me know how I did by reacting below.
ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
Let me check the knowledge base for you again. One moment! 📚
Yes, you can add properties like "First Order Date" and "Last Order Date" directly to user profiles via the Mixpanel UI. To do this, go to the Users page, click on Add/Edit Profile, and follow the workflow to either create or update a single profile. After setting the required $distinct_id
, you can add additional properties (such as your custom date fields) by pressing the "+ Add Property" button. You can enter any property name and value, including custom date properties like "First Order Date" and "Last Order Date"Â Importing Profiles via the UI.This method allows you to manually set or update these properties for individual user profiles directly from the UI.
kapa.ai is still learning and improving, please let me know how I did by reacting below.
ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.