diff --git a/_config.yml b/_config.yml index 4b87333..a62df10 100644 --- a/_config.yml +++ b/_config.yml @@ -106,6 +106,9 @@ JB : site_id : mixpanel : token : '_MIXPANEL_TOKEN_' + piwik : + baseURL : 'myserver.tld/piwik' # Piwik installation address (without protocol) + idsite : '1' # the id of the site on Piwik # Settings for sharing helper. # Sharing is for things like tweet, plusone, like, reddit buttons etc. diff --git a/_includes/JB/analytics b/_includes/JB/analytics index 4b04ec9..951a0e3 100644 --- a/_includes/JB/analytics +++ b/_includes/JB/analytics @@ -7,6 +7,8 @@ {% include JB/analytics-providers/getclicky %} {% when "mixpanel" %} {% include JB/analytics-providers/mixpanel %} +{% when "piwik" %} + {% include JB/analytics-providers/piwik %} {% when "custom" %} {% include custom/analytics %} {% endcase %} diff --git a/_includes/JB/analytics-providers/piwik b/_includes/JB/analytics-providers/piwik new file mode 100755 index 0000000..077a373 --- /dev/null +++ b/_includes/JB/analytics-providers/piwik @@ -0,0 +1,10 @@ + \ No newline at end of file