Integrating with WordPress: Registering a new user from form submission on Unbounce



I was hoping you might have a clever idea of how to do the following:

I want to use Unbounce landing pages to offer a free trial to a WordPress membership site. The ideal funnel would be:

  1. Land on landing page
  2. Click button to open lightbox
  3. Submit email address
  4. email address gets passed to wordpress
  5. wordpress registers a new user using email address as username and automatically generates a password
  6. wordpress sends email to user

So steps 1, 2 and 3 are pretty simple (thanks to Unbouce and this thread…).

Step 6 WordPress will do.

Any idea how to do steps 4 and 5? I know I can use query strings to pass the user email address…

This article lays out some php code to register the user:…

But bringing it all together… ?

I realize this may not be strictly an Unbouce question. But it is kind of an Unbounce / WordPress integration question… :slight_smile:

Thanks for the help!!



Hi Mike - you’ll need to do a bit of coding for #5. That code that Tom provided in his blog post doesn’t specify how the email address needs to be inputted, which leaves that open ended.

With that in mind, when you create the handler for step #5, you’ll just want to accommodate one of the ways that Unbounce can send data–I’d suggest pushing it over via webhook and having your step #5 code grab the email from there.


Hi Mike did you find a way to create a user through unbounce?


I would also like to know this.


Hi Arie & Andreas, 

I was researching this exact functionality a few months back for a client but the project fell through so I never got a chance to test it out.

Here are a couple of links that can point you in the right direction on how to do it with a webhook:



Let us know how it works out.