Browse Source

Add Google Analytics, authentication file.

Add:
        static/js/main.js
                -Add a global javascript file, with bitshift's Google Analytics
                snippet.

        static/google10335120a3066831.html
                -Add our Google "Administrator Console" authentication.
tags/v1.0^2
Severyn Kozak 10 years ago
parent
commit
26a20687db
3 changed files with 8 additions and 0 deletions
  1. +1
    -0
      static/google10335120a3066831.html
  2. +6
    -0
      static/js/main.js
  3. +1
    -0
      templates/layout.html

+ 1
- 0
static/google10335120a3066831.html View File

@@ -0,0 +1 @@
google-site-verification: google10335120a3066831.html

+ 6
- 0
static/js/main.js View File

@@ -0,0 +1,6 @@
(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('create', 'UA-51910807-1', 'bitshift.it');
ga('send', 'pageview');

+ 1
- 0
templates/layout.html View File

@@ -18,6 +18,7 @@

<link rel="shortcut icon" href="static/img/favicon.ico">
{{ assets.tag("main.css") }}
{{ assets.tag("main.js") }}

= block head
= endblock


Loading…
Cancel
Save