Solved

Transferring properties from Event to User

  • 21 December 2022
  • 1 reply
  • 24 views

Badge

We have several event properties that are being passed through to Heap but some of them are specific to the users related to that event and we’d like to use them to segment our users. Is there a way to correctly assign these properties to the user instead of the event?

icon

Best answer by Jonas-Heap 22 December 2022, 20:24

View original

1 reply

Userlevel 3
Badge +2

Hi Sarah, welcome to the Heap community!

Once an event property or user property is added, there isn’t a way to change the type of property. My general recommendation would be to adapt your API calls to include an addUserProperties call to add that value as a user property as well.

One alternative that may work, depending on the data you’ve sent in already, would be to define an event with property equal to ExamplePropertyValue, then define a segment of users who have done that event. In other words, if the example event is a Pageview with Path = /example, you could define a more specific event where Path = “/example” and event property ExampleProperty = “some value”. Then you can define a segment of Users who have done that defined event.

I hope that helps!

Reply