Trigger an Experience Anonymously

Sometimes, it is helpful to trigger experience on pages where users are logged out.

For such pages, the userpilot.identify() function is useless as your app or site would have no way to send Userpilot any user data.

In this situation, just simply replace the userpilot.identify() function with the userpilot.anonymous() function as shown below.

<script src = "https://deploy.userpilot.io/8ps90j10.js"></script>
<script>
  userpilot.anonymous();
</script>

This will trigger the Experience 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.