1
Working with API to handle data on conversion, I can get the total conversions per meta if I make explicit the API query parameter for metric, as follows:
$metrics = 'ga:goal1Completions,ga:goal2Completions,ga:goal3Completions',
[
'dimensions' => 'ga:date',
'output' => 'dataTable'
]
The problem of doing this is that I don’t know how many goals are registered for each customer, it varies between 1 and 20. It is unfeasible to list from 1 to 20, and in case it returns 0
i treat the line, which is the case of goal 3 in the example, which does not exist.