Note, this does not change the visitor’s experience. The modal and chat functionality is the same for both verified and anonymous users.
How it works
Add this snippet before your Franko embed script:⚠️ IMPORTANT: Script Order MattersThat’s it! Franko will now associate feedback with this user.
Thewindow.FrankoUseridentity snippet must be executed before the main Franko embed script loads, otherwise user data will be missed.
Reliable Pattern: Place the identity information in the same script tag as your Franko loader to guarantee correct order:
What data is stored?
user_id- Your unique identifier for the useruser_metadata- Onlynameandemail(both optional)
Common patterns
Compatible with embedding methods
This identity pattern works with both Chat Bubbles and Custom Triggers. Not compatible with Shareable Links, but you can configure to ask for name and email on the “Connect” tab.What if the snippet is missing?
The User column shows “Anonymous” instead of the user details.FAQ
Need help? Email fletcher@franko.ai