advanced_dom_selection_changed
The advanced_dom_selection_changed event is published when a customer uses text selection on a page.
This event is limited on checkout to stores on the Shopify Plus plan.
This event is limited on checkout to stores on the Shopify Plus plan.
Anchor to propertiesProperties
- Anchor to clientIdclientIdclientIdstringstring
The client-side ID of the customer, provided by Shopify
- Anchor to datadatadataPixelEventsAdvancedDomSelectionChangedDataPixelEventsAdvancedDomSelectionChangedData
- Anchor to idididstringstring
The ID of the customer event
- Anchor to namenamenamestringstring
The name of the customer event.
- Anchor to seqseqseqnumbernumber
The sequence index number of the event.
- Anchor to timestamptimestamptimestampstringstring
The timestamp of when the customer event occurred, in ISO 8601 format
- Anchor to typetypetypeEventType.AdvancedDomEventType.AdvancedDom
PixelEventsAdvancedDomSelectionChangedData
- node
The node object for the event target.
DomNode
DomNode
Representation of a node in the document.
- attributes
A dictionary of attributes of an element. Only available on element nodes.
{ [key: string]: string; } - checked
The checked state of an element. Only available on input element nodes.
boolean - clientRect
The coordinates of the element in the viewport. Only available on element nodes.
ClientRect - nodeType
The type of node based on the native DOM API's [`nodeType`](https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType) values. It distinguishes different kind of nodes from each other, such as elements, text and comments.
number - scroll
The scroll coordinates of the element in the viewport. Only available on element nodes.
ClientRect - serializationId
The serialization id of the node. This is a unique identifier for the node based on its stable reference in the host DOM tree.
number - tagName
A string representation of the tag of a node. Only available on element nodes.
string - textContent
The text content of an element. Only available on text nodes.
string
ClientRect
An object that contains data about an element coordinates in a viewport.
- height
number - width
number - x
number - y
number
EventType
- AdvancedDom
advanced-dom - Custom
custom - Dom
dom - Meta
meta - Standard
standard