• Varify - Consent Mode (beta)

    Table of contents

    In short

    With Varify Consent Mode, you have full control over when the permanent assignment of variants via Local Storage and the Varify tracking events are sent to your web analytics tool.

    Use of the Consent Mode

    To activate the Consent Mode, you must first switch to the 'Tracking Setup'. Then add the following URL parameter to the website URL: ?varify-feature=wait-for-consent.

    You will then see the 'Consent Mode (beta)' option below the selection for the 'AB-Testing Setup'. As soon as you activate this function, the local storage is set and the Varify tracking events are only sent with consent.

    How the Varify Consent Mode works

    Regardless of whether consent mode is activated, a variant is played when the experiment is active.

    If Consent Mode is deactivated, an entry is set in Local Storage to ensure that the user is always shown the same variant. In addition, if tracking is activated, a varify event is sent that contains information about the active experiment and the active variant as parameters.

    If Consent Mode is activated, no data is initially saved in Local Storage and no tracking event is sent. Only when consent has been granted is data written to the local storage and the Varify tracking event sent.

    If consent is withdrawn again, no further tracking events are sent and the local storage is no longer written to.

    How to give consent

    				
    					window.varify.setConsent(true);
    				
    			

    How to withdraw consent

    				
    					window.varify.setConsent(false);
    				
    			
  • First steps