libraries/tracking-core/helpers/optOut.js
function setOptOut(optOutParam) {
  window[disableStr] = optOutParam;
  setCookie(optOutParam);
  setLocalStorage(optOutParam);

  return optOutParam;
}
function setOptOut(optOutParam) {
  window[disableStr] = optOutParam;
  setCookie(optOutParam);
  setLocalStorage(optOutParam);

  return optOutParam;
}
function setOptOut ( optOutParam ) { window [ disableStr ] = optOutParam ; setCookie ( optOutParam ) ; setLocalStorage ( optOutParam ) ; return optOutParam ; }
Set global + storages
@param {boolean} optOutParam If false -> revert the opt out (enable tracking)
@private
@returns {boolean} optOut State which was set
Set global + storages