Mixpanel Community Icon
  • Avatar of Andrew S.
    Andrew S.
    ·
    ·

    You can get to it when doing a filter or a breakdown in an insight. Upper right corner of the property selection modal you can add a custom property.

  • Avatar of Andrew S.
    Andrew S.
    ·
    ·

    Once created you can access them in your lexicon

  • Avatar of Maggie
    Maggie
    ·
    ·

    thanks! Another question, I am trying to create a funnel report with two events. One event has a field called "amount" and the other has a field called "quantity" - they are equivalent. I want the funnel to hold this value constant Is there a way for me to update the field names so I can hold that property constant in the funnel? Or some other solution?

  • Avatar of Andrew S.
    Andrew S.
    ·
    ·

    Good question. I know you have to have the same property on all steps of the funnel. So “maybe”. Create a custom property on each event named the same thing. So custom property Z on event X (where it ==amount property) and a custom property Z on event Y (where it ==quantity property). Then see if you can hold Z constant.

  • Avatar of Christopher C.
    Christopher C.
    ·
    ·

    We do something similar but slightly lazier/hackier for this, where we have equivalent properties with different names on different events. We basically just create a single custom property that uses an IFS chain to check if eg A is defined, and if so to use A etc. Roughly looks like

    IFS(
      DEFINED(A), A, // We have A so we'll use the value of A as the value of the custom property
      DEFINED(B), B, // No A so we check if we have B, and if so we use that as the value of the custom property
      DEFINED(C), C, // As above, we fall back to checking is there is a property C and use that value
      TRUE, "" // This is the default case, so that any event without an A/B/C 
    )

    etc. I hadn't thought to try to to just create custom properties with the same name...