what's the best way to bulk add tags? Should I download the CSV and edit and re-upload, or some other way?
Hi Mark N., 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
Based on the knowledge sources provided, I can see information about tags in the context of Lexicon (Mixpanel's data dictionary), but the best approach for bulk adding tags depends on what you're trying to tag.
For Lexicon Events and Properties
If you want to bulk add tags to events and properties in Lexicon, the CSV export/import method is indeed a good approach: 1. Export your Lexicon data - Project owners, admins, analysts, and consumers can export Lexicon data to receive a CSV file via email 2. Edit the CSV - Add your tags to the appropriate columns 3. Import back into Lexicon - Project owners and admins can import the modified CSV back into LexiconAccording to the documentation, when you import the CSV, event and property descriptions and metadata that are already in Lexicon will be overwritten by descriptions and metadata for matching event and property names.
Alternative: Lexicon Schemas API
For a more programmatic approach, you can use the Lexicon Schemas API. The API allows you to upload schemas in bulk that include tags in the metadata. The schema structure supports a tags array in the metadata.com.mixpanel section, which you can use to associate tags to entities for filtering in the Mixpanel UI.The CSV method is likely simpler if you're comfortable working with spreadsheets, while the API approach is better for automation or integration with your existing workflows.
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.
