Exclude Your Existing Subscribers

Lisa Fockens Updated by Lisa Fockens

In this article, we’ll share two complementary techniques to prevent your existing subscribers from seeing your popup. We all know how frustrating it is to be asked to subscribe to something that we're already subscribed to. Take these easy steps to avoid annoying your visitors.

Technique #1: Exclude the users who subscribed through Wisepops

Open your email collections campaigns in Wisepops.

For each of them, click Display on the left menu and select Audience.

At the bottom of the page, check Exclude visitors who already signed up through another campaign.

Technique #2: Exclude the visitors coming from your newsletter

Stay on the Audience page.

Next to traffic, select UTM.

Input the UTM source of your newsletter and select Is not equal to, as shown below.

Technique #3: Exclude the visitors who came at least once from your newsletter

Paste the following script between your Wisepops setup code and the </script> tag:

/**
 * Detect visits from Newsletter
 */
(function() {
  var detectNewsletter = [
    'utm_medium=email',
    // Complete this list with other conditions, like utm_source=newsletter
  ];

  for (var i = 0; i < detectNewsletter.length; i++) {
    if (window.location.search.indexOf(detectNewsletter[i]) > -1) {
      // Flag the user as already subscribed to the newsletter
      wisepops('properties', {
        alreadySubscribed: 1
      });
    }
  }
})();

Update the sixth line of the script with your own utm_source or tracking parameter.

For example, if I'm tracking my newsletter with the UTM structure below, I would use utm_source=newsletter instead.

UTM structure: https://wisepops.com/?utm_source=newsletter&utm_medium=email&utm_campaign=2019-02_Tracking

/**
 * Detect visits from Newsletter
 */
(function() {
  var detectNewsletter = [
    'utm_source=newsletter',
    // Complete this list with other conditions, like utm_source=newsletter
  ];

  for (var i = 0; i < detectNewsletter.length; i++) {
    if (window.location.search.indexOf(detectNewsletter[i]) > -1) {
      // Flag the user as already subscribed to the newsletter
      wisepops('properties', {
        alreadySubscribed: 1
      });
    }
  }
})();

You should end up with something like this:

Then, open your campaign in the builder. In the left menu, click Display and select Custom properties. Add the following rule:

If you'd like this third technique to be available by default in Wisepops, contact us through the chat (the more requests we get, the higher the chances we develop this feature).

Technique #4: Shopify only

If you're on Shopify and have installed our app, you can create the following rule:

It will exclude all logged-in visitors who already accept marketing.

Contact us via chat if you have any questions or need some help setting up your targeting. It's what we are here for.

How did we do?

Target a Specific Campaign

Target or Exclude a Specific Country, Region or City

Contact