Tag Events Explore custom queries and reference
Use the Tag Events Explore to see information about adding and removing tags to/from your audience.
Access history related to TagMetadata that you can associate with channels or Named Users for audience segmentation. Generally, they are descriptive terms indicating user preferences or other categorizations, e.g., wine_enthusiast
or weather_alerts_los_angeles
. Tags are case-sensitive. adds and removals, get Tag values at the time of Tag-related events, and get information about channels associated with specific Tags and/or Tag events.
Data availability depends on your Performance Analytics plan.
Navigation
To access the Explore:
- Go to Reports, then Performance Analytics.
- Select the folder icon (), then Shared.
- Under Looks, select Explore Glossary (Explore Glossary EUCS for EU customers).
- Select Tag 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 Tag Events Explore:
Category | Description |
---|---|
Query Parameters | Target all or specific projects, and specify dates and response windows, where relevant. |
Tag Events | Set Tag parameters for the query. |
Tags Current | Get Tag values associated with the channels at the time the report is run. |
Tags Relative | Get Tag values associated with the channels at the time the filtered Tag event occurred. |
User Detail | Get information about the channel that performed the filtered event. |
User Detail - Derived | Get 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 Tag Events Explore:
Filter name | Field category | Use the filter to... |
---|---|---|
Current Project Only | Query Parameters | Determine which projects are included in the query. Default selection: Yes. To include other projects within your company, select No, then:
|
Date Range | Query Parameters | Target events that occurred on a specific date or within a specific date range. |
Tag Action Filter | Tag Events | Return Tags that were set, removed, or either. Use with operator is. Select one of: Add, Delete, All. |
Tag Group Filter | Tag Events | Specify the Tag GroupAn array of tags that you can associate with both channels and Named Users. you want to return tags for. Default selection: Notification Opt-in. Must not be empty. Use with operator is equal to. |
Tag Name Filter | Tag Events | Return results for specific Tags. Enter Tags by name. Default value: false. Default operator: is equal to. To return all possible Tags for the filtered Tag Group, select the operator is not null. |
The Tag Action, Group, and Name Filters include non-matched (null) records. To return matched records only, add the Tag Action, Tag Group, and Tag Name Dimensions from the Tag Events field category.
Building custom queries
The following sections walk you through using the Tag Events Explore to create custom queries that answer:
- How can I get a list of all the Tags available under a specific Tag Group? How many users had these Tags added over the past 30 days?
- How can I get a list of users that had a Tag added after interacting with a button in an In-App AutomationMessages cached on users’ devices and displayed when users meet certain conditions within your app, such as viewing a particular screen or opening the app a certain number of times.?
Getting Tags in a Tag Group
Follow these steps to get a list of Tags in a Tag Group and the number of users who had the Tag set over the past 30 days. We only need to use the default filters.
- This report does not return whether or not users still have the Tag set. To return that data, use the Audience with Attributes Explore.
- If a Tag does not appear for selection in Performance Analytics, it means that no add or remove event has occurred for the Tag during the specified time range.
First, open the Tag Events explore, and then configure your query:
Set up the filters:
- Leave Current Project Only set to
is Yes
. - Set Date Range to
is in the past 30 complete days
. - Leave Tag Action set to
Add
. - Set Tag Group to the Tag Group you want to return Tags for.
- Set the Tag Name operator to
is not null
.
- Leave Current Project Only set to
In the sidebar, specify the value and measurement to display:
- Select Tag Events, then select the Dimension Tag Name.
- Select User Detail, then select the Measure User Count.
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.
Getting Tag adds for button interaction
Follow these steps to get a list of users that had a Tag added after interacting with a button in an In-App AutomationMessages cached on users’ devices and displayed when users meet certain conditions within your app, such as viewing a particular screen or opening the app a certain number of times.. We only need to use the default filters. You must know the name of the Tag for the button interaction. Users will be identified by Channel IDAn Airship-specific unique identifier used to address a channel instance, e.g., a smartphone, web browser, email address..
First, open the Tag Events explore, and then configure your query:
Set up the filters:
- Leave Current Project Only set to
is Yes
. - Set Date Range to a range that makes sense for your query.
- Leave Tag Action set to
is Add
. - Set Tag Group to the Tag Group containing the Tag you want results for.
- Set the Tag Name operator to
is equal to
and select the Tag associated with the button interaction.
- Leave Current Project Only set to
In the sidebar, specify the value and measurement to display:
- Select Tag Events, then select the Dimension Tag Name.
- Select User Detail, then select the Dimension Channel ID and Measure User Count. If you’re using Named UsersA customer-provided identifier used for mapping multiple devices and channels to a specific individual. in your project, you can also add the Dimension Named User to identify these users in your database.
Now you are ready to get your data. Select Run, and you should see results similar to the below image. To get count of users, select Totals in the Data header. To save your custom query for later access, follow the steps in Saving Performance Analytics queries.
Categories