how to create a custom property?
Hi Juan I., 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 create a custom property in Mixpanel, follow these steps: 1. Click the plus button to the right of the search bar, then select Event Property or User Property to open the property builder. 2. Optionally give your property a name and click into the formula bar to start defining it. If you're new to this feature, it's recommended to start with one of the examples. Click the Insert Example drop down to populate the box with a use-case specific custom property. 3. When writing your formula, click Ctrl + Space to see a list of all the available functions and their descriptions. Click period (.) to search for event or user profile properties to add to the formula. 4. Custom properties are local to the report by default, when you select Apply. To save the custom property permanently for use in other reports and to make it usable by other project members, click Save. It's recommended to Apply the custom property and use it in your local analysis first, before saving and sharing, to reduce clutter in the project. 5. When you create custom properties and select Save as Custom Property, your created custom property will be private by default. You can also add a description at this stage, so you and your colleagues can know what the custom property is for. You can also decide to save the custom property and share that custom property with specific colleagues, teams or the entire organization by clicking "Save and Share".Please note that the formula used to compose your custom property can't be longer than 20,000 characters.For more details, you can refer to the Mixpanel documentation.
kapa.ai is still learning and improving, please let me know how I did by reacting below.
⤵️ Hint: Mention @kapa.ai in the thread for follow-ups.
Let me check the knowledge base for you again. One moment! đź“š
I'm sorry, but the provided knowledge sources do not contain information on how to list all custom properties that you have created in the past in Mixpanel. I recommend checking Mixpanel's official documentation or reaching out to their support for further assistance.
kapa.ai is still learning and improving, please let me know how I did by reacting below.
⤵️ Hint: Mention @kapa.ai in the thread for follow-ups.
Let me check the knowledge base for you again. One moment! đź“š
To track when a property of a group is set, you can use Mixpanel's Group Analytics feature. This feature allows you to add details to groups by adding properties to them. In Mixpanel SDKs, you can use the getGroup().set()
or get_group().set
method to update or add a property to a group. This method can be chained with other commands that edit properties specific to the group. Here's an example of how to use it: For JavaScript: LBKSmixpanel.get_group(group_key, group_id).set({“property_name”: property_value})LBKS
For React Native: LBKSmixpanel.getGroup("group key", "group id").set("SET NAME", "SET VALUE");LBKS
For Flutter: LBKSmixpanel.getGroup("group key", "group id").set("SET NAME", "SET VALUE");LBKS
For Ruby: LBKStracker = Mixpanel::Tracker.new(YOUR_MIXPANEL_TOKEN) tracker.groups.set('Company', 'Acme', { '$name' => 'Acme, Inc.', 'plan' => 'Premium', 'Sign-Up Date' => DateTime.now })LBKS
For Swift: LBKSMixpanel.mainInstance().getGroup(groupKey: "Company", groupID: “Mixpanel”).set(property: "g", to: "yo")LBKS
For Java: LBKSMixpanelAPI mixpanel = new MixpanelAPI(); MessageBuilder messageBuilder = new MessageBuilder("[your project token]"); JSONObject groupProperties = new JSONObject(); groupProperties.put("$name", "Acme Incorporated"); groupProperties.put("Industry", "Manufacturing"); JSONObject message = messageBuilder.groupSet( "company", "Acme Inc.", groupProperties ); try { mixpanel.sendMessage(message); } catch(IOException e) { // exception handling logic }LBKS
For Objective-C: LBKS[[self.mixpanel getGroup:@​"Company", groupID:@​“Mixpanel”] set:@​{@​"h": @​"yo”}];LBKS
For Android: LBKSmMixpanel.getGroup("group key", "group id").set("SET NAME", "SET VALUE"); mMixpanel.getGroup("group key", "group id").setMap((new HashMap<> ()).put("SET MAP INT", 1));LBKS
Please note that these operations are similar to the corresponding operations for user profile property updates. For more details, please refer to the Mixpanel documentation for JavaScript, React Native, Flutter, Ruby, Swift, Java, Objective-C, and Android.
kapa.ai is still learning and improving, please let me know how I did by reacting below.
⤵️ Hint: Mention @kapa.ai in the thread for follow-ups.
Let me check the knowledge base for you again. One moment! đź“š
I'm sorry, but the provided knowledge sources do not contain specific information on how to generate a report in Mixpanel that reflects when a property of a group is set. However, Mixpanel offers several types of reports such as Insights, Funnels, Flows, Retention, and other advanced reports, each with their specialized use. Here are the general steps to create a report in Mixpanel: 1. Select the type of report you want to create (Insights, Funnels, Flows, Retention, etc.) 2. Define the metrics and behaviors you want to analyze. A metric is a measurement on a behavior. For example, "Unique Users" doing "Sign up" is a metric. 3. Choose the visualization for your report. You can change the type of visualization in the top right of the report creation interface. 4. Save the report to a board for easy access in the future.For more specific instructions, you may need to refer to Mixpanel's official documentation or reach out to their support for further assistance. Here are some useful links from the knowledge sources: - Reports Overview - Saving to a Board - Boards Overview - Using the events in Mixpanel - Experiments: Measure the impact of your A/B testing - Impact: Measure the effect of a launch on your KPIs - Funnels: Measure conversions through a series of events - Embeddable reports: Bringing Mixpanel to your favorite productivity tools
kapa.ai is still learning and improving, please let me know how I did by reacting below.
⤵️ Hint: Mention @kapa.ai in the thread for follow-ups.