Solved

Is there a way to combine sessions for a user?

  • 22 February 2023
  • 1 reply
  • 42 views

Background Information:

Our current customer journey starts by a customer filling out a form where they choose studio location, adding email and sometimes choosing a preselected product. Once they submit this form, they are redirected to start a survey. This survey is hosted in typeform, meaning the user is redirected out of our website, once they complete the survey, they are redirected back to the site where they will finish purchasing the product.

This journey results in a user having two sessions. Are there ways to identify that both sessions are for the same user? is there a way to indicate that both sessions are actually the same purchase session?

icon

Best answer by DJ East 23 February 2023, 23:06

View original

1 reply

Userlevel 1
Badge +1

Hi Armando this is definitely possible using the Heap Identify feature, even across multiple top-level domains (domainA->domainB->domainA) like it sounds like you are dealing with here. In short, calling heap.identify with an unique identity (you could use an email address, or a hashed value of same) it will tell Heap to use that value to ID the user, and wherever Heap sees that value, will combine sessions together into a single user record. Hope this helps, more details here!

https://developers.heap.io/docs/using-identify

Reply