Important: You need to get in contact with our support to use this feature.

UserGuiding stores user history on browsers' local storage by default. We create random unique user ids and relate them with the corresponding user histories.

However, you can opt for the User Persisted Storage, a feature we provide within the Growth and Enterprise plans and, relate user history with the Ids you've generated for them.

Setting user_id

window.userGuidingUserId = __INSERT_USER_ID__

window.userGuidingUserId = '1Ax69i57j0j69i60l4'

  • We store user_id as a string, so you can use any data type that can be converted to a string. 
  • You can add the code above to any place in your Js file that suits you. Please don't add it to the container we've given you (See the example below).
  • If you already have active guides, they'll stop showing from the moment we activate the feature for you until you set user id correctly.
  • With this option, MAU calculation is based on user ids you've set. 
  • Since the storage is independent of the browser's local storage, so clearing cookies or application data won't affect UserGuiding history.
  • You can ensure your user see guides only once even on different browsers or devices with this option.

An example for the previously mentioned mistake:

Related Articles:

User Persisted Storage

Did this answer your question?