Skip to main content
All CollectionsSite Tracking
Identify Methods in Emercury
Identify Methods in Emercury

Identify methods in Emercury

Michael Batalha avatar
Written by Michael Batalha
Updated over a week ago

Please note: This method is for developers. If you're not well versed into how you can dynamically insert JavaScript code per session with known values, this method will not work for you. You can refer back to the general page about identification to see the non-developer options.

The values are placeholders. You would need to replace "John Doe" with the actual name. As well as the email and (optionally) the user ID.

emer("event", "auth", {
identity : {
user_id : "12345",
email : "[email protected]",
first_name : "John",
last_name : "Doe"
}
});

This identify code goes at the end of the tracking code. Right before the last 2 lines. So that the end of the tracking code would look like this when John Doe lands.

emer("event", "auth", {
identity : {
user_id : "12345",
email : "[email protected]",
first_name : "John",
last_name : "Doe"
}
});
</script>
<!-- Emercury.net Tracking Code End -->

And again, you would need to dynamically populate those values with the values you want to send to Emercury as an identify call.

Did this answer your question?