@StefanPopescu , it seems like the survey is probably loading before you are identifying the visitor. Do you agree with that? Possible to identify the visitor and then reload the tracking code? In the tracking code api overview HubSpot lists an example for tracking in single-page apps. It's not for your specific use case but it does seem relevant. You may be doing this already but are you loading the tracking code after you're identifying the visitor ... and with the async/defer parameters?
@StefanPopescu , it seems like the survey is probably loading before you are identifying the visitor. Do you agree with that? Possible to identify the visitor and then reload the tracking code? In the tracking code api overview HubSpot lists an example for tracking in single-page apps. It's not for your specific use case but it does seem relevant. You may be doing this already but are you loading the tracking code after you're identifying the visitor ... and with the async/defer parameters?
We've created a Feedback survey in the Service hub, not a conversation.
The survey is a simple CSAT as per the options hubspot provides (so no HubL involved at all).
The problem is basically that the customer never meets a hubspot-generated form on the client anywhere on the way, so the Hubspot cookie contains no identification of the visitor to my platform.
Unfortunately I cannot provide access to my platform, however what we are trying to accomplish is that when the page loads and the feedback survey js is loading - it will already have the visitor's identity so that when I set "Audience" rules they can actually apply based on the single visitor to the page.
We've so far attempted 2 methods to passing on this identification to the form:
1. Conversation API identification.
2. Tracking API identification (by creating a custom event upon registration and passing the contact id ('vid') on the identification of the event.
Is there a way to set the customer's identity on the Hubspot Cookie without the customer filling out a hubspot-generated form?
I'm also tagging @StefanPopescu our developer who can work with you and provide code samples.
@DB1434 , let me start by saying I don't know, but I'd like to help out. Are you using Feeback Surveys or Conversations to build this survey? I'm guessing HubL isn't an option here... {{ contact.email }}? Could you share a link to the page?