Sign in

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

  • This topic has 3 replies, 2 voices, and was last updated 1 month, 2 weeks ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8875
    Avatar photomuch.fun

    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 photoTomasz Dziuda

    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.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #8922
    Avatar photomuch.fun

    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 photoTomasz Dziuda

    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.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘cookie banner: how to add a link to the ‘decline’ button’ is closed to new replies.