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...
};