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.


Add a hidden field and grab form code

  1. Navigate to the Lists page and click the drop down menu, selecting Signup forms for the list you want to work with.
    Select Signup forms
  2. Select theGeneral forms option.
    Select General forms
  3. Ensure that Signup form is chosen from the forms and response emails drop down and confirm you're on the build it tab.
  4. 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.
  5. Under the field settings tab on the right, name the field and create a field tag before selecting the hidden option.
    Create hidden field
  6. Learn more about adding fields to your list and hiding existing fields.

  7. 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.
    Choose Embedded forms
  8. On the Embedded form code page, select a form option and copy the embed code from the Copy/paste onto your site text box.
    Copy embed code

Add tracking to embed code

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.

  1. Paste the signup form embed code into your favorite HTML or text editor.
  2. 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:
    Copy/paste onto your site text box
  3. 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" />
  4. 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).

  5. 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" />
  6. Now that you've modified the code, add it to each of your websites or pages to start tracking signup locations.

Test your signup form

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!

Related Articles