How to get visitors-sourced data scoped to one app

I'm using the Aggregation API in order to get information on the use of one part of our product, which is represented as a single app within a multi-app context for our overall subscription. For most sources, e.g. "pages", featureEvents", etc., I've been able to restrict the results to the app we are focusing on with the "appId" applied, such as:

"source": {
"pages": {
"appId": 5629499534213120
}
}

However, when I've tried the same technique with visitors,

"source": {
"visitors": {
"appId": 5629499534213120
}
}

I still appear to be getting data containing all visitors, not restricted to just the visitors who visited this particular app.

Is there a way to scope the results on visitors to the data associated with just one application?

0

コメント

2件のコメント
  •  
    Visitors and accounts are a subscription-wide thing so unfortunately they aren't tied to a specific app.
     
    To get a list of visitors that used a specific app, you can use the events endpoint and pass that with an app ID like you have done in the example above. Then, you need to add a time series to it. Once you add the time series it will pull a list of visitors with events in that specific app during that specific time.
     
    Hope this helps!
    0
  • Thanks! Then I'll go through the visitor results from events that are scoped appropriately. 

    1

サインインしてコメントを残してください。

お探しのものを見つけられませんでしたか?

新規投稿