Skip to content

Instantly share code, notes, and snippets.

@StephenKing
Created March 11, 2014 07:28
Show Gist options
  • Save StephenKing/9481096 to your computer and use it in GitHub Desktop.
Save StephenKing/9481096 to your computer and use it in GitHub Desktop.
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://piwik.example.org/" : "http://piwik.example.org/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 2);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script>
<noscript><span style="visibility: hidden"><img src="http://piwik.example.org/piwik.php?idsite=2" style="border:0" alt="" /></span></noscript>
<!-- that's how we include piwik -->
<html class=" webkit chrome mac js"><script type="text/javascript" src="chrome-extension://kajfghlhfkcocafkcjlajldicbikpgnp/catcher.js"><!-- script injected by Request Maker --></script><head><script src="http://piwik.example.org/piwik.js" type="text/javascript"></script><style class="f334a5b7e6f338ce465aa880661af48">object[type$="x-shockwave-flash"]:not([classid]),object[type$="futuresplash"]:not([classid]),embed[type$="x-shockwave-flash"],embed[type$="futuresplash"]{display:none !important}</style><style type="text/css"></style></head></html>
<!-- This is the result when looking at the site's HTML code in the Chrome dev bar - all contents have been replaced by piwik -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment