layout: piwik in a partial
This commit is contained in:
parent
7ab79c7551
commit
a84f1f9ead
13
source/_piwik.slim
Normal file
13
source/_piwik.slim
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
// 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="https://piwik.higgsboson.tk/piwik.php?idsite=1" style="border:0" alt=""
|
@ -50,19 +50,7 @@ html.no-js.light lang="en"
|
|||||||
== yield
|
== yield
|
||||||
footer
|
footer
|
||||||
== partial "footer"
|
== partial "footer"
|
||||||
// Piwik
|
== partial "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="https://piwik.higgsboson.tk/piwik.php?idsite=1" style="border:0" alt=""
|
|
||||||
/![if lt IE 7 ]
|
/![if lt IE 7 ]
|
||||||
<script defer src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
|
<script defer src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
|
||||||
<script defer>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
|
<script defer>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user