mirror of
https://github.com/hendrikschneider/jekyll-analytics
synced 2024-11-12 23:27:18 +00:00
fix for url issue
This commit is contained in:
parent
fb41870901
commit
64989e8146
2 changed files with 3 additions and 3 deletions
|
@ -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"]
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue