Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

cookie banner: how to add a link to the ‘decline’ button

  • #8875
    Avatar photo[anonymous]

    Dear all –

    I want the decline button to link to another site, e.g. google, if a user decides to decline cookies. How can I achieve this ?

    Thanks, Michael

    #8908
    Avatar photo[anonymous]

    Hi,

    I do not understand why do you want to redirect the user if he declines cookies – in my opinion website can still be usable with disabled non-essential cookies (which requires user consent).

    Anyway – the only solution for such case is creating a custom JS script, which detects click on the “decline” button and then does the required redirect.

    #8922
    Avatar photo[anonymous]

    Hi, Tomasz,

    my site (my theme respectively) uses HTML/CSS only, so no cookies/data collection from my side. But I do not know exactly which data my hosting company collects and how. Therefore I want to provide a button which guides the user away from my site, if he/she does not want the hosting company to collect the users data.

    JS ist no option for me, so I will rethink this issue.

    Thanks for your answer,

    Michael

    #8942
    Avatar photo[anonymous]

    If you do not know if your hosting company uses cookies or other storage to collect your visitors data, then most probably you are not blocking them in your cookie banner, so if user visits you website, these data can be collected without user consent – adding a button which moves user away from your website in my opinion is not a solution 🙂

    Also – for 100% your hosting company collects user data for example in server logs, but it is strictly necessary for your website to work properly.