Shopify Customer Registration Form and Chimpified

The following code produces a customer registration form for Shopify that allows the customer to accept marketing.

Excerpt from templates/customers/register.liquid:

{% layout settings.customer_layout %}

<div id="customer-accounts" class="content clearfix customer">

  <!-- Create Customer -->
  <div id="create-customer">
    <div class="page-header">
      <h1>Create an account</h1>
    </div>
    <p class="note accent-text ">New to {{ shop.name }}? Sign up for a free account.</p>
    {% form 'create_customer' %}
	{{ form.errors | default_errors }}
	
		<input type="hidden" id="customer_tags" name="customer[tags]" value="prospect,newsletter" />
		
		
		<div id="first_name" class="clearfix form-row">
			<label for="first_name" class="login">First Name</label>
			<input type="text" name="customer[first_name]" id="first_name" class="styled-input" placeholder="Your first name" value="{{ form.first_name }}" size="30" />
		</div>
	
		<div id="last_name" class="clearfix form-row">
			<label for="last_name" class="login">Last Name</label>
			<input type="text" name="customer[last_name]" id="last_name" class="styled-input" placeholder="Your last name" value="{{ form.last_name }}" size="30" />
		</div>
	
		<div id="email" class="clearfix form-row">
			<label for="email" class="login">Email Address</label>
			<input type="email" name="customer[email]" id="email" class="styled-input{% if form.errors contains 'email' %} error{% endif %}" placeholder="your@email.com" value="{{ form.email }}" size="30" />
		</div>
	
		<div id="accept" class="clearfix form-row">
			<label for="accepts_marketing" class="login">Tick to join our mailing list</label>
			<input type="hidden" name="customer[accepts_marketing]" value="false"/>
			<input type="checkbox" name="customer[accepts_marketing]" id="accepts_marketing" class="{% if form.errors contains 'email' %} error{% endif %}" value="true" />
		</div>
	
		<div id="password" class="clearfix form-row">
			<label for="password" class="login">Password</label>
			<input type="password" name="customer[password]" id="password" class="password styled-input{% if form.errors contains 'password' %} error{% endif %}" value="{{ form.password }}" size="30" />
		</div>
	
		<div class="action-bottom clearfix">
			<input class="btn styled-submit" type="submit" value="Submit" />
			<span class="note">{{ 'Already a member? Log in here' | customer_login_link }}</span> 
		</div>
    {% endform %}
  </div><!-- /#create-customer -->

</div><!-- #customer-accounts -->

When the customer fills in this form, the admin displays the customer is recorded correctly with the “accepts marketing” tag as displayed below:

shopify-accepts-marketing

Unfortunately, the Chimpified app does not sync this customer to Mailchimp… presumably because no order has taken place.

Is it possible to include these customers in the Chimpified sync?