The WP Users and the WP Users Pro addons import and keep aligned your regular WordPress users as subscribers. The WordPress users can be created by regular or custom registration forms, membership plugins, e-commerce plugins and the like.
The WP Users addon is free.
To get all free add-ons just signup and download them from your account page.
What's inside
- Integration with the standard registration form
- The subscription flow
- Confirmation on login
- Mapping user roles to subscriber lists (only WP User Pro)
- Adding to lists
- Importing and aligning
- Data update while sending
Integration with the standard registration form
You can select between two main working modes:
- offer the subscription in the registration form with a checkbox (possibly pre-checked)
- force the subscription to your newsletter to every newly registered user
The right choice dependas on your business model and sometimes on your country laws.
Integration with custom registration forms
There are many themes and plugins which offer a custom registration form.
The addons work correctly even with those custom registration solutions IF they register the user using the standard WordPress functions/procedures (or generally the user_register
event is fired).
If you need to check the compatibility of your plugin with this addon ask the plugin author if they follow the WordPress convention (most of the time if they use the provided WordPress functions to register the user, the answer is “yes”).
Subscription option on custom registration forms
The option (checkbox) to subscribe is added automatically to the standard WordPress registration page.
Custom registration forms are compatible if they fire the register_form
event. It’s easy to check: if the custom form shows the newsletter checkbox, it’s already ok. Alternatively, you can add a checkbox in your custom registration form named “newsletter”. See the example below:
<label><input type="checkbox" name="newsletter"> Subscribe our newsletter</label>
If you need it to be pre-checked:
<label><input type="checkbox" name="newsletter" checked> Subscribe our newsletter</label>
Ask the custom registration form developer how to add such element.
The subscription flow
The addon offers few configurations to customize the subscription and confirmation flows. In order to provider a “friction less” subscription experience, with the default configuration, the subscription follows those steps:
- on registration a subscriber is created with status “to be confirmed”
- on first login, the subscriber is set as confirmed
No confirmation request is sent, since the login is a proof of the email ownership.
That simplified process can be changed enabling anyway the confirmation email, useful for blogs where the subscription does not follow an immediate login. Even the welcome email is by default suppressed but can be enabled, for example, if there are not predefined welcome emails provided by other plugins after the registration.
Confirmation on login
The subscription connected to a WordPress user can be confirmed automatically on first log-in. With custom login forms, it works only if the plugin managing the authentication follows the standard WordPress convention and the user_login
event is fired.
Developers note: you can learn more about the user_login
event and the sing-on flow checking the wp_signon()
WordPress function.
Mapping user roles to subscriber lists (only WP User Pro)
The WP Users Pro addon has extra options to map the WordPress user roles to lists. Even more, for eaxch user roles you can set which lists shoukd be activated and which lists should be deactivated.
That option provides great flexibility and it is compatibile with every plugin that changes the user roles.
Anyway, in some cases you may look at the specific integration with membership plugins like Paid Membership Pro and Ultimate Member, always part of our suite.
WP Users Pro intercepts the user role change and acts consequentily changingthe connected subscriber’s lists. And, if changes are made by not standard WP procedures and cannot be intercepted, it provides and alignment procedure you can run as many times as you need.
WP Users Pro is compatibile with multisite installations.
Adding to lists
Subscription during registration is logically different from a registration while leaving a comment or using the subscription form in the sidebar.
We strongly suggest creating a specific list that will be assigned to subscribers coming from the WordPress registration. Automatic list assignment can be useful even to subscribe to Automated channels or Autoresponder email series.
Having a specific list makes it even easier to target a campaign only to registered users. Anyway, the targeting panel for a newsletter lets you select directly only the subscribers which are connected to WordPress users.
Importing and aligning
If you need to “import” as subscribers all WordPress registered users in your blog, you can use the import feature you can find this addon settings page. The import can be run as many times as you want to align or realign the users with the subscribers.
How alignment works (important)
WP Users do a one shot import and on sites with a large number of users it may fails due to contraints imposed by the provider. Wp Users Pro acts differently and imports using a background job granting the processing of all site users (and it is compatibile with multisites as well).
For each WordPress user, a matching subscriber is searched. The first match is made using the relation stored in our subscriber profile with its WordPress user if present. In this case, both are already aligned and nothing happens.
Then we try to match the WordPress user email with a subscriber email. If a match is found, we add a relation between the subscriber and the WordPress user to get them linked.
If no matches are found, it creates a linked subscriber using the WordPress user data.
Note: if you have a large user base, the import process may fail due to timeouts (PHP, database) or excessive resource consumption. We are working to make that process a background process that can run over a longer time.
Data update while sending
With this addon installed, when a newsletter is sent, before using the subscriber’s data (email, first name, last name, …), the subscriber is processed by this integration, and those fields updated taking the values from WordPress user data.
There is not alignment process, so you may experiences subscribers with the “wrong” first name when linked to a WordPress user, but the correct first name is used on sending.
We have plans to update that.