Level Optin Onclick settings

Comments

2 comments

  • Hi Scott,

    If I understand the question correctly you would like to display three buttons (accept, decline and select) on the consent banner. For that purpose you could simply use "Inline multilevel" consent type so users can opt-in and out of separate cookie categories inside the details banner in case you don't want to show directly the cookie categories.

    However, if you are looking for a code that submits the selected boxes. You could use this:

    Cookiebot.submitCustomConsent(
    document.getElementById('CybotCookiebotDialogBodyLevelButtonPreferences').checked,
    document.getElementById('CybotCookiebotDialogBodyLevelButtonStatistics').checked,
    document.getElementById('CybotCookiebotDialogBodyLevelButtonMarketing').checked)


    Regards,
    Spas

    0
    Comment actions Permalink
  • Avatar
    Scott Sibson

    Morning Spas,

    I found a solution for my particular problem, so please feel free to close this ticket.

    Thank you
    Scott Sibson

    0
    Comment actions Permalink

Please sign in to leave a comment.