mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-26 19:44:14 +01:00
18 lines
701 B
HTML
18 lines
701 B
HTML
|
{% if site.matomo %}
|
||
|
<!-- Matomo -->
|
||
|
<script type="text/javascript">
|
||
|
var _paq = _paq || [];
|
||
|
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||
|
_paq.push(['trackPageView']);
|
||
|
_paq.push(['enableLinkTracking']);
|
||
|
(function() {
|
||
|
var u="//{{- site.matomo.uri -}}/";
|
||
|
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
||
|
_paq.push(['setSiteId', '{{- site.matomo.site_id -}}']);
|
||
|
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||
|
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
||
|
})();
|
||
|
</script>
|
||
|
<!-- End Piwik Code -->
|
||
|
{% endif %}
|