-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FullStory is not loaded, please ensure the init function is invoked before calling FullStory API functions #70
Comments
Hi @gaelbonjour thanks for reaching out to us. If an ad blocker blocks Calling Could you please verify that you're always calling API functions after the |
We rely on Segment to load all the analytics and tracking tools, including Fullstory. However, if for some reason, fs.js or segment are blocked, it should not throw if fs is not ready when calling the various api. Alternatively, I should be able to know if Fullstory is ready so I can skip the calls to the APIs. |
Hi, I'd like to track down exactly where you're seeing the exceptions and what kind of exceptions they are so that I'm sure to address your problem instead of assuming that I understand. Could you provide a quick snippet from your code where the exception is thrown and information from the JS console about which exception type it is? With that I can nail down what's happening and figure out a solution. |
I know it's been some time since this was opened, but it still is an issue even in version
|
Hi,
It happens some of our users use a tracker blocker, that blocks, Segment or Fullstory or both.
Calling various api such as setUserVars should NOT throw an exception if FS si not initialized.
Current work arround : wrap every call to Fullstory API in try catch. If feels overkill for such a case
Expected behavior : Fullstory MAY warn in console, but since there is nothing more to be done to get fullstory to work if fs.js has been blocked.
Alternative behavior : Fullstory API could provide a "isInitialized" member, indicating wheather it is safe to call any other api functions.
The text was updated successfully, but these errors were encountered: