Skip to main content

node-tracker.buildlinkclick

Home > @snowplow/node-tracker > buildLinkClick

buildLinkClick() function

Build a Link Click Event Used when a user clicks on a link on a webpage, typically an anchor tag <a>

Signature:
declare function buildLinkClick(event: LinkClickEvent): PayloadBuilder;

Parameters

ParameterTypeDescription
eventLinkClickEventContains the properties for the Link Click event
Returns:

PayloadBuilder

PayloadBuilder to be sent to