Unbounce Answers/FAQ/Page Builder - Pro Tips

How can I send unbranded email notifications of new leads to my clients?

Aaron Oman
posted this on September 28, 2011, 11:30 AM

It's easy to enable email notifications with Unbounce, but for the time being, these notifications will be Unbounce branded.  Thankfully, it's fairly straight-forward to work around this using our WebHook integration.

To send unbranded email notifications with Unbounce, there are three major steps:

  1. Write a script to parse Unbounce form submissions and send email notifications.
  2. Host this script on a server you have access to.
  3. Setup a WebHook integration that points to this script.

1. Write a script to parse Unbounce form submissions.

You can use any language supported by the server you'll be using in step #2 below.

For your convenience, we've written and shared a sample PHP script to parse incoming Unbounce form submissions and send an email.  It is fully commented, so you can modify it to suit your needs.  Should you decide to use this script, you should have a developer audit it to ensure it is up to your security standards.

2. Host your custom script.

You'll need access to a server with email capabilities if you want to send email, so keep that in mind.  There are free hosting services like 0000free.com which offer email and PHP hosting.

When you have been granted access to host files on an email capable server, you'll want to follow their steps for uploading and serving a custom script.  You will also have to configure email for that host before the above script will work.

3. Setup a WebHook integration.

You'll want to familiarize yourself with our WebHook support page.  Basically, you'll add the URL for your custom script into the WebHook integration, then you'll be ready to go!

For the sample PHP script above, we grab the query parameter 'email_address' and use that as the destination for the email we are sending to.  This query parameter is sent as part of the WebHook URL.

As an example, here's a typical WebHook URL with no query parameters:


To use the same WebHook URL, but send an addition query parameter called "name" with the value of "George", you'd do this:


And to send multiple parameters looks like this:


The last example will send three parameters: param1, param2 and param3; with the values: value1, value2 and value3, respectively.

To make the sample PHP script send to a specific email address, you'd use an 'email_address' query parameter like this:


Assuming http://www.postbin.org/107rr7j is where our custom script is hosted, the above line would send an email to your_email@your_domain.com.

Look at our WebHook support page to see how to do parameter replacement, if you want an email to be sent to a different address every time, based on the form submission data.  Ie., the email address it gets sent to is provided by the form submission itself.



User photo
InterActive Circle

Can't there be an easier way to do this?

June 7, 2012, 9:46 AM
User photo
Stan Smulders

I got it working perfectly but have 1 question; could you share the exact code that makes your own e-mail's lay-out? The one with the tables.

Because it's really, really bland right now.

July 3, 2012, 4:26 AM
User photo
Chair 10 Marketing

Thanks but we need the ability to customize the form submission emails easily in the Unbounce platform itself. This is basic stuff guys - needs to be moved to the top of your dev list.

July 23, 2012, 9:48 AM
User photo
Ryan Engley

@Chair10 - thanks for your feedback.  This is definitely on our radar and is something we're looking at tackling once we release our multi-user and client management feature set.

July 24, 2012, 3:18 PM
User photo
jamshaid hashmi

Ryan, Any update on this? 

January 23, 2013, 3:57 PM
User photo
Jacquelyn Ma

Hi Jamshaid! Now that our multi-user and multi-client feature set is in place, you can now customize new lead email notifications on any of the Pro level subscriptions. We wrote a great article about the feature and how to use it in your Unbounce account here: http://support.unbounce.com/entries/22066437-how-to-customize-new-l...

January 25, 2013, 2:56 PM