Lead Magnet: A desireable digital download offered in exchange for contact information. Usually a lead magnet takes the form of audio (mp3), a document (pdf) or videos (mp4).
I started using MailChimp Automations to send a lead magnet when I subscriber joins a group from a signup form.
After I hit the maximum of 60 groups per MailChimp account I started looking for another way to allow new subscribers (and current subscribers) the opportunity to opt-in to my list without being restricted to creating a maximum of 60 lead magnets on the Music Radio Creative Blog.
I wanted a way to be able to give away an unlimited amount of lead magnets and now I can do just that using the MailChimp API 3.0. I can even create signup forms that track interests of new and current subscribers to my list.
First, install the excellent MailChimp API v3 wrapper from @drewm:
git clone https://github.com/drewm/mailchimp-api.git
Next, clone this repository:
git clone [email protected]:imikerussell/MailChimp-Power-Tools.git
Create a config.php
file inside the /mc-end-point/
folder and enter your own details:
<?php
$mcapi = 'YOUR MAILCHIMP API KEY HERE';
$mclistid = 'YOUR MAILCHIMP LIST ID HERE';
$installurl = 'WEB URL HERE';
$thanksurl = 'WEB URL OF THANK YOU PAGE (AFTER USER SUBSCRIBES TO YOUR LIST THEY ARE SENT HERE)';
?>
- Login to Mailchimp.
- Go to Templates and select or create a cool template with a big button.
- Go to Automation and select Add Automation.
- Select Integration from the side menu then click Add Automation on the API 3.0 box.
- Name your automation (the name of the lead magnet is a good idea here!).
- Click the drop down menus on Second API Call and Third API Call and click Delete Email on both. We only need one email to be sent with the lead!
- Now click Edit trigger on First API Call and change Delay to Immediately and Update Trigger.
- Click Design Email, enter your Email information, choose a template (preferably one with a big button in it).
- Select the button and then use MailChimp’s File Manager to upload your lead magnet.
- Save & Close, Save and Continue, Next then Start Workflow.
- Make it faster next time by clicking Automation then Replicate on the drop down menu by a previous lead magnet email you created. Now repeat steps 6-8 only!
- Visit MailChimp Lead Magnet Power Tools.
http://installurl/mc-power-tools/
- Click Lead Magnet Automations Created Today or select a day from the calendar under Lead Magnet Automations Created Before if it’s an automation you created in the past.
- Copy and paste the generated code into your website or blog.
- Login to Mailchimp.
- Go to Lists and select your list.
- Settings dropdown menu, followed by List fields and |MERGE| tags option.
- Click Add A Field, type Text.
- Label should be a descriptive interest name e.g. “Script Ideas”. Untick Required and Visible, tag should be all caps and related to interest e.g. “SCRIPTS”, default merge tag value should be blank.
Want to track the interest of your blog readers? Create a custom interest for different types of posts and then generate embeddable form code as follows:
- Visit MailChimp Lead Magnet Power Tools.
http://installurl/mc-power-tools/
- Select the correct interest from the drop down menu.
- Click Create Code.
- Copy and paste the generated code into your website or blog.
- Go to Lists and select your list.
- Click Segments drop down menu and select Create a new segment.
- Select the interest from Merge Fields in drop down then is in the box and the final box should have True.
- Click Preview Segment and voila!