Overview of all shortcodes and their function for Borlabs Cookie

Overview of all shortcodes and their function for Borlabs Cookie

You are here:
Estimated reading time: 1 min

Allow cookie setting changes

To top

[borlabs_cookie] integrates the cookie selection box, with which your visitor can change his selection at any time. We recommend the privacy page.

The position can be determined by adding the align attribute. This can take the values left, left-float, center, right, right-float.

Beispiel:

[borlabs_cookie align="right-float"]

Display log of user actions

To top

[borlabs_cookie_log] integrates an overview for the visitor, which shows all his user actions. Here selected options and visits without selection are listed chronologically.

Display the user's UID

To top

[borlabs_cookie_uid] displays the visitor's UID. The UID allows you to track the history of the visitor's selected user actions in the database.

Enable opt-out for tracking

To top

Google Analytics

[borlabs_cookie_opt_out tracking="google-analytics"] gives visitors the opportunity to opt-out of Google Analytics
If you do not integrate Google Analytics through our integrated solution, you can use the opt-out feature of Borlabs Cookie by inserting your tracking ID in the shortcode or link:

[borlabs_cookie_opt_out tracking="google-analytics" id="yourTrackingID"]

Facebook Pixel

[borlabs_cookie_opt_out tracking="facebook-pixel"] gives the visitor the opportunity to opt-out of Facebook Pixel.

Block specific content

To top

Bind content to cookie selection Option 1: All Cookies (Third-party Cookies)

[borlabs_cookie_third_party] your content [/borlabs_cookie_third_party] Content is blocked unless the user has selected the first cookie option

Bind content to cookie selection Option 2: First-party cookies

[borlabs_cookie_first_party] your content [/borlabs_cookie_first_party] Content is blocked unless the user has selected the second cookie option. This code is also executed if the user has selected the first cookie option, provided the setting Execute code when first option is selected is active.

Block content and reload with a click of the user

[borlabs_cookie_blocked_content title="your title"] your content [/borlabs_cookie_blocked_content] Content is blocked, similar to the iframes function. This function is not bound to one of the selectable options of the cookie box - but this can be activated optionally if required (including all iframes).
An example can be found at the bottom of this page: Iframe-Demo Site

Block oEmbed content and reload with a click of the user

To block oEmbed content such as Facebook or Instagram posts, you must use the shortcode
[borlabs_cookie_blocked_oembed title="your title"] your URL [/borlabs_cookie_blocked_oembed].

Was this article helpful?
Dislike 0
Views: 217