Exporting raw custom dimensions data using api


#1

Hi All,

I need to export custom dimensions raw data to be visualised it in third party tools. For now, I have been trying

  1. matomoxyz.com?module=API&method=Live.getLastVisitsDetails&idSite=19&period=day&date=yesterday&format=tsv&token_auth=xyz&flat=1

The issue with [1] is that we get only aggregated data for each dimension value. Is there a way to get full data for custom dimensions rather then only aggregated values .i.e. if there were 10 button clicks, I want to see how custom dimension value existed with timestamp?
I have also been trying to export full visit details, but that data is very unstructured and is not directly usable. Could you please suggest me if there is a way to do this?

Thanks,

Saad.