Mixpanel Community Icon

Creating Custom Event Property by Merging Two Attributes

·
·

How can I create a 'Custom Event Property' by merging two attributes? The concat function seems to be unavailable. How can I achieve this without using concat? I need to create a custom event property that combines two attributes as follows: concat (properties["tradie_account_id"] + "" + properties["JobId"])

  • Avatar of Andrew S.
    Andrew S.
    ·
    ·
  • Avatar of Andrew S.
    Andrew S.
    ·
    ·
    @"""{"label":"Country","propertyDefaultType":"string","resourceType":"event","type":"string","value":"mp_country_code"}"""@+" "+@"""{"label":"City","propertyDefaultType":"string","resourceType":"event","type":"string","value":"$city"}"""@
  • Avatar of Andrew S.
    Andrew S.
    ·
    ·

    drop the concat and properties part. just call the properties (. in the custom property box) and use + in between, and if you want a string outside of the properties, put it in quotes.

  • Avatar of Andrew S.
    Andrew S.
    ·
    ·
  • Avatar of Andrew S.
    Andrew S.
    ·
    ·
  • Avatar of Andrew S.
    Andrew S.
    ·
    ·
  • Avatar of Nadeesha E.
    Nadeesha E.
    ·
    ·

    this is helpful

  • Avatar of Nadeesha E.
    Nadeesha E.
    ·
    ·

    thanks