What if the identifier 'FS' is used by another script on my site?

In the FullStory Javascript snippet, you'll notice that we use the global identifier FS. If by chance another script on the page uses this identifier, they can conflict.

Fortunately, there's a simple solution. Within the recording script snippet, you'll see the following line:

window['_fs_namespace'] = 'FS';

Change 'FS' to 'FullStory' in your code and it will resolve the naming conflict.

Note that all FullStory APIs (e.g., FS.identify()) will become prefixed with FullStory instead of FS, but that should be the only difference.

Was this article helpful?


Can’t find what you’re looking for?

The FullStory team awaits your every question.

Contact Us