Where did Goals.getConversionRate go?


(awendt) #1

When I try to access ‘Goals.getConversionRate’, I get an error:

“Method ‘getConversionRate’ does not exist or is not available in module ‘Piwik_Goals_API’”

That worked fine up until 1.4 or 1.5, the method is not documented anymore. I’m not sure if the e-commerce analytics is what I’m looking for.

Where can I get the conversion rate for the goals I defined through the API?

Thanks,
André


(Matthieu Aubry) #2

André, we have simplified the API and removed this method. You can now use Goals.get which contains this value as well.


(awendt) #3

[quote=matt]
You can now use Goals.get which contains this value as well.[/quote]

Thanks for your reply, Matt. Works like a charm!