Trigger Userpilot content on public pages that don’t require logins
userpilot.anonymous()
function. This method allows Userpilot to automatically generate a unique user ID, enabling the display of targeted content without requiring any user-specific data.
<head>
section of your webpage:
"appToken"
with your actual Userpilot application token.
userpilot.anonymous()
function:
userpilot.identify()
or userpilot.anonymous()
, ensuring they are recognized as unique users within the specified period.userpilot.anonymous()
function, you can effectively engage with anonymous users, providing them with tailored content and enhancing their overall experience on your platform.