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: Individual 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"/]
Result
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"/]
Result
Option 3: Text link for the Cookie Preferences
Instead of a button you can also offer a text link to reload the cookie selection.
Shortcode
[borlabs-cookie type="btn-cookie-preference" title="Lorem Ipsum" element="link"/]
Result
Option 4: Custom text link for the Cookie Preferences
If you want to place a link in the footer navigation, for example, you can give the link the CSS class borlabs-cookie-preference.
HTML
<a href="#" class="borlabs-cookie-preference">Lorem ipsum</a>
Result
How 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.
Google Analytics Opt-out
As mentioned in How does the Opt-out work?, the opt-out cookie is unnecessary for Google Analytics. If you opt-out via Borlabs Cookie, the code is not loaded by Google Analytics, so no cookie is needed to tell Google Analytics not to track the visitor.
Matomo Opt-out
It is not necessary to include the opt-out iframe of Matomo. If Matomo is included via Borlabs Cookie, the code of Matomo will not be loaded in case of an opt-out. Therefore the opt-out function of Matomo is unnecessary and should not be included.
Matomo Cookieless
Even if it is possible to use Matomo without cookies, it is mandatory to give the visitor a possibility to refuse the tracking. Therefore, Matomo must be integrated via Borlabs Cookie and an opt-out possibility for Matomo must be provided by Borlabs Cookie.