NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

Request Analytics
Started by Mattchow

Mattchow

Mattchow

Member
Joined
20 Aug 2016
Last Seen
09 Jan 2017
Topics
1
Posts
4

Hi,

I know GA is currently supported, but it would be awesome if I could use Piwik.

I have attempted to add the code to various parts of the site, and it seems to displays, but no data is collected. I tested the tracking code on another page not running Nameless and it works just fine.

Regards

Matt

Mattchow · over 7 years ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
02 May 2024
Topics
41
Posts
1050

Hi,

I'll definitely look into this for you, supporting a wider range of analytic tools is something I'm hoping to do in the near future.

Samerton · over 7 years ago
Mattchow

Mattchow

Member
Joined
20 Aug 2016
Last Seen
09 Jan 2017
Topics
1
Posts
4

Hey, 

That would be awesome. If I find a way to do it I will share my success, I just don't have a huge amount of time at the moment.

One thing that might help you, is that Piwik's code is very similar to GA. If I was able to paste the code including 

Regards

Matt

Mattchow · over 7 years ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
02 May 2024
Topics
41
Posts
1050

If the script needs pasting into the head tag, try adding ?> to the end of core/includes/template/header.php, followed by the Piwik Javascript code.

Samerton · over 7 years ago
Mattchow

Mattchow

Member
Joined
20 Aug 2016
Last Seen
09 Jan 2017
Topics
1
Posts
4

Hey,

Thanks for the suggestion this works perfectly.

However this did not work at first. I have Piwik installed on another domain and was using a website account under that installation. 

When I installed Piwik on a subdomain on the same doamin as Nameless (and updated the tracking code) it works perfectly. Im sure it could be configured to work across domains. However since i was going to install it on the same domain at some stage anyway, I had no need to try to get it to work.

Thanks for the help

Matt

Mattchow · over 7 years ago