Skip to content

Latest commit

 

History

History
123 lines (72 loc) · 2.9 KB

webinteraction.schema.md

File metadata and controls

123 lines (72 loc) · 2.9 KB

Web Interaction Schema

https://ns.adobe.com/xdm/context/webinteraction

The Web Interaction schema captures information about interactions that happened on a web page after the intial page load (see also Web Page View) was completed.

It is intended for recording interactions in rich web applications that do not trigger a new page load such as single page web apps (SPAs).

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

Schema Hierarchy

  • Web Interaction https://ns.adobe.com/xdm/context/webinteraction

Web Interaction Example

{
  "xdm:type": "other",
  "xdm:URL": "https://www.example.com/products/store/?view=1",
  "xdm:name": "product store",
  "xdm:linkClicks": {
    "xdm:value": 1
  }
}

Web Interaction Properties

Property Type Required Defined by
xdm:URL string Optional Web Interaction (this schema)
xdm:linkClicks Measure Optional Web Interaction (this schema)
xdm:name string Optional Web Interaction (this schema)
xdm:type enum Optional Web Interaction (this schema)
* any Additional this schema allows additional properties

xdm:URL

URL

The actual link/URL used for this web interaction

xdm:URL

  • is optional
  • type: string
  • defined in this schema

xdm:URL Type

string

xdm:linkClicks

Click of a web-link has occurred.

xdm:linkClicks

  • is optional
  • type: Measure
  • defined in this schema

xdm:linkClicks Type

  • Measurehttps://ns.adobe.com/xdm/data/measure

xdm:name

Name

The normative name used for this web link, used for classification purposes

xdm:name

  • is optional
  • type: string
  • defined in this schema

xdm:name Type

string

xdm:type

Type

The link type.

xdm:type

  • is optional
  • type: enum
  • defined in this schema

The value of this property must be equal to one of the known values below.

xdm:type Known Values

Value Description
download Download
exit Exit
other Other