]> git.sur5r.net Git - bacula/docs/commitdiff
Add Goggle Analytics
authorKern Sibbald <kern@sibbald.com>
Mon, 26 Apr 2010 16:59:50 +0000 (18:59 +0200)
committerKern Sibbald <kern@sibbald.com>
Mon, 26 Apr 2010 16:59:50 +0000 (18:59 +0200)
docs/home-page/de/inc/footer.php
docs/home-page/en/inc/footer.php
docs/home-page/es/inc/footer.php
docs/home-page/fr/inc/footer.php

index 5a8471144b4898ffc1b646db6e6fcef02b74a66e..cef6105aad51da6632dc493944465208ac87e1cf 100644 (file)
@@ -1,10 +1,19 @@
          <div>
-            <img src="/images/spacer.gif" alt="spacer" width="1px" height="50px"><br>
+            <img src="../images/spacer.gif" alt="spacer" width="1px" height="50px"><br>
               <?
                if(isset($_SESSION['user']) && ($_SESSION['user'] == "bukdebug"))
                   print_r($_SERVER);
               ?>
          </div>
       </div>
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-16067904-1");
+pageTracker._trackPageview();
+} catch(err) {}</script>
    </body>
 </html>
index 7ccbd8e07409bc3d0f9fa543833133505afee265..cef6105aad51da6632dc493944465208ac87e1cf 100644 (file)
@@ -6,5 +6,14 @@
               ?>
          </div>
       </div>
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-16067904-1");
+pageTracker._trackPageview();
+} catch(err) {}</script>
    </body>
 </html>
index 7ccbd8e07409bc3d0f9fa543833133505afee265..cef6105aad51da6632dc493944465208ac87e1cf 100644 (file)
@@ -6,5 +6,14 @@
               ?>
          </div>
       </div>
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-16067904-1");
+pageTracker._trackPageview();
+} catch(err) {}</script>
    </body>
 </html>
index de8a8b95782c8761c70d10f450ce341de49b0be4..cef6105aad51da6632dc493944465208ac87e1cf 100644 (file)
@@ -1,10 +1,19 @@
          <div>
-            <img src="../images/spacer.gif" alt="spacer" width="1" height="50"><br>
+            <img src="../images/spacer.gif" alt="spacer" width="1px" height="50px"><br>
               <?
                if(isset($_SESSION['user']) && ($_SESSION['user'] == "bukdebug"))
                   print_r($_SERVER);
               ?>
          </div>
       </div>
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-16067904-1");
+pageTracker._trackPageview();
+} catch(err) {}</script>
    </body>
 </html>