Skip to main content
Version: v1

Callbacks and Delegates

Place your code inside the _fs_ready callback to ensure it gets executed after the FullStory client API is fully initialized and ready to capture data.

Additional Information

window['_fs_ready'] = function() {};

Example Invocation

window['_fs_ready'] = function() {
var sessionUrl = FS.getCurrentSessionURL();
// Do stuff with session URL...
};