Skip to content

Commit

Permalink
GA tracking of all my fans.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt R. Wilson committed Jul 14, 2015
1 parent 780e9ee commit fead386
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
9 changes: 9 additions & 0 deletions _includes/google_analytics.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<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-17054856-1', 'auto');
ga('send', 'pageview');
</script>
1 change: 1 addition & 0 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

<a class="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a>

<nav>
<div class="trigger">
{% for page in site.pages %}
{% if page.title %}
Expand Down
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</div>

{% include footer.html %}

{% include google_analytics.html %}
</body>

</html>
2 changes: 1 addition & 1 deletion css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


// Our variables
$base-font-family: Helvetica, Arial, sans-serif;
$base-font-family: sans-serif;
$base-font-size: 16px;
$small-font-size: $base-font-size * 0.875;
$base-line-height: 1.5;
Expand Down
4 changes: 2 additions & 2 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ So here are some other pages that might be more entertaining to you.
- No Twittering
- I work at [Warby Parker](https://www.warbyparker.com/)
- You can reach me at [{{ site.email }}](mailto:{{ site.email }})
- Some old [VSFX](https://vimeo.com/12357242) stuff from my days at [SCAD](http://www.scad.edu/academics/programs/visual-effects)

- Some old [VSFX](https://vimeo.com/12357242) stuff from my days at [SCAD](http://www.scad.edu/academics/programs/visual-effects)

0 comments on commit fead386

Please sign in to comment.