All Collections
UserGuiding Installation
Common questions
What does "userGuiding' is not defined error' mean?
What does "userGuiding' is not defined error' mean?

Learn more about the 'userGuiding' is not defined error.

Gabriel avatar
Written by Gabriel
Updated over a week ago

When you try to track custom attribute data, you may see the ‘userGuiding’ is not defined error in the console.

It is because the ‘userGuiding’ object is not defined in the window before the embed code finishes loading.

In such cases, you can set your function to ‘window.onUserGuidingLoad’ in order UserGuiding code to execute this function when the embed code is done loading.

Example:

If you like to learn more about executing your functions, check out this article.

 

Did this answer your question?