Borlabs Cookie comes with an Opt-out solution for your visitors. We provide you with two solutions: single switch buttons for each service or a button that opens the entire cookie preference.
Option 1: Single Switch Buttons
You can embed individual switch buttons for the services you use on your website with a shortcode.
The shortcode displays a switch button that gives your visitor an easy way to give or revoke consent to a Cookie.
For the id attribute, the ID of the Cookie for which the Opt-in / Opt-out is to be offered must be specified.
The title attribute is optional, by default the name of the Cookie is used.
Shortcode
[borlabs-cookie type="btn-switch-consent" id="google-analytics" title="Google Analytics"/]
Ergebnis
Option 2: Button for the Cookie Preferences
You can also embed a button on your website that opens the visitor's cookie preference.
The shortcode shows a button that the visitor can use to open the cookie selection to change their consent. You can use the title attribute to specify the name of the button.
Shortcode
[borlabs-cookie type="btn-cookie-preference" title="Lorem ipsum"/]
Ergebnis
Lorem ipsumHow does the Opt-out work?
Borlabs Cookie does not delete cookies that have already been set, but removes the entire JavaScript and thus prevents tracking systems such as Google Analytics from being integrated.
An Opt-out for Google Analytics, therefore, does not set an extra Do-Not-Track cookie. Instead, the service is simply no longer integrated.
After the Opt-out the Javascript will be removed at the next page view because the user has already been tracked for the current page view. With the option "Reload after consent", you can ensure that the visitor's browser automatically reloads and the Opt-out is directly active.