If I already sent an "encounter_error" event with a "type" property and want to change the property name to "error_type", what should I do?
Hi Sharon L., 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
If you've already sent an "encounter_error" event with a "type" property and want to change the property name to "error_type", you have a few options in Mixpanel:
Use Lexicon to Merge Properties
The easiest way is to use Mixpanel's Lexicon feature to merge the properties: 1. Navigate to Lexicon in your Mixpanel project 2. Select the "type" property you want to rename 3. Click the "Merge" icon 4. In the "Merge Properties" window, specify "error_type" as the new property name 5. Click "Merge"This will combine both properties into a single property without affecting your raw data. The "Status" column will indicate "Merged" for the property.Lexicon: Describe your events and data using a dictionary
For User Profile Properties
If this is a user profile property (rather than an event property), you can use the Mixpanel Utils Python module: LBKSmputils.people_change_property_name('type', 'error_type')LBKS
Mixpanel-utils Module
Best Practice for Future Implementation
For future implementations, it's recommended to follow a consistent naming convention for your events and properties. Mixpanel recommends: - Using snake_case for event and property names - Following an (Object) (Verb) format for event names - Avoiding dynamically created event or property namesThis helps maintain consistency and makes analysis easier in the long run.Events: Capture behaviors and actionsIf you need to undo the merge at any point, you can select the merged property and click "Unmerge" to revert to the original distinct 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! 📚
I understand you're having trouble finding the merge icon in Lexicon. According to the knowledge sources, only project owners can access the merge functionality in Lexicon. If you don't see the merge icon, it's likely because you don't have the necessary permissions.From the documentation: > In Lexicon, only project owners can merge events and event properties.Lexicon: Describe your events and data using a dictionaryTo merge properties, you need to: 1. First select multiple properties to merge (you need to select at least two properties) 2. Once selected, the "Merge" icon should appear for project owners 3. Click Merge to open the "Merge Properties" window 4. Specify which property name should be used as the merged property 5. Click Merge to complete the processIf you're a project owner and still don't see the merge option, you might want to: 1. Make sure you've selected multiple properties (the merge option only appears when multiple items are selected) 2. Check if your Mixpanel plan supports this feature 3. Contact Mixpanel support for further assistanceWould you like me to suggest alternative approaches to handle your property renaming need?I'm sorry, but the knowledge sources don't provide more specific information about troubleshooting the merge icon visibility issue.
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.