Hi all! So, I'm currently tasked with designing a marketing popup with a message for new visitors for the site I run, and I'm not sure where to start in Umbraco.
I've done this before, but never in Umbraco and, of course, the method I usually use didn't pan out well.
Basically, I need a fading popup to appear when users first visit the front end of our website that they can click to close. If someone could point me in the right direction of a tutorial or something similar, that would be great!
Show popup upon visiting site
Hi all! So, I'm currently tasked with designing a marketing popup with a message for new visitors for the site I run, and I'm not sure where to start in Umbraco.
I've done this before, but never in Umbraco and, of course, the method I usually use didn't pan out well.
Basically, I need a fading popup to appear when users first visit the front end of our website that they can click to close. If someone could point me in the right direction of a tutorial or something similar, that would be great!
Hi Katlynn,
Just use cookies or localStorage for storing some flag 'userVisitAlready' for example. In js code which is showing popup just check this flag.
Thanks,
Alex
Hi Kytlynn,
I think that you should have a look at this light weight plugin to read and write a cookie https://plugins.jquery.com/cookie/
An example could be something like this.
Hope this helps,
/Dennis
is working on a reply...