API Sampler

API Sampler

by on ‎03-28-2016 12:53 PM - edited on ‎04-04-2017 09:52 PM by Community Manager (939 Views)

Overview

The API Sampler provides you with the raw data that AudienceStream uses to build your visitor profiles. You can review this data to make sure that AudienceStream is populating your visitor profiles properly. The data is presented in JSON format. You can find the API Sampler listed beneath the Discover menu.

Live_Feed_of_Data.png

Reviewing Data

In order to review any data, you must build a query through the Data Sampler Query Builder.

Data_Sampler_Query_Builder.png

To do this:

  1. Select the date of the data you want to view. You have three options:
    • Live feed - Provides a continuous feed of the latest visitor profile data as it comes into AudienceStream.
    • Today - Provides the visitor profile data just collected today.
    • Yesterday - Provides the visitor profile data collected for yesterday.
  2. The only formatting type supported is JSON, and is checked by default. You cannot change this.
  3. You can filter the query by a particular Badge attribute. Select the Badge attribute from the drop-down.

    Filtering_by_Badge.png

  4. Click Submit_Query_Button.png.

    Note: If you selected 'Live feed' for Date Selection, then AudienceStream will continuously display data until you click Stop_Query_Button.png or navigate away from the API Sampler.

Keep in mind that it may take a few minutes to populate the tab with the data from your query. To remove currently displayed query results, click the Clear_All_Button.png button.