Pixel cookie consent banner reappears on other pages if you decline it

Hey guys,

I’m having an issue with the ‘pixel cookie consent banner’ that I created using the below article as a guide:

When I click ‘accept’, then navigate to another page, the banner doesn’t reappear.

However, when I click ‘decline’ and navigate to another page, the banner pops up again.

At the moment, I only have it one one page, so if you refresh the page, it has the same effect as navigating to another page. View it here - https://www.folklorr.com/test

In the article it tells you to set the button’s ID as ‘consentBtn’, which the custom code references, however, there’s nothing similar for the decline button.

Any fixes?

Thanks, O

https://preview.webflow.com/preview/folklorr?utm_medium=preview_link&utm_source=designer&utm_content=folklorr&preview=71727b38f53f73b72d9dc5e691a3a92d&pageId=61518d5df168c65021d6a805&workflow=preview