Skip to main content

Q about user & session merge in amplitude

we use the web amplitude gtm to report all events. Due to the incomplete data sent by web pixel, we are getting only ~95% of the events to amplitude. For finantial events like purchase/refund this is too much.

Therefore, we migrated only the purchase events to send from our back end side.

We do send amplitude session id, amplitude device id and also our User ID with every purchase event.

We would expect that amplitude will merge data like geo location, device type and utms from the session start and attach it to the purchase event. But its not happening

Amplitude treat the purchase events from back end very strange.

  1. It does assign the purchase events to the session (can be seen in the User Look-Up)
  2. it does not attach those events utm’s params, therefor all purchase events are considered as no utms - direct traffic
  3. SOME of those purchase events get geo location and device data and some not

Are we doing someting wrong? is this amplitude bug or its just the way amplitude behave ? :)

Best

Ronen

Thanks for posting here @ronenc We do have a feature called Transformations, however it is part of a paid add-on called Taxonomy that is available for Growth and Enterprise plan types. Transformations would allow you to merge two different event types into one event type. More information on Transformations can be found here: https://help.amplitude.com/hc/en-us/articles/115001477311#h_4feaaed8-0ae3-41d2-9ba6-9a99eb508faa 

Since that feature is not available for Starter or Scholarship plans, another option is to create a custom event. When you create a custom event, it allows you to combine multiple events into one custom event and see if users performed Event A OR Event B. This does not merge the underlying events, but rather creates a new event that you can use in your charts. Custom events do not count against your instrumentation limits.
More information on custom event can be found here:
https://help.amplitude.com/hc/en-us/articles/360041885332


Reply