DeviceFilter
Stay organized with collections
Save and categorize content based on your preferences.
Filters events by device model. These fields match the Device type. For best results, use a Device.display_name from a topAndroidDevices or topIosDevices report instead of manually constructing the string.
| JSON representation |
{
"displayNames": [
string
],
"formFactors": [
enum (FormFactor)
]
} |
| Fields |
displayNames[] |
string
Only counts events from the given Device model. This string matches Device.display_name. Format: "manufacturer (model)" e.g. "Google (Pixel 6)", or just "manufacturer" for all possible models, e.g. simply "Google". Note that a device's marketingName field can not be used for filtering.
|
formFactors[] |
enum (FormFactor)
Only counts events from devices with the given form factor (e.g. phone or tablet).
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-14 UTC.
[null,null,["Last updated 2026-05-14 UTC."],[],[]]