Skip to main content

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>

Signature:
interface LinkClickEvent 

Properties

PropertyTypeDescription
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
targetUrlstringThe target URL of the link