Skip to content

dimension.item

This function is used to retrieve the name of an element in a dimension at specified index, returns a String.

js
dimension.item(dimension_name, index)

Parameters

  • dimension_name - Name of a dimension.
  • index - Position of an element

Example

js
let element_name = dimension.item("time", 1);