Skip to content
This repository was archived by the owner on Dec 15, 2020. It is now read-only.

Commit a825e1b

Browse files
committed
update google analytics js
1 parent c0f7e08 commit a825e1b

File tree

1 file changed

+18
-9
lines changed
  • app/assets/javascripts

1 file changed

+18
-9
lines changed

app/assets/javascripts/ga.js

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
1-
var _gaq = _gaq || [];
2-
_gaq.push(['_setAccount', 'UA-5243064-17']);
3-
_gaq.push(['_trackPageview']);
4-
5-
(function() {
6-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
7-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
8-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
9-
})();
1+
//var _gaq = _gaq || [];
2+
//_gaq.push(['_setAccount', 'UA-5243064-17']);
3+
//_gaq.push(['_trackPageview']);
4+
//
5+
//(function() {
6+
// var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
7+
// ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
8+
// var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
9+
// })();
10+
11+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
12+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
13+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
14+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
15+
16+
ga('create', 'UA-5243064-18', 'librme.com');
17+
ga('send', 'pageview');
18+
1019

0 commit comments

Comments
 (0)