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.


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


Did this answer your question?