Streaming live at 10am (PST)

Banner to not show after first visit in website


#1

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!!


#2

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:


#3

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


#4

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