Disable PopUp via redirect vs via referral URL

Here's what I'm trying to do:

If someone clicks a link in an email I sent them, then I don't want them to see the popup asking them to join the newsletter.

They are obviously on the newsletter, they've just clicked from the email newsletter to my site. Very annoying to then get the popup asking them to join the newsletter again.

Of course they can mute it - but that's cookie based, so doesn't work across devices, browsers, work vs home computer etc.

So here is how I went to try and solve the problem.

When someone clicks a link in an email via Infusionsoft, Mailchimp etc - the click always goes first to the email service's domain, then redirects back to my site.

So I tried to use the "not from specific referrer" setting, but it doesn't work in this case, because I think a 301 redirect is happening -- google analytics also doesn't pick up the email service's link as the referring URL either, it shows up as a direct visit.

If that's still not clear what I'm trying to do - here is more detail:

If I send an email out via Infusionsoft, MailChimp etc - when someone clicks a link in that email, the click first goes to http://app.infusionsoft.com/etc-etc-etc -- which then redirects to the intended page of my site.

I want to know if you can give me advice on how to either force those redirects to show up as referral URL's so that the "not from specific referral" setting works for this use case.

Another solution could be a URL parameter, but this defeats something else I'm trying to do which is - I want to use the PopUp to protect a download - meaning you must join my list to get the download.

I used CSS to hide the close button on the modal, so someone tries to get the content - they can't because the modal is showing over the top of the content.

The user then puts their email into the form, gets the email, clicks the link - the "not from specific redirect url" rule would work - and now the modal does not show, and the user gets the content.

The user now copies that URL and shares it on social media.

Everyone who now follows the shared URL would still see the modal.

The problem with a URL parameter, is that anyone who copied the link, would end up copying the URL parameter as well and so the popup would be defeated.

So I really need a way to make a redirect show up as a referral URL.

Any thoughts / ideas?

  • Vaughan
    • Support/SLS MockingJay

    Hi Kathryn,

    Hope you're well?

    I have flagged one of our developers for some advice on this for you, as i'm not sure if this is a bug, or if it would be a special case, and if so, is there anything we can do with it.

    With regards to your modal popup to protect a download. It's not really a good idea to use this method, as it's quite easy for anyone to just click view source in their browser and view the page source, they could then easily remove the modal window to view the page, or just view the link inside the page.

    Also if this is a download link you are protecting, then what if the user then gives the actual direct link to the download rather than the URL on the page in the browser? this would then bypass the page entirely.

    You could use protected content plugin to actually mask the download URL itself though, however if you don't require this much protection it would work the ay you require, but as noted above, it wouldn't be a secure way of protecting the download URL from being passed on.

    Hope this helps

  • Kathryn
    • WPMU DEV Initiate

    Thanks for passing it on - I think it is half feature request, half request for ideas of how to work with what's there.

    I do realize that this isn't a rock solid padlock of the content - most of our audience doesn't know how to view source and they also don't really file share - but they do get excited and post links to Facebook, so it's enough to get it to work as I've outlined in the first comment.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.