Devices

The Devices visualization shows which devices individual visitors are using to browse the website.

devicesmap

Map Elements

devices_leftbar The left side of the map tracks information about devices. Click each device to toggle it on and off. This alters items displayed in the right bar chart. A device that is toggled off does not appear, but data is still collected.
devices_rightbar The right bar chart tracks information about visitors using a combination of actively toggled devices. The default value is data.wt.cg_n and data.wt.cg_s (sorting by data.wt.cg_s); to change the value, see Right Bar Chart below.
eggs Each egg that moves across the screen represents a user. Up to 25 users for each device are shown at any given moment, although more users may actually be using a device.
info_egg An information egg—also called a broken egg—shows information from a random live visit while moving across the track. Only one broken egg per device appears at a time.
datawindowticker Results you view on the map are limited to visitors that arrive within the window of data indicated by the sliding 60-second window.
pageviewcounter A total page view counter and reference of when the visualization started appears below the right bar chart.

Customizing the Bar Charts

You can customize the visualization by using certain parameters and values in the URL string.

Note: Separate multiple parameters with a pipe character: |.

For example:

store:Hoopers|fruit:bananas|customer:big+bird
Right Bar Chart

URL Parameter: key1, key2

key1 is the primary sort. key2 is an optional secondary sort. The information egg displays both sorts. To remove key2, pass key2:meta.none.

URL Example:

http://streams.webtrends.com/viz/#devices/key1:ext.geo.city|key2:ext.geo.country
Filtering Results

URL Parameters: where, or

URL Example:

http://streams.webtrends.com/viz/#trafficmap/where:ext.geo.country=france

Usage notes:

  • Use the plus character + to indicate a space. If the parameter value contains +, use a double backslash to escape it. For example:
    city:San+Francisco|restaurant:sushi\\+sake
  • Quotes are not used in the syntax.
  • If your value contains an asterisk, the query generated will use LIKE or NOTLIKE. If there is no asterisk, the query is a straight equal to or not equal to test.
  • A comma-separated list of values in a where query are interpreted as a set of AND conditions.
  • A comma-separated list of values in a or query are interpreted as a set of OR conditions.

URL Example:

http://streams.webtrends.com/viz/#trafficmap/where:ext.device.type=mobile,ext.geo.country=*united*|or:ext.geo.city=new+york

Default connection details for Devices data

Stream Type
content
Query
select data.wt.cg_n, data.wt.cg_s, ext.device.type
JSON Connection Object
{
    “access_token” : “your_token”,
    “api_version” : “2.0”,
    “schema_version” : “2.0”,
    “command” : “stream”,
    “stream_type” : “scenarios”,
    “query” : “data.wt.cg_n, data.wt.cg_s, ext.device.type”
}