Custom JavaScript events contact

AndPat
Participant

Hi,

 

I am new to custom events and I am trying to figure out how the event is associated to the correct HubSpot contact in for JavaScript events.

 

In the case of API events, we can select which property to match on.

 

Can someone help me understand the mechanism?

 

Many Thanks!

0 Upvotes
1 Accepted solution
evaldas
Solution
Recognized Expert | Platinum Partner
Recognized Expert | Platinum Partner

Hi @AndPat,

 

In short, the JavaScript option works in tandem with the HubSpot tracking code, where it can identify user only when they convert (i.e. form submission) or if it's a returning user with an existing cookie. 

 

If the user never converts, the custom event should still get recorded but won't be associated to any contacts and will likely be shown as "Unknown User" in the custom event analytics.

 

Hope this helps!

✔️ Did this post help answer your query? Help the community by marking it as a solution.

View solution in original post

1 Reply 1
evaldas
Solution
Recognized Expert | Platinum Partner
Recognized Expert | Platinum Partner

Hi @AndPat,

 

In short, the JavaScript option works in tandem with the HubSpot tracking code, where it can identify user only when they convert (i.e. form submission) or if it's a returning user with an existing cookie. 

 

If the user never converts, the custom event should still get recorded but won't be associated to any contacts and will likely be shown as "Unknown User" in the custom event analytics.

 

Hope this helps!

✔️ Did this post help answer your query? Help the community by marking it as a solution.