Trigger an Experience Anonymously
Sometimes, it is helpful to trigger experience on pages where users are logged out on a public website and during anonymous usage in your web app.
For such pages, the userpilot.identify() function is useless as your web app or site would have no way to send Userpilot any user data.
How to Trigger an Experience Anonymously
Just simply replace the userpilot.identify() function with the userpilot.anonymous() function as shown below.
<script src = "<a href="https://deploy.userpilot.io/8ps90j10.js%22%3E%3C/script">https://deploy.userpilot.io/8ps90j10.js"></script</a>><br><script><br> userpilot.anonymous();<br></script>
This will trigger the Experience anonymously without the need to pass any user data.