AFI AFI

Nextend Social Login and Register

Estimated reading: 3 minutes Updated August 1, 2026

Nextend Social Login and Register lets visitors sign up and log in to WordPress with Facebook, Google, X, and other social providers. Advanced Form Integration captures new social registrations and routes the data to any of 200+ destinations.

What you’ll need

  • The Nextend Social Login plugin installed and activated.
  • At least one social provider configured and enabled.
  • Anyone can register enabled in Settings → General, or registration allowed through Nextend’s own settings.
  • The Advanced Form Integration plugin installed and activated.

When the trigger fires

AFI registers a single New User Registered (via Social Login) trigger for Nextend Social Login. It fires when a brand new WordPress account is created through a social provider.

Data captured

Field Field key Format
User ID user_id Numeric ID
User Email user_email Email address
First Name first_name Text
Last Name last_name Text
Display Name display_name Text
Social Provider provider Text, for example facebook, google, twitter

Create the integration

  1. Go to WP Admin → AFI → Add New.
  2. Enter an Integration Title, e.g. Nextend Social Login: New User Registered → Mailchimp.
  3. In Trigger → Form/Data Provider, select Nextend Social Login and Register.
  4. In Form/Task Name, choose New User Registered (via Social Login).
  5. In Action → Platform, pick the destination and complete the field mapping.
  6. Optional: configure Conditional Logic so only matching events are sent.
  7. Click Save Integration.

Screenshot: AFI Add New screen with Nextend Social Login selected as the Form/Data Provider

How AFI listens for registrations

AFI hooks nsl_register_new_user, fired from registerComplete() in includes/user.php and listed in Nextend’s own developer hooks documentation. By the time it runs, the method has already bailed out on any error, so the user ID is a real account. AFI deliberately does not use the sibling nsl_login hook, which fires on every returning social login as well and would re-dispatch the same person as a new lead on each visit. Registration is guarded by class_exists( 'NextendSocialLogin' ).

First and last name availability

Whether a name arrives depends on what the provider returns and on which scopes you requested. Google usually supplies both; some providers supply only a display name. Map Display Name as a fallback.

Troubleshooting

Returning users do not fire

That is intentional. This trigger is scoped to genuinely new registrations so your CRM is not flooded with duplicates on every login.

Accounts linked to an existing email do not fire

When Nextend links a social profile to an existing WordPress account rather than creating one, no new registration happens, so the hook does not run.

Related docs