Identify a visitor


Hi everyone,

I try to create a custom event that allow to check if this person exist in Hubspot DB. I've tested the "identify a visitor" code and it's work to change properties. But I want to define who exists in hubspot DB and who doesn't to continue the process. When i check in console.log email is null.
Anybody have an idea ?

Thank's in advance !


Hi @Louli.

The identify method is intended to identify an anonymous visitor (i.e. associate their hubspotutk cookie with a new/existing contact record). If you're trying to identify whether or not a contact record already exists for a given hubspotutk value, check out the following endpoint: