Hi there,
I have been playing around with Piwik PRO for a while now, but there are a couple of things I don’t seem to be able to solve, and my attempts to work around the issues do not work. I currently use a custom cookie banner built with the provided Javascript code. It works great, but only on the initial page load. The banner disappears when the visitor goes to another internal page and doesn’t come back unless all cookies are wiped.
I was hoping to be able to make the banner sticky until the visitor chooses an option. I looked on the forum and in the available documentation for an answer, but I didn’t get far. One of the answers suggested that this is impossible for custom banners as the reminder function is not built-in - is this correct? Is there any documentation available on how to build this yourself?
Others suggested using the toggle button and the open-consent-form ID. I managed to get this to work, but it breaks very often.
- With two toggle buttons on a page, only the first one seems to work, and the other doesn’t.
- Placing the button in a sticky popup at the bottom of the screen doesn’t always work. Sometimes it toggles, and sometimes it just doesn’t do anything.
My preferred option would be to have a sticky cookie notice that only disappears when the visitor makes a choice - I’m okay with them ignoring it, but it shouldn’t disappear when they do. Could anyone help with a piece code that listens to the consent status and, if ignored (-1), opens up the banner repeatedly on every page? My Javascript knowledge is minimal, so I opted for Piwik PRO =). Any support is very much appreciated. My website is not private, so I can send you the URL by PM if needed.
Kind regards,
Joy