Referrers.getAll does not return data column nb_visits,bounce_rate,avg_time_on_site


(NamNN) #1

Hi all,
I’m writing one tool take referrer data using referrer url but I’m having trouble because the method Referrers.getAll does not return data the column “nb_visits, bounce_rate, avg_time_on_site”.
eg:
http://demo.piwik.org/?module=API&method=Referrers.getAll&idSite=7&period=day&date=today&format=JSON&token_auth=anonymous
I’m get data of column nb_visits,bounce_rate,avg_time_on_site.

Pleas help me,
sorry for my bad english.
Thanks all.


(Matthieu Aubry) #2

Hi there,

To get metrics like Bounce rate and Average time on site, which are Processed metrics, you need to use the Metadata API: Metadata: API Reference - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3


(NamNN) #3

Thanks matt.
But I need retrieve data with url referrer . :frowning:
Best regards