Changeset 306 in t29-www for lib/template.php


Ignore:
Timestamp:
Oct 9, 2012, 6:26:05 PM (11 years ago)
Author:
sven
Message:

Support für Piwik-Statistiken in Javascript und Template eingebaut.
Piwik (ähnlich Google Analytics) kann den Benutzer verfolgen ("tracken") und damit festestellen, wie lange er auf einer Seite war, welche Links er angeklickt hat, wie groß sein Bildschirm war, usw.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/template.php

    r301 r306  
    307307</div><!-- end of div id="footer-background-container" helper -->
    308308
    309   <!-- JavaScript at the bottom for fast page loading -->
     309  <? /* JavaScript at the bottom for fast page loading */ ?>
    310310  <script src="/shared/js-v6/libs/jquery-1.7.2.min.js"></script>
    311311  <script>window.t29={'conf': <?php print json_encode($this->javascript_config); ?>};</script>
     
    313313        $this->print_ressourceloader_links('js', '  <script src="%s"></script>'.PHP_EOL);
    314314  ?>
     315  <? /* Piwik Noscript, Script selbst wird asynchron im JS-Bereich aufgerufen */ ?>
     316  <noscript><img src="<? $p("js-piwik-noscript-imgsrc"); ?>" alt="" /></noscript>
    315317</body>
    316318</html>
Note: See TracChangeset for help on using the changeset viewer.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License