In this article, we’ll share two complementary techniques to prevent your existing subscribers from seeing your popup.

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”:

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

Paste the following script between your WisePops tracking code and the </script> tag:

/**
 * Detect visits from Newsletter
 */
(function() {
  var detectNewsletter = [
    'utm_source=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 following UTM structure, https://wisepops.com/?utm_source=newsletter&utm_medium=email&utm_campaign=2019-02_Tracking,

I would use utm_source=newsletter instead.

/**
 * 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
      });
    }
  }
})();


At the end, you should end up with something like this:

Then, open your campaign in the editor. 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).

We're also available if you have questions.

Did this answer your question?