Engage.getGuestId()
The asynchronous getGuestId() function returns the guest reference.
sidebar. Parameters
none
Log the guest reference to the console:
If you have suggestions for improving this article, let us know!
The asynchronous getGuestId() function returns the guest reference.
sidebar. Parameters
none
Log the guest reference to the console:
engage.getGuestId().then(guestId => {
console.log(guestId);
});
// "f7aabbca-1c1b-4fc2-be72-3e16294a4f03"