Device Events Explore custom queries and reference

Use the Device Events Explore to get data related to device activity.

You can get detailed metrics for these default events: App Session, Install, Uninstall, Web Session, SMS First Opt-In, and Email First Opt-In.

Data availability depends on your Performance Analytics plan.

To access the Explore:

  1. Go to Reports, then Performance Analytics.
  2. Select the folder icon (), then Shared.
  3. Under Looks, select Explore Glossary (Explore Glossary EUCS for EU customers).
  4. Select Device Events, then Navigate to Explore.

For a list of all Explores in the glossary, see Predefined Explores in Exploring Performance Analytics data.

Field categories

The sidebar lists categories for various filters, DimensionsGenerally, a string field in Performance Analytics. They can be grouped and can act as filters or members of a data set., and MeasuresA numeric field in Performance Analytics — like a count or sum. Measures appear in orange within an explore. you can use to explore your data. To see their definitions, hover over an item, then select the “i” icon ().

Field categories in the Device Events Explore:

CategoryDescription
Attributes CurrentGet Attribute values associated with the channels at the time the report is run.
Attributes RelativeGet Attribute values associated with the channels at the time filtered event occurred.
Device EventsSet device event parameters for the query.
Device Properties CurrentGet device property values associated with the channels at the time the report is run.
Device Properties RelativeGet device property values associated with the channels at the time filtered event occurred.
Query ParametersTarget all or specific projects, and specify dates and response windows, where relevant.
Tags CurrentGet Tag values associated with the channels at the time the report is run.
Tags RelativeGet Tag values associated with the channels at the time filtered event occurred.
User DetailGet information about the channel that performed the filtered event.
User Detail - DerivedGet historical information about the channel that performed the filtered event.

Default filters

Use filters to reduce the number of records scanned and results returned. Each Explore includes filters that cannot be removed from the query.

The filter name, field category, and usage information for the default filters in the Device Events Explore:

Filter nameField categoryUse the filter to...
Current Project OnlyQuery ParametersDetermine which projects are included in the query. Default selection: Yes. To include other projects within your company, select No, then:
  1. In the sidebar, select Query Parameters.
  2. Under Dimensions, select the filter icon () next to Project name.
  3. In the Filters section, select the entry field next to the Project Name filter and choose which projects to include.
Date RangeQuery ParametersTarget events that occurred on a specific date or within a specific date range.
Event Type FilterDevice EventsReturn results for a specific event type. Default selection: App Session. Other possible selections: Install, Uninstall, Web Session, SMS First Opt-In, Email First Opt-In, or All.

Building custom queries

The following sections walk you through using the Device Events Explore to create custom queries that answer:

  • How can I get install and uninstall counts?
  • How can I determine the hour of the day when my users are the most active?

Getting install and uninstall counts

Follow these steps to get the number of install and uninstall events over the past 30 days.

First, open the Device Events explore, and then configure your query:

  1. Set up the filters:

    1. Set Event Type Filter to is All.
    2. Leave Current Project Only set to is Yes.
    3. Set Date Range to is in the past 30 complete days.
  2. In the sidebar, specify values and measures to display:

    1. Select Device Events, then the Dimension Event Date, then Date.
    2. Also in Device Events, select the Measures Install Count and Uninstall Count.
  3. Select the Line visualization format to display the report as a line graph.

Now you are ready to get your data. Select Run, and you should see results similar to the below image. To save your custom query for later access, follow the steps in Saving Performance Analytics queries.

Finding the most active hour

Follow these steps to determine the hour of the day when your users are the most active.

First, open the Device Events explore, and then configure your query:

  1. Set up the filters:

    1. Leave Event Type Filter set to is App Session.
    2. Leave Current Project Only set to is Yes.
    3. Set Date Range to is in the past 30 complete days.
  2. In the sidebar, specify values and measures to display:

    1. Select Device Events, then the Dimension Event Date, then Hour of Day.
    2. Also in Device Events, select the Measure App Session Count.
  3. Select the Column visualization format to display the report as a column chart / bar graph.

Now you are ready to get your data. Select Run, and you should see results similar to the below image. To save your custom query for later access, follow the steps in Saving Performance Analytics queries.