summaryrefslogtreecommitdiff
path: root/source/_posts/mailchimp-newsletters.md
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2020-02-17 19:59:15 +0000
committerDavid T. Sadler <davidtsadler@googlemail.com>2020-02-17 19:59:15 +0000
commit498913806182905cc0c14bd12a61f9af26fa16b4 (patch)
tree0c36a6df72900c184e900b274bad14aa5114fc5d /source/_posts/mailchimp-newsletters.md
parent12b052b1f480c5a95acd1477e28ce76f84ff7932 (diff)
Switch over to Jigsaw
Diffstat (limited to 'source/_posts/mailchimp-newsletters.md')
-rw-r--r--source/_posts/mailchimp-newsletters.md42
1 files changed, 42 insertions, 0 deletions
diff --git a/source/_posts/mailchimp-newsletters.md b/source/_posts/mailchimp-newsletters.md
new file mode 100644
index 0000000..b631f6a
--- /dev/null
+++ b/source/_posts/mailchimp-newsletters.md
@@ -0,0 +1,42 @@
+---
+extends: _layouts.post
+section: content
+title: Mailchimp Newsletters
+date: 2018-11-21
+categories: [feature]
+description: Mailchimp newsletter signups, just add a url.
+cover_image: /assets/img/post-cover-image-1.png
+---
+
+[Mailchimp](https://mailchimp.com/) is a fantastic marketing platform, and takes the pain out of managing email lists and campaigns. The blog starter template comes with a beautiful pre-built newsletter form, that only needs a Mailchimp list URL to send to.
+
+To begin accepting subscribers, simply add your list URL to the form `action` in the `source/_components/newsletter-signup.blade.php` file.
+
+```html
+<!-- source/_components/newsletter-signup.blade.php -->
+
+<div id="mc_embed_signup">
+ <form action="https://your-mail-chimp-list-manage-url" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
+ <div id="mc_embed_signup_scroll">
+ <h2>Sign up for newsletter</h2>
+ <div class="mc-field-group">
+ <label for="mce-EMAIL">Email Address </label>
+ <input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL" placeholder="Email address">
+ </div>
+ <div id="mce-responses" class="clear">
+ <div class="response" id="mce-error-response" style="display:none"></div>
+ <div class="response" id="mce-success-response" style="display:none"></div>
+ </div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
+
+ <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_25582686a9fc051afd5453557_189578c854" tabindex="-1" value=""></div>
+ <div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
+ </div>
+ </form>
+</div>
+```
+
+### Example
+
+<img src="/assets/img/newsletter.png">
+
+[See how to get your Mailchimp list URL.](https://mailchimp.com/help/host-your-own-signup-forms/#Edit_your_Custom_Signup_Form)