How to identify a contact in the chat?

Isaac ( @IsaacTakushi ),

A couple questions on this:

1. We are already doing this for tracking:

_hsq.push([ 'identify', { firstName, lastName, email, role, // hopefully, this works... company: tenant}]);

What is the relationship between this an the call to setting up Chat?

2. Is the only way to get the identificationToken via a seperate API call? Can it be combined with the tracking identify shown above?

3. Unfortunately, our appliacation is not a SPA. So lots of requests. I would prefer not to add an API call on every page request. I assume the only way to manage this is to add another cookie on our end to track when we get the identification token and then if has been more than 12 hours get a new one?

4. Is there a way to get an identification token without creating a contact? I dont’ want to create a contact unless they actually start a chat.

Thanks,
~Shea M