Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

Failed to use Live.getLastVisitsDetails with date=last10 and actionUrl segment

$
0
0

@paullo0106 wrote:

I'm using Live.getLastVisitsDetails method:

1.

The API doc says that we can pass in something like &period=day&date=last10 to get the recent X days data, but I got error message below:

Error: Date format must be: YYYY-MM-DD, or 'today' or 'yesterday' or any keyword supported by the strtotime function (see http://php.net/strtotime for more information)

2.

I tried to filter the return by actionUrl: &segment=actionUrl=@some_url
, and I got

{"result":"error","message":"Segment 'actionUrl' is not a supported segment."}

How should I achieve that goal? I refer to http://developer.piwik.org/api-reference/reporting-api-segmentation , but how do I know what are the specific segments supported in Live.getLastVisitsDetails, or other API methods?

my version is 2.14.3. Thanks.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles