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 = "https://js.userpilot.io/App Token/latest.js"></script> <script>userpilot.anonymous();<br></script>
This will trigger the Experience anonymously without the need to pass any user data.