зеркало из https://github.com/mozilla/makerparty.git
Add GA snippet
This commit is contained in:
Родитель
b5e469b8dc
Коммит
0893eee212
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "makerparty",
|
||||
"version": "1.0.7",
|
||||
"version": "1.0.8",
|
||||
"description": "Mozilla Maker Party Site",
|
||||
"main": "server/js/server.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -9,6 +9,18 @@
|
|||
<link href="//mozorg.cdn.mozilla.net/media/css/tabzilla-min.css" rel="stylesheet" />
|
||||
<link rel="stylesheet" href="/bower_components/jquery-colorbox/example4/colorbox.css" />
|
||||
<link rel="stylesheet" href="/compiled/style.min.css">
|
||||
<script type="text/javascript">
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', 'UA-35433268-12']);
|
||||
_gaq.push(['_setDomainName', 'webmaker.org']);
|
||||
_gaq.push(['_trackPageview']);
|
||||
|
||||
(function() {
|
||||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
{% block bodyOpen %}
|
||||
<body>
|
||||
|
|
Загрузка…
Ссылка в новой задаче