Saim
Saim

Reputation: 2533

How to get Goal Conversion history from PIWIK

I am using Piwik managed goal conversion for my pages. How can I get the history of goal conversions like I get the visits history. Currently, I only can fetch the total conversions against an idSite but I need the complete log as well.

I need to fetch this through API.

After some research it turns that Goals.getConversions is better option if one just want to gets the conversion for the day.

Upvotes: 0

Views: 532

Answers (1)

NickT
NickT

Reputation: 805

Via the Live! Analytics API, you should be able to query the visits with conversions, by using the API Segment parameter &segment=visitConverted==1

This will return all visits with a conversion, then you can grab the conversions from the array for each visit..

Upvotes: 1

Related Questions