Code File Library - Disabling the Code

“Turning off” the trigger code

Change the enabled flag to ‘false’ (This needs to be made to the foresee-trigger.js file only).

var $$FSR = {
 'timestamp': '__buildtimestamp__', 
 'version': '__version__',
 'build': '__buildnumber__', 
 'enabled': true,
 ...

“Turning off” SessionReplay

Change the sessionreplay flag to ‘false’ (This needs to be made to the foresee-trigger.js file only).

Note
This is always set as ‘enabled’ by default even if the SessionReplay product was not built into the code. This setting is not an indicator of whether SessionReplay has been included.

var $$FSR = {
 'timestamp': '__buildtimestamp__',
 'version': '__version__',
 'build': '__buildnumber__',
 'enabled': true,
 'frames': false,
 ...

Other articles in this section:

  1. Explanation of Files
  2. Code Switches
  3. Disabling the Code (current article)
  4. Alternate Directory Structures
  5. Separating Files by Type
  6. Separating Files by Environment
  7. Hosting the Code from a Third Party Domain
  8. Changing Survey Behavior
  9. Using Tag Managers
  10. Replay Sampling & Pooling
  11. Testing Outside Production
  12. Flash and DHTML
  13. Customer Passed Parameters (CPPs)
  14. Minimizing Cookie Size