Permalink
Browse files

Add Google Analytics and re-style the signup form.

  • Loading branch information...
1 parent 68d25c5 commit f08ebabb12ac4242c87604cf4840d1fa0c7bd0dc @luigi luigi committed Nov 16, 2013
Showing with 12 additions and 1 deletion.
  1. +12 −1 index.html
View
@@ -47,7 +47,7 @@ <h3 class="text-muted">Code for Atlanta</h3>
<!-- Begin MailChimp Signup Form -->
<form action="http://codeforatlanta.us6.list-manage.com/subscribe/post?u=0cf233d236b57d728b10baea3&amp;id=2939763211" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="form-inline" role="form" target="_blank" novalidate>
- <input type="email" value="" name="EMAIL" id="mce-EMAIL" placeholder="Your email address" class="form-control" style="width: 300px">
+ <input type="email" value="" name="EMAIL" id="mce-EMAIL" placeholder="Your email address" class="form-control" style="width:250px;">
<input type="submit" value="Get Updates" name="subscribe" id="mc-embedded-subscribe" class="btn btn-primary">
</form>
@@ -86,5 +86,16 @@ <h3 class="text-muted">Code for Atlanta</h3>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
+
+ <script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+ ga('create', 'UA-4109304-17', 'codeforatlanta.org');
+ ga('send', 'pageview');
+
+ </script>
</body>
</html>

0 comments on commit f08ebab

Please sign in to comment.