In this article we will teach you how to build a tiny little landing page widget for the popular aWeber email marketing platform. The widget will be embedded on a web page along with other content such as an image or video, and will serve as the landing page for the email signup form. The form itself will ask for users’ email addresses to which aWeber will then send a confirmation email.
What Is AWeber?
AWeber is a web-based email marketing platform which, at the time of writing, has over a million active daily users. The service is available in both a free and a paid version. AWeber is known for its simplicity and its integration with other popular services such as Google Analytics. Additionally, the company frequently adds new features to their product to enhance their subscribers’ experience.
Why Do You Need A Landing Page Widget?
Having a landing page on your site is essential for any business or brand, even if you don’t intend on collecting peoples’ email addresses. A landing page serves as the first point of contact for any potential customer, and gives you the opportunity to convince them to make a purchase or to take further action (e.g., subscribe to your email list).
You can use the aforementioned email platform to gain such contact, but the benefit of using a landing page is that you have an already established connection with the user, and you don’t need to rely on them to take further action. Additionally, having a landing page also makes it easier to track the success of your email marketing campaign, as you can see the results (e.g., signups) in real time.
How to Build a Landing Page Widget For AWeber
Let’s get started by installing the AWeber API onto your WordPress site. Once the API is installed, you can access it from the left sidebar of any WordPress page, or from WordPress’ dashboard. You’ll see a screen like this:
You can access the API by clicking the ellipsis (…), and after that you’ll see a screen similar to this:
From here, you’ll need to copy and paste the generated API keys into the corresponding fields on the form. You can either copy and paste directly from the console, or use the access key located at the top of the page.
Now that you have the API set up, it’s time to start building our widget. Begin by going to your WordPress dashboard and looking for the “Widgets” area. You’ll see several widgets already installed onto your site, with various functions such as displaying social media feeds or showing the weather. Scroll down to the very bottom of this area, and you’ll see a field named “Add New Widget.”
Click on that and you’ll see a screen like this:
Here, you’ll see a form that allows you to build a simple widget with just a few fields. To keep things simple, we are only going to use the form to collect the user’s email address and name. You’ll need to fill in the fields with valid information, and then click the “Publish” button. Once you’ve done that, your widget is live and ready for use on your website.
Adding the Form To Your Site
The next step is to add the form onto your site. For this example, we are going to use the Free (Personal) version of AWeber, but you can add either version of the form to your site.
To add the form, navigate to your WordPress dashboard, and then to the Appearance area. Here you’ll see a screen like this:
From here, click on the “Add New” button near the top of the screen, and then on the “Appearence” tab that drops down. You’ll see a screen like this:
Here, you’ll see the form already embedded onto your site. You can either leave it like this, or delete it and add something else.
Let’s add another widget containing the social media feeds for our customers. To do that, navigate to your WordPress dashboard again, and then to the Widgets area. Here you’ll see several widgets already installed onto your site, with various functions such as displaying social media feeds or showing the weather. Scroll down to the very bottom of this area, and you’ll see a field named “Add New Widget.”
Click on that and you’ll see a screen like this:
Here, you’ll see a form that allows you to build a simple widget with just a few fields. To keep things simple, we are going to use the form to collect the user’s email address and name. You’ll need to fill in the fields with valid information, and then click the “Publish” button. Once you’ve done that, your widget is live and ready for use on your site.
Monitoring & Measuring
With our widget now live on our site, let’s get the proverbial monkey off our backs and measure its effectiveness. The first step is to log into your AWeber account and then click the “Admin” tab. From here you can navigate to the “Analytics” section, where you’ll see several reports already prepared for you to browse.
The first report we are going to examine is the “Contact Report.” This report will tell us about the form’s success in collecting email addresses. To access this report, click on the “CONTACT” tab near the top of the page, and then select “Contact Reports.” This report will tell you how many people came to the website, what their browser settings were, and more:
Here you can see the results of our little experiment. As you may have guessed, the form led to a plethora of success—we received over 500 unique contact emails, and the majority of the signups came from mobile devices.
Additionally, as you can see, our signups came from all over the world: the U.S., U.K., Brazil, and more. This data is useful because it provides us with insight into our target audience (i.e., people living in the U.S. or U.K.) as well as the effectiveness of our landing page.
Hopefully, you learned a lot from this tutorial. At the end of the day, building a properly functioning email signup form is a cinch—once you have the basics down, everything becomes a little bit easier. Don’t forget to follow us on Twitter @adhears and Instagram @adhearsdesign for more tips, tricks, and helpful advice on AWeber, WordPress, and all things web design.