jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => Topic started by: thanhdanhh312 on 07.08.2018 04:02:06

Title: Piwik/ Matomo support in jDownloads
Post by: thanhdanhh312 on 07.08.2018 04:02:06
Hi all, I use JDownloads and I want to connect it to my analytics tool : piwik.
I want Piwik to record each downloads. But I don't know how to do that. Can you help me please ?
Thanks ;)

EDIT Please, please do not use topic nanmes like 'Please Help' as it is not useful. I also deal with such items last!! I have changed the title
Title: Re: Piwik/ Matomo support in jDownloads
Post by: ColinM on 07.08.2018 11:00:54
Hi
I know nothing about installing Piwick which is now called Matomo.
There is a Joomla system plugin, nfrPiwick, that needs one to add some code into it. You need to contact Piwik Matomo  and nfrPiwik about how to use that first.

ColinEdit topic title and text corrected to Matomo
Title: Re: Piwik/ Matomo support in jDownloads
Post by: UweS on 07.08.2018 11:01:12
At first: USE A TOPIC!

Then:
var downloadarray = Array('jd_download_url', 'jdbutton');
_paq.push(['setDownloadClasses', downloadarray]);
set this to your piwik function.
Edit topic title corrected to Matomo