Mixpanel Community Icon

My event properties are getting capitalised from react-native app

·
·

My event properties are getting capitalised from react-native app

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

    Hi Ritvik H., 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 provided knowledge sources, there isn't specific information about event properties being automatically capitalized when sent from a React Native app to Mixpanel. However, I can provide some relevant information and suggestions related to event and property naming in Mixpanel:1. Mixpanel is case-sensitive when it comes to event and property names. This means that "sign_up_completed" and "Sign_Up_Completed" would be treated as two separate events or properties. 2. Mixpanel recommends using a consistent naming convention for events and properties. They generally suggest using snake_case for event and property names.Mixpanel Documentation: Events states::LBKS"::warning:Mixpanel strings are case-sensitive; sign_up_completed and Sign_Up_Completed are considered two separate events."To address your issue:1. Check your React Native code to ensure you're not inadvertently capitalizing event properties before sending them to Mixpanel.2. Verify that the capitalization isn't happening in any middleware or data processing steps between your app and Mixpanel.3. Use Mixpanel's debugging tools to inspect the raw event data as it's received by Mixpanel. This can help you determine if the capitalization is occurring before or after the data reaches Mixpanel.Mixpanel Documentation: Debugging provides guidance on how to validate your event data.If you continue to experience issues, you may want to reach out to Mixpanel's support team for further assistance, as the provided knowledge sources don't contain specific information about automatic capitalization of event properties from React Native apps.

    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.