I have created an event with an event property called “Project UUID”. I now want to make this property more generic. What happens if I change this property in my code by replacing it with “Entity UUID”. From what I understand, old events will style have the “Project UUID” property and the “Entity UUID” property will apply only to new events. What is the consequence when I want to query the event in a dashboard ? Can I merge the old version of the property with the new one ?
Hi Jalil K., 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
You're correct: if you change the property name in your code from “Project UUID” to “Entity UUID”, historical events will still have the “Project UUID” property, and only new events will have “Entity UUID”. This means that, by default, when you query your event in Mixpanel, you would see two separate properties—one for old data and one for new data.However, Mixpanel provides a solution for this scenario. In the Lexicon data governance tool, you can merge properties. By merging “Project UUID” and “Entity UUID” into a single property, Mixpanel will treat both as the same property in your reports and dashboards. This does not affect the raw data, but it allows you to analyze your event seamlessly across both old and new property names without having to select both properties manually each time.To merge properties in Lexicon: 1. Select the properties you want to merge. 2. Click the Merge icon. 3. In the “Merge Properties” window, specify which property name Mixpanel should recognize as the merged property. 4. Click Merge.If needed, you can also unmerge them later. Note that this feature is for event properties; user profile properties cannot be merged at this time Mixpanel Lexicon: Merging Data.So, after merging, your dashboards and queries can reference the merged property, and Mixpanel will include both “Project UUID” and “Entity UUID” values in your analysis.
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.