Skip to content

Latest commit

 

History

History
143 lines (76 loc) · 2.86 KB

linkclicks.schema.md

File metadata and controls

143 lines (76 loc) · 2.86 KB

Link-Clicks Schema

https://ns.adobe.com/xdm/data/metrics/web/linkclicks

The web metric link-clicks describes the number of clicks on a link on a web page.

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated Yes Stabilizing No Forbidden Permitted data/linkclicks.schema.json

Schema Hierarchy

  • Link-Clicks https://ns.adobe.com/xdm/data/metrics/web/linkclicks

Link-Clicks Example

{
  "schema:name": "web metric: linkClicks",
  "@id": "xdm:linkClicks",
  "xdm:measurement": "count",
  "xdm:unit": null
}

Link-Clicks Properties

Property Type Required Defined by
@id string Required Metric Definition
schema:name string Required Metric Definition
xdm:measurement string Required Metric Definition
xdm:unit complex Required Metric Definition
* any Additional this schema allows additional properties

@id

The unique identifier of this metric.

@id

@id Type

string

  • format: uri-reference – URI Reference (according to RFC3986)

schema:name

The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique.

schema:name

schema:name Type

string

xdm:measurement

How to take measures of this metric.

xdm:measurement

xdm:measurement Type

string

xdm:measurement Examples

"distance"
"time"
"price"
"count"

xdm:unit

xdm:unit

xdm:unit Type

Any following options needs to be fulfilled.

Option 1

string

Option 2