Skip to main content

Social media interaction tracking

Social media interaction tracking captures how users engage with social widgets embedded on your website, such as like buttons, share buttons, and tweet buttons.

Use social interaction tracking to:

  • Measure how often content is shared on social platforms
  • Identify which social networks drive the most engagement
  • Understand which content resonates with users enough to share
  • Track the performance of social sharing features

This table shows the support for social interaction tracking across the main client-side Snowplow tracker SDKs:

TrackerSupportedSince versionAuto-trackingNotes
Web3.0.0Requires site tracking plugin
iOS
Android
React Native
Flutter
Roku
Google Tag Managerv3

The social interaction event captures the social network, the action performed, and optionally the target content.

social_interaction

Event
Schema for a social interaction event
Schema URIiglu:com.snowplowanalytics.snowplow/social_interaction/jsonschema/1-0-0
Example
json
{
"action": "like",
"network": "facebook",
"target": "pbz00123"
}
Properties and schema
PropertyDescription
action
string
Required. The social action performed, e.g. like, retweet, share
network
string
Required. The social network, e.g. facebook, twitter
target
string
Optional. The object of the social action, e.g. a page ID or product ID
Warehouse query
sql
select
unstruct_event_com_snowplowanalytics_snowplow_social_interaction_1_0_0
from
PIPELINE_NAME.events events
where
events.collector_tstamp > timestamp_sub(current_timestamp(), interval 1 hour)
and events.event = 'unstruct'
and events.event_name = 'social_interaction'
and events.event_vendor = 'com.snowplowanalytics.snowplow'