Skip to content

Commit

Permalink
add analytics file
Browse files Browse the repository at this point in the history
  • Loading branch information
sfggeogis committed Jan 11, 2018
1 parent a24ea83 commit 4075668
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
24 changes: 24 additions & 0 deletions betaserver.google-analytics.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
*
*/
(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('set', 'transport', 'beacon');
ga('create', 'UA-46332195-2', 'auto');
ga('send', 'pageview');





2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ <h4 class="modal-title" id="link_modalLabel">Enllaçar</h4>
<script src="cesium-navigation/cesium-navigation.js"></script>
<script src="js/100cims-1.0.0.js" type="text/javascript"></script>
<script src="js/utils.js" type="text/javascript"></script>
<script src="/betaserver.google-analytics.js"></script>
<script src="betaserver.google-analytics.js"></script>

</body>

Expand Down
2 changes: 1 addition & 1 deletion llibreries/css/font-awesome.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4075668

Please sign in to comment.