read piwik tracking code

This commit is contained in:
Jörg Thalheim 2012-07-21 20:06:05 +02:00
parent 02c06a51e1
commit cd47409c96

View File

@ -32,6 +32,19 @@ html.no-js.light lang="en"
== yield == yield
footer footer
== partial "footer" == partial "footer"
// Piwik
javascript:
var pkBaseURL = (("https:" == document.location.protocol) ? "https://piwik.higgsboson.tk/" : "http://piwik.higgsboson.tk/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
javascript:
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
noscript
p
img src="http://piwik.higgsboson.tk/piwik.php?idsite=1" style="border:0" alt=""
//! Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline //! Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline
/script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" /script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"
/javascript: /javascript: