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.

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 : "john@example.com",
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 : "john@example.com",
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?