Rhizi / rhizi

Connective intelligence
GNU Affero General Public License v3.0
13 stars 3 forks source link

Add piwik analytics code in every web page #678

Closed Garbash closed 8 years ago

Garbash commented 8 years ago

Instructions from Piwik: (Open source analytics tool)

"Copy this code and paste it just before the closing tag on each page of your website. Or, just send this code and instructions to your developer."

clemsos commented 8 years ago

@Garbash where is Piwik hosted ? do we have a single Piwik ID per instance ? Should we add the Piwik ID in the config ?

Garbash commented 8 years ago

Piwik is hosted on their server. http://piwik.org/hosting/ We have a general Piwik id, and there's a plug-on that should enable us to parse between the different instances. https://piwik.pro/plugins/meta-sites/

I don't think we should configure anything in addition, but not completely sure. Will dig in once the initial code is pasted. BTW - the code exists in the issue, just click on the edit button on the issue description to see it.

On Fri, Dec 11, 2015 at 1:54 PM, Clément Renaud notifications@github.com wrote:

@Garbash https://github.com/Garbash where is Piwik hosted ? do we have a single Piwik ID per instance ? Should we add the Piwik ID in the config ?

— Reply to this email directly or view it on GitHub https://github.com/Rhizi/rhizi/issues/678#issuecomment-164059503.

+1-(415)-527-8124

alon commented 8 years ago

of course use the config for the id, and do not commit it by any means. Dor - otherwise you end up letting anyone contaminate your analytics / access them.

Garbash commented 8 years ago

You are the expert. I can only point to general documentation they have such as: http://developer.piwik.org/api-reference/tracking-javascript

If we later want to add additional tracking etc'

clemsos commented 8 years ago

Piwik support added in d780a9d . should change piwik_id and piwiki_url in the config file, then it will add the tracking code on the main page.

@Garbash what do you want to track exactly ? There is actually many options here http://developer.piwik.org/guides/tracking-javascript-guide

alon commented 8 years ago

closed by ecbf6adac1168583c5ba2388869aa22259b6060b