I’m trying to build a newsletter subscription for MailChimp on my meteor site. I think I’ve done everything that the doc says, but when I click on the submit button, simply nothing happens. Why?
This is in my html:
<template name="MailChimpListSubscribe">
<section class="mailchimp">
<div class="row">
<form id="subscribe-footer" class="form-inline">
<input class="mailchimp-email form-control" type="email" placeholder="ADDRESS@EMAIL.COM" />
<button class="mailchimp-subscribe btn btn-success" type="button">SUBMIT</button>
<div class="message signup"><p>Sign up for our newsletter</p></div>
<label class="error-message"></label>
{{#if message}}
<div class="mailchimp-message message thankyou"><p>You will now receive emails from us</p></div>
{{/if}}
</form>
</div>
</section>
</template>
in server/settings.js:
{
"private": {
"MailChimp": {
"apiKey": "myapikey",
"listId": "listid"
}
}
}