Social Media

Track and reward user activity on social media – like DMs, mentions, and follows – by reporting social events into your loyalty program.

What is the Social Media module?

The social media module allows you to track social engagement from your users and report that activity into the Loyalty Engine as events. This enables you to reward and react to social behavior such as follows, mentions, tags, and direct messages.

For example, when a user follows your Instagram account or mentions you in a post, the Loyalty Engine can receive that activity as an event, enabling you to award points, unlock offers, or trigger audience segmentation.

The social media module supports Instagram or TikTok. The activities tracked varies by social network.

Modules are sold separately and not included in the Loyalty Engine core platform licence. For pricing and details, contact your account manager.

For the Social Media module, different pricing applies per social network.


Instagram

Setup

1

Connecting your brand's Instagram account to the Loyalty Engine

To connect your brand's Instagram account to the Loyalty Engine for the purpose of tracking mentions, follows and DMs:

  1. WLL will share a one-time invitation link with you.

  2. Open the link and log in to the Facebook account that owns your Instagram business account.

  3. Grant the requested permissions.

Once connected, your loyalty tenant will automatically begin receiving social-related event data for the linked Instagram account.

2

Connecting a user's Instagram account to the Loyalty Engine

To track a user's Instagram activity associated with your brand's account:

  1. Add their Instagram username to their Loyalty Engine account as a profile attribute called instagramHandle (not to be confused with instagram_handle which is added automatically by the Loyalty Engine after the first piece of activity tracks).

  2. The user must then follow your brand account on Instagram (they can skip the step if they already do).

  3. The user must then send your brand account a DM.

Tracked activity

The following Instagram activity types are tracked and reported to the Loyalty Engine.

For private Instagram accounts, only follows and DMs are trackable.

Public, creator, and business accounts support all activity types below.

A user mentions your account in the caption of a post or reel, or tags your account in the media itself.

Mentions are reported almost instantly. Tags may take up to 20 minutes to appear.

Event type & properties

  • Event type: MENTIONED_YOU_SOCIAL

  • Reported properties:

    • caption

    • platform

    • media_url

    • mention_type ("mention" or "tag")

    • media_type ("post" or "reel")

Profile attributes

The following profile attributes are added to a user's Loyalty Engine account when they first DM you and some update each time a user does a trackable activity.

Attribute
Description

dm_keyword

instagram_handle

The user's Instagram user name at the time of the most recent trackable activity.

instagram_posts

The user's post count at the time of the most recent trackable activity.

instagram_follows

The number of Instagram accounts the user follows at the time of the most recent trackable activity.

instagram_followers

The number of Instagram followers the user has at the time of the most recent trackable activity.

instagram_follows_you

Store as true/false. Whether the user's account follows your account. Only updated whenever the user sends you a DM.

instagram_firstname

The first name on the user's Instagram account at the time of the most recent trackable activity.

instagram_lastname

The last name on the user's Instagram account at the time of the most recent trackable activity.

instagram_bio

The user's current Instagram bio at the time of the most recent trackable activity.

instagram_profile_image

The URL of the user's Instagram profile image.

instagram_verified

Stored as true/false. Whether the user's account has completed the DM linking process.


TikTok

Setup

1

Connecting your brand's TikTok account to the Loyalty Engine

TikTok only tracks hashtags in post captions. As no mentions, DMs or follow status is tracked, there is no need to link your brand TikTok account to the Loyalty Engine.

Instead, share a list of hashtags you want to track with your onboarding manager.

2

Connecting a user's TikTok account to the Loyalty Engine

To track a user's TikTok activity, add their TikTok username to their Loyalty Engine account as a profile attribute called tiktokHandle (not to be confused with tiktok_handle which is added automatically by the Loyalty Engine after the first piece of activity tracks).

Tracked activity

TikTok tracks hashtags on posts by user's who have added their TikTok username to their loyalty account.

After a user makes a post with one or more of the specified hashtags in the caption, it will be reported to the Loyalty Engine within 24 hours.

The user must have a public TikTok account for tracking to work.

Event type & properties

  • Event type: MENTIONED_YOU_SOCIAL

  • Reported properties:

    • caption

    • like_count (number of likes at the point the post tracks)

    • comments_count (number of comments at the point the post tracks)

    • platform

    • mention_type ("hashtag")

    • media_type ("tiktok video")

Profile attributes

The following profile attributes are added to a user's Loyalty Engine account each time they include a tracked hashtag in one of their posts.

Attribute
Description

tiktok_handle

The user's TikTok user name at the time of the most recent trackable activity.

tiktok_follows

The number of TikTok accounts the user follows at the time of the most recent trackable activity.

tiktok_followers

The number of TikTok followers the user has at the time of the most recent trackable activity.

tiktok_bio

The user's current TikTok bio at the time of the most recent trackable activity.

tiktok_profile_image

The URL of the user's TikTok profile image.

Last updated

Was this helpful?