Pop-up modal - once per session

Hey Guys, Disclaimer I’m quite new at this.

However, I am trying to create a pop-up modal displayed only once per session. The popup is currently on the homepage and would like it to only show once whilst in the session and then popup again when the website is either opened in a new tab or window.

I have used the below code and it works how I want it to work in incognito mode, however it is not working in normal google chrome browser.

any help would be greatly appreciated!

Thanks,

Hi - welcome :webflow_heart:

You should use cookies. @PixelGeek has A great video tutorial on this issue.