• Resolved Dan14

    (@dan14)


    I saw that you provided the shortcode for showing he full cookie deceleration, whats there shortcode for displaying just the changing / withdrawing the consent part? IF there isnt a shortcode for it how can I replicate the changing / withdrawing the consent part without the shortcode because it gives the full cookie deceleration and I just want to use the change the consent part in different pages?

    Thanks in advance.

Viewing 1 replies (of 1 total)
  • Plugin Author cookiebot

    (@cookiebot)

    Hi @dan14,

    If you want to implement the “Change your consent” and “Revoke your consent” functionality manually, then you can use the Cookiebot API.

    Here is an example:

    <a href="javascript: Cookiebot.renew()">Change your consent</a>
    <a href="javascript: Cookiebot.withdraw()">Revoke your consent</a>

    The uc.js file needs to be present on the page for this functionality to work.

    See also: How can the user change or withdraw a cookie consent?

    • This reply was modified 6 years, 10 months ago by cookiebot.
Viewing 1 replies (of 1 total)
  • The topic ‘Changing consent shortcode’ is closed to new replies.