Move analytics to <HEAD>

This commit is contained in:
Evan Morikawa 2015-10-06 13:52:57 -07:00
parent 666b6ef5ed
commit 6dc4612c76
2 changed files with 5 additions and 4 deletions

View file

@ -51,7 +51,3 @@ fbq('track', "PageView");</script>
src="https://www.facebook.com/tr?id=416174325242828&ev=PageView&noscript=1" src="https://www.facebook.com/tr?id=416174325242828&ev=PageView&noscript=1"
/></noscript> /></noscript>
<!-- End Facebook Pixel Code --> <!-- End Facebook Pixel Code -->
<!-- Optimizely -->
<script src="//cdn.optimizely.com/js/3228770331.js"></script>
<!-- End optimizely -->

View file

@ -40,4 +40,9 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bluebird/2.10.2/bluebird.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/bluebird/2.10.2/bluebird.min.js"></script>
<script src="{{ site.baseurl }}/js/index.js"></script> <script src="{{ site.baseurl }}/js/index.js"></script>
<!-- Optimizely -->
<!-- Needs to be in HEAD to prevent load flashing -->
<script src="//cdn.optimizely.com/js/3228770331.js"></script>
<!-- End optimizely -->
</head> </head>