Page 1 of 1

Piwik Analytics

Posted: Wed Nov 12, 2014 7:31 pm
by ][Moon][Shine][
Similar to the Google Analytics extension there really should be a Piwik Analytics extensions for those who want to analyse traffic without handing the data over to Google.

I am not a coder, so I can only guess it should be quite simple to use the Google Analytics extension as base and adapt for the use with Piwik?

The Piwik Integrations page strangely points to a discussion from June 2009 on another forum, so that's of no help at all. I know it's easy to just add the Piwik tracking code manually to the footer, but with the new extensions framework it would be much more elegant to just add an extension, which should offer some configuration options as well.

Re: Piwik Analytics

Posted: Thu Nov 13, 2014 2:23 pm
by Walther
That is a nice analytics program you found, wonder if it could be ported to a extension though, reading the http://piwik.org/docs/installation/

edit: installing it, *caramba!* over 6000 files :o

edit2: installed it, and glued the code in the google-analytics extension

Actually, an extension needed for Piwik Analytics (and many more usefull things) would be an extension tot add custom code to the footer of the page, just before the </body> tag.

Maybe in the same extension also the possibility to add custom code in the header, just before the </head> tag.

edit3: made an extension request which would also suit this request : inject custom code to header and footer

Re: Piwik Analytics

Posted: Thu Nov 13, 2014 8:42 pm
by NanaM
Walther wrote:edit3: made an extension request which would also suit this request : inject custom code to header and footer
Good idea, since we may want to use another analytics service or insert other type of code in header or footer.

Re: Piwik Analytics

Posted: Fri Nov 14, 2014 7:21 am
by ][Moon][Shine][
Agreed, great idea, a general custom header and/or footer code extension would make most sense.

Re: Piwik Analytics

Posted: Fri Nov 14, 2014 7:45 am
by NanaM
If so, consider posting a reply to that thread : viewtopic.php?f=456&t=2275361

Re: Piwik Analytics

Posted: Fri Nov 14, 2014 3:43 pm
by RMcGirr83
Walther wrote: edit: installing it, *caramba!* over 6000 files :o
Part of the reason for that is due to it having symphony and twig within the vendor file. Probably not needed as phpBB 3.1 already has these in the package.

Re: Piwik Analytics

Posted: Sat Nov 15, 2014 4:52 pm
by Walther

Re: Piwik Analytics

Posted: Mon Nov 17, 2014 11:52 am
by martti
Walther wrote:FYI: [ALPHA] Custom Code
+1 not handing your user's private data over to Google.

That's the primary motivation why I started the extension. (But it has many more use cases.)