how would I extract the email domain and use that in a breakdown?
Hi Bradley A., 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
To extract the email domain and use it in a breakdown in Mixpanel, you can use the "Custom Buckets" feature. Here's how you can do it:1. First, add the email property as a breakdown in your Insights report. 2. Then, select the "Customize Buckets" option from the overflow menu of the email property. 3. In the custom buckets modal, you can define your segments based on the email domains you want to analyze.Here's an example of how you might set this up:1. Segment 1: Gmail users (is "gmail.com") 2. Segment 2: Outlook users (is "outlook.com" or "hotmail.com") 3. Segment 3: Company domain (is "yourcompany.com") 4. Segment 4: Others (remaining values)You can rename these segments to make them more meaningful for your analysis.This approach allows you to group existing properties (in this case, email domains) into meaningful segments on the fly, without having to create a separate property for email domains in your event tracking.For more detailed information on using Custom Buckets, you can refer to the Mixpanel documentation on Custom Buckets.Keep in mind that you're limited to a maximum of 10 uneven (varied) groups when using Custom Buckets.
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.