Skip to content

Commit e3a4b95

Browse files
committed
fix google analytics again: put the id in _config.yml
1 parent 21b45e4 commit e3a4b95

File tree

3 files changed

+1
-25
lines changed

3 files changed

+1
-25
lines changed

_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ footer-links:
3434
disqus:
3535

3636
# Enter your Google Analytics web tracking code (e.g. UA-2110908-2) to activate tracking
37-
google_analytics:
37+
google_analytics: UA-58930825-1
3838

3939
# Your website URL (e.g. http://barryclark.github.io or http://www.barryclark.co)
4040
# Used for Sitemap.xml and your RSS feed

_posts/2015-01-24-golden-ratio-and-fibonacci-numbers.md

-12
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,6 @@ category: math
55
tags: golden_ratio, Fibonacci, series
66
---
77

8-
<script>
9-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
10-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
11-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
12-
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
13-
14-
ga('create', 'UA-58930825-1', 'auto');
15-
ga('send', 'pageview');
16-
17-
</script>
18-
19-
208
Pretty much everybody heard about the golden ratio, and if you are a little
219
math-inclined or still remember something from school, you may have heard
2210
the Fibonacci numbers too. That is, 0, 1, 1, 2, 3, 5, 8, 13, 21, etc, where

index.html

-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,6 @@
11
---
22
layout: default
33
---
4-
<script>
5-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
6-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
7-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
8-
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
9-
10-
ga('create', 'UA-58930825-1', 'auto');
11-
ga('send', 'pageview');
12-
13-
</script>
14-
15-
164
<div class="posts">
175
{% for post in site.posts %}
186
<article class="post">

0 commit comments

Comments
 (0)