snowplow/snowplow-javascript-tracker

View on GitHub
api-docs/docs/node-tracker/markdown/node-tracker.buildsocialinteraction.md

Summary

Maintainability
Test Coverage
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@snowplow/node-tracker](./node-tracker.md) &gt; [buildSocialInteraction](./node-tracker.buildsocialinteraction.md)

## 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.

<b>Signature:</b>

```typescript
declare function buildSocialInteraction(event: SocialInteractionEvent): PayloadBuilder;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  event | SocialInteractionEvent | Contains the properties for the Social Interaction event |

<b>Returns:</b>

PayloadBuilder

PayloadBuilder to be sent to