node-tracker.linkclickevent
Home > @snowplow/node-tracker > LinkClickEvent
LinkClickEvent interface
A Link Click Event Used when a user clicks on a link on a webpage, typically an anchor tag <a>
interface LinkClickEvent
Properties
Property | Type | Description |
---|---|---|
elementClasses? | Array<string> | (Optional) An array of class names from the element clicked |
elementContent? | string | (Optional) The content of the element if present and enabled |
elementId? | string | (Optional) The ID of the element clicked if present |
elementTarget? | string | (Optional) The target value of the element if present |
targetUrl | string | The target URL of the link |