Trigger a Flow Anonymously

Use case

Sometimes, it is helpful to trigger flow 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 a Flow Anonymously

Just simply replace the userpilot.identify() function with the userpilot.anonymous() function as shown below.

<script> window.userpilotSettings = {token: "appToken"}; </script>
<script src = ""></script>
<script> userpilot.anonymous(); </script>

This will trigger the Flow anonymously without the need to pass any user data.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.