With some extra setup and knowledge of coding HTML form elements, you can set your MailChimp signup form to track where your recipients are coming from. Below we'll walk you through how to add a hidden field to a list and modify your embedded signup form to start tracking signup locations.
- Navigate to the Lists page and click the drop down menu, selecting Signup forms for the list you want to work with.
- Select theGeneral forms option.
- Ensure that Signup form is chosen from the forms and response emails drop down and confirm you're on the build it tab.
- On the add a field tab to the right of the signup form, select the Text option to add a text field to the form.
- Under the field settings tab on the right, name the field and create a field tag before selecting the hidden option.
- Now that you've added a hidden field, grab the form code for your list by choosing the Signup forms link at the top of the page and selecting Embedded forms.
- On the Embedded form code page, select a form option and copy the embed code from the Copy/paste onto your site text box.
Next we'll walk through how to modify the value and input type for the hidden field in your signup form embed code. This is how we'll pass signup location information back to your MailChimp list.
- Paste the signup form embed code into your favorite HTML or text editor.
- Find the code for the form's subscribe button. Since there's a bit of code to dig through, you might try using Control+F or Command+F on your keyboard to search the code automatically. Here's an example of what you might see:
- Once you've located submit button code, add the following code just above the div tag that's enclosing your button. In this case we'll use your blog site as an example:
<input type="hidden" name="SIGNUP" id="SIGNUP" value="blog" />
- Create a naming scheme to identify where each form is located on your site. Then, adjust the hidden input for each accordingly. Here are a few examples:
<input type="hidden" name="SIGNUP" id="SIGNUP" value="blog_page" />
<input type="hidden" name="SIGNUP" id="SIGNUP" value="website" />
<input type="hidden" name="SIGNUP" id="SIGNUP" value="ecommerce_page" />
- Now that you've modified the code, add it to each of your websites or pages to start tracking signup locations.
This code adds a hidden input to your form that connects to the SIGNUP merge tag field on your list (assuming you named your merge tag SIGNUP).
Test each of your modified forms by filling them out completely and signing up for your list. Once you've confirmed your subscription to the list, use the Search function to find your email address within the account. Check Subscriber details on the subscriber profile. Signup location information will display next to the field name.
Now that you're tracking signup locations, you can learn more about your subscriber base and identify which of your pages or websites generate the most conversions!