Segment by Signup Source with MailChimp

Have you ever wanted to segment by signup source with MailChimp, but keep everyone on the same list? Well now you can. Being able to do so is incredibly powerful, especially when it comes to email automation (as MailChimp recently discovered themselves) which includes things email courses, welcome messages, freebies etc…

I was wondering the same thing for something big I’m working on right here at IP. I eventually came up with a simple trick to achieve segmenting by signup source with MailChimp and I’d love to share how. In this short article, I’ll show you how to get the MailChimp signup source of your subscribers.

The best part about using MailChimp is that you can have one master list, but segment by different types of users. At first this doesn’t sound very helpful as you have to create the segments yourself, however there is a way to automate the process. All it takes is an extra field on your form and for you to update your current embed code.

An Extra Form Field

To get started jump into MailChimp and go to the form editor screen. You can get to it by going to Lists -> [List Name] -> Signup Forms -> General Forms. You should now see a screen that looks like this:

MailChimp Form Editor

From here you need to create a new, hidden field. You can do this by clicking the Text button in the sidebar. The go to Field Settings and change it to be Hidden. Choose a filed label, in this case I chose something self-explanatory like Signup Source. For the field tag just put a shorter version of the field label, I put SOURCE. Here is what my form now looks like:

Adding hidden fields to the MailChimp form editor

Putting it on Your Website

To get it on your website go to Signup Form -> Embedded Forms and click the Naked tab. Form here grab the embed code and put it where you want on your site.

That isn’t it though, to get the new auto segmenting working you’ll need to add the following line of HTML into your form, just above the button.

<input type="hidden" name="SOURCE" id="SOURCE" value="About Page">

Look carefully at the name and value of this new input field. Hey! That’s the SOURCE tag we added in the form builder! The value specifies where they signed up from, so if you add this form to the about page, you put that, if it’s the homepage sidebar, you put that. You can even have multiple forms on one page but from different signup sources. For example the blog sidebar and at the bottom of the post.

From here upload the updated form to your website and you’ll be able to see where they’re signing up from (more on that next). I do advise testing this locally with your own email address before you put it online. To do that, just create a new .html file and add the Naked form code with the extra input field and test away.

Setting up the Segment

Go to Manage Subscribers -> Segments and click Create Segment. From the dropdown go to Merge Fields and you’ll see our shiny new Signup Source hidden field we added. Now just write the same thing as you did in the value of that new input, for example if I was using the input field above I would write “About Page” in MailChimp so it looks like this:

Segmenting by source in MailChimp

Now just click Preview Segment and then Save Segment and you’re all done!

Note: When you first set up the segment it’ll say 0 subscribers match your segment. This is to be expected because nobody has signed up from your new source yet. If you tested this with your own email address you should see it listed.

Got Questions?

Segmenting is a powerful thing, especially if you’re dealing with email courses because you don’t want everyone to have access to it, only the people who saw your CTA and signed up from it.

Are you segmenting by signup source with MailChimp (or other software)? Let me know in the comments below!

Follow IP on Twitter Like IP on Facebook