Banner to not show after first visit in website

Hello, I have an image that will work as a banner in my website. I will make it show up after a few seconds that a visitor stays in the website. I will make it show with an interaction in webflow, however I would like to know if there is a way to prevent that image/banner show up for that user on later visits. Maybe every 3 or 5 days. Is this possible in any way with a script or something?? What would you advise as the best way to achieve this?

Thanks!!

You will have you to use cookies. There are many variants of this implementation on the internet. If you understand jQuery or can tweak js codes. Here is one:

http://stackoverflow.com/questions/22197836/jquery-show-hidden-div-and-check-cookie

1 Like

You have to load the latest jQuery cookie library and insert before closing body tag in Webflow: Here is a cdn hosted link:

https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.