Mixpanel Community Icon

Can Mixpanel Value Parameters Include a Dictionary?

·
·

Given that a mixpanel Value contains multiple parameters, that can be int, string, or list. Can the parameter be a dictionary?

  • Avatar of kapa.ai
    kapa.ai
    APP
    ·
    ·

    Hi Howard 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

  • Avatar of kapa.ai
    kapa.ai
    APP
    ·
    ·

    Based on the knowledge sources provided, Mixpanel supports various data types for properties, including objects (which are essentially dictionaries in many programming languages). However, there are some limitations to consider.According to the Supported Properties Data Type documentation, Mixpanel supports objects in a limited capacity: - Objects are described as "Arbitrarily-nested groups of JSON key-value pairs" - There are limits on object properties: Event Property = 8KB, User Profile Property = 256KB - Objects can have a maximum of 255 keys per nested object with a max nesting depth of 3 - Objects are mainly supported in core reports (Insights, Funnels, Flows, Retention, Users / Cohorts, Events) as filters and breakdownsIt's important to note that while objects (dictionaries) are supported, Mixpanel recommends using the five non-object data types (String, Numeric, Boolean, Date, and List) for most use cases, as these are fully supported in the UI.Additionally, Mixpanel supports a "List of Objects" property type, which is described as "A JSON array of 1 level JSON objects with each object having similar sets of key-value pairs" in the List of Objects Property Support documentation.In conclusion, yes, a Mixpanel Value can contain a parameter that is a dictionary (object), but it's recommended to use simpler data types when possible for better support and analysis capabilities within Mixpanel's UI.

    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.

  • Avatar of Howard A.
    Howard A.
    ·
    ·

    kapa.ai what version was this support added? Currently I cannot Add a dictionary as a parameter

  • Avatar of kapa.ai
    kapa.ai
    APP
    ·
    ·

    Let me check the knowledge base for you again. One moment! đź“š

  • Avatar of kapa.ai
    kapa.ai
    APP
    ·
    ·

    I apologize, but I don't have specific information about when dictionary support was added to Mixpanel or about your current inability to add a dictionary as a parameter. The knowledge sources provided don't contain version history or recent changes regarding dictionary support in Mixpanel.If you're experiencing issues adding a dictionary as a parameter, it could be due to various factors such as the SDK version you're using, the specific implementation, or potential limitations in your current setup. Without more context about your specific implementation and the exact error you're encountering, it's difficult to provide a precise answer.To get the most accurate and up-to-date information about your specific issue, I would recommend: 1. Checking the documentation for the specific Mixpanel SDK you're using, as implementation details can vary across different programming languages and platforms.2. Reviewing any recent changelogs or release notes for your Mixpanel SDK version.3. Contacting Mixpanel's support team directly. They would have the most current information about feature support and can assist with any implementation issues you're facing.If you can provide more details about your implementation, the SDK version you're using, and the exact error or behavior you're seeing, it might be possible to offer more specific guidance.

    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.

  • Avatar of Howard A.
    Howard A.
    ·
    ·

    kapa.ai What is the latest SDK version?

  • Avatar of kapa.ai
    kapa.ai
    APP
    ·
    ·

    Let me check the knowledge base for you again. One moment! đź“š

  • Avatar of kapa.ai
    kapa.ai
    APP
    ·
    ·

    To answer your question about the latest SDK version, I'll need to provide information for multiple SDKs as Mixpanel offers SDKs for various platforms. Based on the knowledge sources provided, here are the links to the release histories for different Mixpanel SDKs: 1. Android: See All Releases 2. React Native: See All Releases 3. PHP: See all releases 4. Python: See all releases 5. iOS (Objective-C): See All Releases 6. Unity: See all releases 7. Flutter: See all releases 8. Ruby: See all releases 9. Java: See all releases 10. iOS (Swift): See All Releases 11. Node.js: See all releases 12. Go: See all releases 13. JavaScript: See All ReleasesTo find the latest version for each SDK, you would need to visit these links and check the most recent release. The knowledge sources provided don't contain the specific version numbers, so I can't provide the exact latest versions here.For Flutter, there's an additional piece of information from the installation instructions: LBKSAdd `mixpanel_flutter: ^2.0.0` to your package's pubspec.yaml fileLBKSThis suggests that version 2.0.0 or higher is available for the Flutter SDK, but it may not be the absolute latest version.To get the most up-to-date information on the latest SDK versions, I recommend checking these GitHub release pages directly.

    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.