Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

Commit

Permalink
Change Piwik to Matomo
Browse files Browse the repository at this point in the history
  • Loading branch information
quassy authored May 18, 2020
1 parent 430550b commit 9a5a12d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ $(function(){
if (window.location.protocol !== 'https:') {
window.location = 'https://' + window.location.hostname + window.location.pathname + window.location.hash;
}
{% if site.piwik_analytics %}
{% if site.matomo_analytics %}
// Piwik
var _paq = window._paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//qxy.uber.space/piwik/";
var u="{{ site.matomo_analytics }}";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '13']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
Expand Down

0 comments on commit 9a5a12d

Please sign in to comment.