Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mailchimp PopUp #24

Open
wants to merge 4 commits into
base: gh-pages
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,12 @@ owner:
google_analytics: UA-39365944-7
google_verify:
# https://ssl.bing.com/webmaster/configure/verify/ownership Option 2 content= goes here
bing_verify:
bing_verify:

# Mailchimp PopUp Subscribers (mailchimp: true = all pages, or set page by page)
mailchimp: true
mailchimp_uuid: YOUR_UUID
mailchimp_lid: YOUR_LID

# Links to include in footer navigation
# For external links add external: true
Expand Down
5 changes: 5 additions & 0 deletions _includes/scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,9 @@
})();
</script>
{% endif %}

{% if page.mailchimp or site.mailchimp %}
<script type="text/javascript" src="//s3.amazonaws.com/downloads.mailchimp.com/js/signup-forms/popup/embed.js" data-dojo-config="usePlainJson: true, isDebug: false"></script><script type="text/javascript">require(["mojo/signup-forms/Loader"], function(L) { L.start({"baseUrl":"mc.us10.list-manage.com","uuid":'{{ site.mailchimp_uuid }}',"lid":'{{ site.mailchimp_lid }}'}) })</script>
{% endif %}

{% if page.comments %}{% include disqus_comments.html %}{% endif %}
21 changes: 21 additions & 0 deletions documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ google_verify:
# https://ssl.bing.com/webmaster/configure/verify/ownership Option 2 content= goes here
bing_verify:

# Mailchimp PopUp to Subscribers
- mailchimp:
- mailchimp_uuid:
- mailchimp_lid:


# Links to include in top navigation
# For external links add external: true
links:
Expand Down Expand Up @@ -335,6 +341,21 @@ Including a link to your Google+ profile has the added benefit of displaying [Go

Your Google Analytics ID goes here along with meta tags for [Google Webmaster Tools](http://support.google.com/webmasters/bin/answer.py?hl=en&answer=35179) and [Bing Webmaster Tools](https://ssl.bing.com/webmaster/configure/verify/ownershi) site verification.

#### Mailchimp PopUp to get Subscribers

You need:

1 - Create a list (to your future subscribers) in mailchimp.com (https://us10.admin.mailchimp.com/lists/).

2 - Create a sign up form (PopUp type) inside of the list page. You can customize your PopUp. Generate the embedded code and get the UUID and LID fields on the generated code.

3 - Put your UUID and LID code in _config.yml (mailchimp_uuid and mailchimp_lid).

4 - Put (mailchimp: true) in _config.yml if you want the the PopUp appear in all screens (don't worry, appear just a time by user or when user delete cookies) or put (mailchimp: true) just on the page that you want the PopUp.

[Optional - Send automatic email (one time by day or week) about new post]
5 - Go to https://us10.admin.mailchimp.com/campaigns/, create a new campaign of the type Rss campaign. Just configurate to point for www.youdomain.com/feed.xml, choice the created list and a template.

#### Top Navigation Links

Edit page/post titles and URLs to include in the site's navigation. For external links add `external: true`.
Expand Down