It’s annoying when you keep displaying newsletter subscription forms to your existing email subscribers.

To hide the forms from existing subscribers:-

Open the Noptin settings page and toggle the “Hide From Subscribers” switch.

That’s all! Your existing email subscribers will no longer see any subscription forms, checkboxes, or popups.

However, subscribers that you imported from another system or website will still see the forms. This is because different newsletter systems use different cookies to identify subscribers.

There are three different ways to overcome this depending on what system you used to collect those subscribers.

  1. Setting an extra subscription cookie.
  2. Using URL variables.
  3. Using HTML.

If the other email service lives on the same website as Noptin, you can add their cookie to Noptin via the Noptin settings page.

custom subscription cookie

If you do not know the name of the cookie, get in touch with the developers of the plugin and they will help you out.

By setting this cookie, subscribers who signed up ( or sign-up ) via the other system will not see any Noptin subscription forms. Similarly, subscribers who sign up via Noptin will not see the other service’s opt-in forms.

Hiding Opt-In Forms using URL Variables

If the other service does not live on the same website as Noptin, you can not use cookies to identify existing subscribers.

This is because cookies can only be accessed from the website that they were set.

You can however use a special URL variable to hide opt-in forms from visitors who signed up using such a service.

Hide newsletter subscription forms using a URL

When you append the noptin_hide query variable to any URL, email subscription forms will not show up on the URL (or any URLs that the visitor opens during the session).

Hiding Opt-In Forms Using HTML

If the above fails, or if you need your subscribers to mark themselves as subscribed, you can use any clickable HTML element that has a ‘noptin-mark-as-existing-subscriber‘ class.

Hiding forms using a CSS class

Whenever someone clicks on the element, Noptin assumes that they are already subscribed to your newsletter.

Now all you have to do is set Noptin to hide opt-in forms from existing subscribers and they will no longer see any newsletter subscription forms for 30 days.

Hiding all forms except the homepage form

Use the following PHP code snippet always to show the homepage form to all subscribers even if you hide other forms from existing subscribers.

<?php

// Add filter to show optins on the homepage.
add_filter(
	'noptin_should_show_optins',
	function( $show ) {
		if ( is_front_page() ) {
			$show = true;
		}
		return $show;
	}
);

Tip:

Not sure how to add a PHP code snippet to your site? Consider using the Code Snippets plugin.

Related Guides

  • Cleaning Up Your Email List: A Step-by-Step Guide to Deleting Bounced Subscribers

    How to automatically delete subscribers who bounce or report your emails as SPAM

    Read More

  • Sync Subscribers

    Have you ever wished you had several newsletter sign-up forms on different websites that all collected subscribers into a single newsletter list? This guide shows you how to do that. Step 1: Create a listener on the master site. Open one of the sites and then create an automation rule that listens to incoming webhooks…

    Read More

  • Custom Fields

    One of the most powerful features of Noptin is its support for custom fields. You can use custom fields to store more information about your subscribers (such as their phone numbers and birthdays). This guide shows you how to create and edit custom fields. Creating Custom Fields To create a new custom field:- First, visit…

    Read More

  • Importing Subscribers

    Learn how to import subscribers from another system into Noptin.

    Read More

  • Subscriber Lists

    Subscriber lists allow you to categorize your subscribers, similarly to how you use normal categories in WordPress. You can set lists in such a way that subscribers can only be on a single list at a time or multiple lists at the same time. Unlike tags, subscribers can select their own lists either on the…

    Read More

  • Tagging Subscribers

    Learn how to manually or automatically tag or untag subscribers based on how they signed-up and the actions they take on your site. You can then filter email recipients by tags

    Read More

  • Double Opt-in

    This guide shows you how to enable double opt-in and how to edit the double opt-in email. Double opt-in means that subscribers will not receive any marketing emails unless they confirm their email addresses.

    Read More

  • Unsubscribing

    To comply with the CAN-SPAM act and other anti-spamming laws, Noptin allows you to add the [[unsubscribe_url]] merge tag to your emails to give your subscribers a way to unsubscribe from your newsletter. This is added by default to your newsletter’s permission reminder. You can, however, add it anywhere in the emails you send. Customizing…

    Read More

  • Welcome New Subscribers

    74% of your subscribers expect a welcome email after they sign up for your email list. Invespcro A welcome email is the first email that you send to your subscribers after they sign up for your email list. To set up a welcome email:- First, click on Noptin > Email Campaigns > Automated Emails to…

    Read More

  • Automatically delete non-confirmed subscribers

    If you’ve enabled double opt-in, you can set up an automation rule that automatically deletes any subscriber who does not confirm their email address after a certain period. To do this:- First, open your admin dashboard and then click on Noptin > Automation Rules to open the automation rules overview page. Next, click the “Add…

    Read More

  • Bulk-delete newsletter subscribers

    Noptin allows you to bulk delete your newsletter subscribers. You can delete all your subscribers or filter them by:- This is useful, for example, if you have a comma-separated list of bounced emails and need to bulk-delete all of them. To do this:- First, open your admin dashboard and then click on Noptin > Email…

    Read More

  • Exporting Subscribers

    How to download your subscribers or only a segment of your subscribers.

    Read More

  • Manage Subscription Preferences

    Create a manage preferences form where subscribers can unsubscribe (or resubscribe) from your newsletter or update their subscription details.

    Read More

  • Notify the site admin when there’s a new subscriber

    This guide shows you how to notify the site admin whenever there’s a new subscriber. We’ll use automation rules to achieve this.

    Read More

  • How to Retrieve and Restore Your Subscribers from a cPanel Backup

    We recommend that you export your subscribers before installing a major update. This way, you can always re-import the subscribers if anything goes wrong. This tutorial shows you a workaround you can use to import your subscribers in case you forgot to export your subscribers. Step 1: Access cPanel and Open phpMyAdmin Step 2: Locate…

    Read More