Skip to main content

node-tracker.buildsocialinteraction

Home > @snowplow/node-tracker > buildSocialInteraction

buildSocialInteraction() function

Build a Social Interaction Event Social tracking will be used to track the way users interact with Facebook, Twitter and Google + widgets e.g. to capture “like this” or “tweet this” events.

Signature:
declare function buildSocialInteraction(event: SocialInteractionEvent): PayloadBuilder;

Parameters

ParameterTypeDescription
eventSocialInteractionEventContains the properties for the Social Interaction event
Returns:

PayloadBuilder

PayloadBuilder to be sent to