fix for url issue

This commit is contained in:
James Addison Pellerano 2018-03-04 11:13:38 -05:00
parent fb41870901
commit 64989e8146
2 changed files with 3 additions and 3 deletions

View file

@ -1,8 +1,8 @@
Gem::Specification.new do |s|
s.name = 'jekyll-analytics'
s.version = '0.1.9'
s.date = '2018-02-03'
s.version = '0.1.10'
s.date = '2018-03-04'
s.summary = "Jekyll plugin "
s.description = "Plugin to easily add web analytics to your jekyll site without modifying your templates. Supported are: Google Analytics, Piwik, Matomo, MPulse"
s.authors = ["Hendrik Schneider"]

View file

@ -7,7 +7,7 @@ class Matomo
_paq.push(['enableLinkTracking']);
(function() {
var u='//'+\"%{url}\";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setTrackerUrl', u+'/piwik.php']);
_paq.push(['setSiteId', '%{siteId}']);
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);