• Basically I’m trying to replicate the functionality seen here: https://www.holycityhospitality.com/good-food-catering/resources/

    Basically the user clicks on the div, the user gets a lightbox asking for an email, they subscribe to an email list (but not really, since MailChimp does double opt-in), and then for the rest of the time they’re on the website they can click and open any div including PDF’s or JPEG’s without having to re-enter their email address.

    Any help? We are using mailchimp and wufoo forms currently, but the process we have is rather bulky compared to this. I would really like it if the user never had to enter their email again after having entered it once. Obviously there are multiple downloads and I want to show them all off and not hide them.

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    The devil is in the details. I’ve no idea how the underlying code is handled in your example, only the outward appearance. The same appearance can be handled many ways, each with very different implications.

    The easiest is to require registration to see any content. Or must users actually subscribe to mailchimp? If so, is there any kind of API through mailchimp for which this can be verified?

    Does the email requirement persist only through the current browsing session, or beyond so they may return unrestricted at any time? One can be handled with a session cookie, the other pretty much requires some sort of login because there is no other secure way of identifying a return user.

    How secure must this be? It’s easy to prevent casual spoof attempts, much more difficult to be completely spoof proof.

    On a basic level, you simply store the email status somewhere and check it on each request. The tricky part is knowing if the request has come from the user purporting to use that email.

Viewing 1 replies (of 1 total)
  • The topic ‘Multiple Downloads, Subscribe Once’ is closed to new replies.