With some extra setup and knowledge of coding HTML form elements, you can set your MailChimp signup form to track which webpage your subscribers are on when they sign up to your list. Tracking signup locations is a good way to learn more about your subscribers and identify which pages of your website or blog generate the most interest from your audience. In this article, you’ll learn how to add a hidden field to a list and modify your embedded signup form to start tracking signup locations.

In this article:

Add a hidden field and copy form code

  1. Navigate to the Lists page, then click the drop-down menu to the right of the Stats button for the list you want to work with and select Signup forms.
    Stats drop-down menu, signup forms
  2. Select the General forms option.
    Select general forms
  3. Make sure Signup form is chosen from the Forms and response emails drop-down menu and confirm you're on the Build it tab.
  4. On the add a field tab to the right of the signup form, click 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 merge tag in the field tag box.
  6. Check the Hidden box to keep the field from appearing on the form your potential subscribers will see.
    Field settings tab
  7. Click the Signup forms link at the top of the page and select Embedded forms.
    Select embedded forms
  8. Select a form option and copy the embed code from the Copy/paste onto your site text box.
    Copy and paste text box

Add tracking to embed code

After you’ve copied your form’s code, you’re ready to modify the value and input type for the hidden field in your signup form. This code connects to the merge tag field you set up for the hidden field in your list so MailChimp can pass signup location information back to your list.

  1. Paste the signup form embed code into your HTML or text editor.

  2. Find the code for the form's subscribe or submit button. Use Control+F or Command+F on your keyboard to search the code automatically.

  3. Add the following code before the </div> tag that closes the code for your submit or subscribe button:
    <input type="hidden" name="SIGNUP" id="SIGNUP" value="blog" />
    Make sure that the name and id match the name you gave the merge tag for the hidden field in your list.
    Your code should look something like this:

  4. Within the quotation marks for the Value attribute, change the text to match the page where you’ll place the code. Below is an example of how this might look for an ecommerce page:
    <input type="hidden" name="SIGNUP" id="SIGNUP" value="ecommerce_page" />
  5. Add the modified signup form code to the page you want to track. Repeat these steps for each page you want to track. Be sure to change the Value attribute for each page so that each has a unique code that can be tracked.

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.


Because email addresses can only be subscribed to the same list once, you need to test using different email addresses for each page or you can delete the email after each subscribe test.

This feature is limited to certain user levels. You can see your user level on the Users & Account Details page and this article explains what each level can access in the account.

Was this article helpful?
What can we do to improve your experience with articles like this?
Thanks for submitting your feedback!
At this time, we are unable to reply to any responses,but we'll use this information to keep the site up-to-date.
Sorry, we were unable to submit your feedback. Please try again later.Thank you for your patience.

Related Articles