IN REVIEW

Create custom people properties

  • 10 March 2020
  • 3 replies
  • 137 views

Userlevel 2
Badge +1

I would like to create a custom people property based on event property.  For example, if I have a registration event with a timestamp property, I would like to create a people property based on the registration timestamp property. 

 


3 replies

Userlevel 5
Badge +4

@seanmccoy currently you can set custom user properties via your programming. For example, lets say I am capturing a a log-in event that is capturing a property called level 10  and I want to also set it as a user property with the same one. The code for this would look something like this 

 mixpanel.track("Log In", {
"$email": stephanie@email.com,
"Level": 10
});
mixpanel.people.set({
"Level": 10
});

This would set a user property on the user profile or update the existing profile. Additionally, you can use our Mixpanel API Module to update or set a user properties programatically. 

 

Let me know if this helps or if you were envisioning something different.

Userlevel 2
Badge +1

Hi @stephanie , I was hoping to do this from the MP Platform. Thank you

Userlevel 5
Badge +4

@seanmccoy gotcha, it sounds like you want to be able to target an event property in the UI → click on it → set logic for it to be added to certain existing users profiles as properties.

 

I have gone ahead and logged a product gap on your behalf for this! 

 

 

Reply