Engage.getGuestId()
The asynchronous getGuestId() function returns the guest reference.
Log the guest reference to the console:
The asynchronous getGuestId() function returns the guest reference.
none
Log the guest reference to the console:
engage.getGuestId().then(guestId => { console.log(guestId); }); // "f7aabbca-1c1b-4fc2-be72-3e16294a4f03"