Email Landing Page
A simple, customizable landing page for email signup, based on Rack and Sinatra. The current version has MailChimp and Google Analytics integration.
Please visit the live demo on Heroku and join the project mailing list
Instructions
$ git clone git://github.com/quartzmo/email-landing-page.git
$ cd email-landing-page
$ rm -rf .git
$ bundle install
- Register for a free MailChimp account and generate an API key (required).
- Edit
app.rb
, adding your MailChimp API key and list name (required). - Modify
public/index.html
, replacing sample content with your own. - If you want Google Analytics, edit
config.ru
, uncomment the indicated lines, and add your Google Analytics account ID (optional). $ bundle exec rackup
to start the app locally on port 9292.- Test locally.
- Register for a free Heroku account (optional).
- Follow instructions to deploy to Heroku, using the Cedar stack if desired (optional).
- Configure custom domain name with Heroku.
Todo: Full instructions including Heroku deployment
Credits
Inspired by alphabetum/landing-page.