• Hi, I want to create a cockie consent banner that offers individual options for matomo and thirdparty functions:

    It should look like this (more or less):

    Hi, we are using Matomo to reveal all your dark secrets. On top of this we are using evil third party products (calendly, google Maps, Youtube, etc.) that require your explicit consent.

    Please pick your poison:
    (x) Allow mandatory cookies (can’t be changed)
    (x) Allow Matomo to eat your babies
    ( ) Allow embedding of (insert evil overlord names here) content.

    I might be missing something obvious here, but as far as I can see its either all or nothing.

    Kind regards,

    Patrick

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Aert Hulsebos

    (@aahulsebos)

    Hi @grafruessel,

    Well. The wording is all up to you, under cookie banner settings:-)

    I will assume you won’t be using Google Tag Manager and will use Complianz to add Matomo. If not, the set-up is a bit different. But here’s the explanation:

    Statistics = (x) Allow Matomo to eat your babies

    In this case, you have Matomo checked prior to consent, this is currently not possible in our configuration. It’s either unchecked and needs consent, or statistics is not shown as a category, because consent is not needed. (If you set-up Matomo locally, and anonymize IP addresses).

    So this might be solution but might take some custom code;

    https://github.com/Really-Simple-Plugins/complianz-gdpr-autocheck

    This add-on will auto-check all categories, but you can adjust this to only precheck “Allow Matomo to eat your babies”.

    Which is only keeping:

     if (cmplzGetCookie('cmplz_stats') === '') {
                $('.cmplz_stats').prop('checked', true);
            }

    in function cmplz_autocheck()

    This should work but is not tested. If you need our help, let us know.

    regards Aert

    • This reply was modified 3 years, 5 months ago by Aert Hulsebos.
    Thread Starter Nikolai Graf-Rüssel

    (@grafruessel)

    Hi Aert, thanks for your reply!

    I guess my post was a bit misleading. My main problem is not checking settings by default.

    Instead I want to offer distinct options for two or more functions that require consent.

    So far I can only have a setting to

    * switch ON Matomo and third party content
    * OR switch OFF both

    What I want to achieve should look like this…

    ( ) Matomo
    ( ) Display Youtube content
    ( ) Display Calendly content

    Did I miss something obvious in the settings?

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @grafruessel,

    If you want to fire scripts on a separate category, so for instance, to fire the Facebook Pixel when the category “Facebook” is accepted by a user, my advice would be to use Google Tag Manager. Each additional category gets its own Tag Manager event that you can use to fire scripts.

    Detailed info about how to set this up can be found in our article here: https://complianz.io/definitive-guide-to-tag-manager-and-complianz/

    Let me know if that works for you, or if you have any additional questions.
    Kind regards,
    Jarno

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Consent Banner, detailed list of options’ is closed to new replies.