Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Enabling/Disabling Cookies not possible?

$
0
0

Replies: 0

Hi,

is there a way to disable the tracking until a cookie consent is given by the user?

In the settings there are currently no options for that or for editing the script tag like the documentation of etracker says here

https://www.etracker.com/support/etracker-cookies-blockieren/?chapter=etracker-cookies-blockieren

data-block-cookies="true"

For example:
A plugin like cookie-notice would allow me to define:

if ( function_exists('cn_cookies_accepted') && cn_cookies_accepted() ) {
    _etracker.enableCookies('mydomain.com');
}

but therefor the cookies should not be turned on by default.

Any solutions or thoughts for this?

Thank you very much!


Viewing all articles
Browse latest Browse all 59525

Trending Articles