Skip to content

Commit fe86f20

Browse files
committedMay 4, 2014
Google analytics
1 parent 0896a76 commit fe86f20

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed
 

‎EDAV-assignment1.html

+10
Original file line numberDiff line numberDiff line change
@@ -982,5 +982,15 @@ <h2><A NAME="getintouch">Get in touch</A></h2>
982982
<p>Copyright (c) 2014 Andrew Yuan. No rights reserved. | Photos by <a href="#">Me</a> | Design by <a href="http://www.freecsstemplates.org/" rel="nofollow">CSS Templates</a>.</p>
983983
</div>
984984
</body>
985+
<script>
986+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
987+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
988+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
989+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
990+
991+
ga('create', 'UA-50045474-1', 'andrewyuan.github.io');
992+
ga('send', 'pageview');
993+
994+
</script>
985995

986996
</html>

‎EDAV-assignment2.html

+11
Original file line numberDiff line numberDiff line change
@@ -3581,4 +3581,15 @@ <h2><A NAME="getintouch">Get in touch</A></h2>
35813581
<p>Copyright (c) 2014 Andrew Yuan. No rights reserved. | Photos by <a href="#">Me</a> | Design by <a href="http://www.freecsstemplates.org/" rel="nofollow">CSS Templates</a>.</p>
35823582
</div>
35833583
</body>
3584+
<script>
3585+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
3586+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
3587+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
3588+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
3589+
3590+
ga('create', 'UA-50045474-1', 'andrewyuan.github.io');
3591+
ga('send', 'pageview');
3592+
3593+
</script>
3594+
35843595
</html>

0 commit comments

Comments
 (0)