Sync Users Between Sites

Overview

If you have a sales site separate from your learning or membership site, you’ll need to keep users in sync between the two sites. You may also want to keep user passwords in sync, and enable single-sign-on, so users only have to log in once.

While WP Fusion can be used to sync user data between sites, we don’t recommend it because to keep passwords in sync they need to be stored in plain text in your CRM, which is a major security concern.

When you use your WP Fusion to sync users between sites, your user passwords end up stored in your CRM in plain text

For that reason we recommend using a plugin that allows you to sync user data directly between the sites, such as Uncanny Automator or Share Logins Pro.

It’s preferable to sync user passwords directly between your sites, and then WP Fusion can sync non-sensitive data such as tags with your CRM

In that scenario, WP Fusion can still connect both sites to your CRM, but it will just be responsible for applying tags and syncing other non-sensitive information.

Using Uncanny Automator

Uncanny Automator allows you to set up a webhook between two sites which automatically creates a new WordPress user. You can use this to have your checkout on one site which automatically creates a user and enrolls them into a course on a second site.

For more info on using Uncanny Automator to sync users between sites, see this tutorial.

Using Share Logins Pro

Another option for syncing users between sites is with the Share Logins Pro plugin. It lets you connect your sites directly to eachother, so new user accounts are immediately created on your membership site when a customer registers on your sales site. It also enables single sign on, so customers don’t need to log in a second time on your membership site.

Share Logins Pro takes a little more work to set up than Uncanny Automator, but is useful in situations where you want all users to automatically be synced between your sites (including password changes), without having to set up specific triggers for when data should be synced.

Using WP Fusion

It’s also possible to sync user accounts between multiple websites with WP Fusion, using your CRM to store the data and push it onwards to multiple sites. This method is more advanced and requires additional setup, but doesn’t require installing another plugin.

Using WP Fusion it’s possible to sync a user’s user name and password to their contact record in your CRM. To do this enable the fields user_login and user_pass for sync from the Contact Fields tab in the WP Fusion settings, and select corresponding custom fields in your CRM in which to store the data.

You can then set up WP Fusion on a different WordPress site, and use WP Fusion to pull the latest user name and password from your CRM, effectively keeping your customer logins in sync across two or more WordPress sites.

Setup

To set up the integration, first navigate to the Contact Fields tab and click the check boxes next to Password and Username to enable them for sync.

Then go to the General Settings tab and make sure the checkbox next to the Push option is checked.

Note: All data is synchronized with SSL encryption but passwords are stored in your CRM application as plain text. Make sure that everyone who has access to your application is trusted before you choose to synchronize passwords.

Now, when a user creates an account or updates their information, their username and password will be synced to to your CRM. You’ll then want to configure a webhook to push the information to the other site(s).

Was this helpful?