How to add a cookie through interactions?

Hey, I’m trying to make a simple element - announcement bar that will show above the main menu. Core function should be the closing button, that should be able to close/hide this element for a duration of one session.

(like this, image)
image

I thought I may be able to achieve this using a session cookie. It looks like I should be able to create a new one through interactions, like this (image). But it does not work, does not add a cookie.

Have you ever succesfully added cookies using the bricksbuilder?
Any ideas how to make this announcement bar work withing bricks? :slight_smile:

I have the same issue. Tried using different types of storage, on both a button and nav link element. Seems bugged.