Cookie condition not working
-
Hey, I’m trying to hide/show specific groups based on a cookie, but it’s not working. I’m using a FSE block theme and in my Header template part I have 2 different “headers”. When opening the site it sets a cookie with value “value1” and should display “header-1”. When going to a specific url, the cookie is updated to “value2” and should display “header-2”.. I have set my rules as follow – “cookie name value is equal to”. The problem is that upon opening the site, the cookie is set to “value1”, but I’m seeing both headers.. When I refresh the page the correct header is displayed and the other is hidden..
The topic ‘Cookie condition not working’ is closed to new replies.