Activity: custom
Success team avatar
Written by Success team
Updated over a week ago

This enables you to create a rule to give points for any activity on your site.

Custom rules require integration with LoyaltyLion's API and it is your responsibility to track relevant activities to LoyaltyLion when they happen.

Read the relevant document which will help your development team to set this custom rule up.

Don’t have a developer? Hire one here!

How are custom rules triggered?

1. Using our API

Custom rules can be triggered using our API, which is the preferred method if your store has in-house developers. For example, if you had a t-shirts store where people can upload their own designs, you could use the API to trigger a custom rule whenever someone uploads a design.

Developer documentation for using the API for this can be found here: are currently our biggest user of custom rules, and they are all triggered via the API.

2. Manually, in the LoyaltyLion merchant account

When viewing a member's page in the merchant account, you can manually trigger any custom rule for using the interface. This is ideal for smaller stores who don't have the capability to use the API.

Watch the video below to see how to set up a custom rule where points are given manually:

What options are available for custom rules?

  • Title

  • Notification text (on site)

  • Description

  • Points awarded

  • A reward limit (e.g. once a day, twice a month, etc)

  • Approval method: Immediate or Trigger


Q. How are rule limits decreased?

The rule limits are calculated as a calendar interval. That means that if you set the rule limit to only give points once per month if a customer completes the rule on June 30th they can re-trigger the rule again on July 1st. They will get the points both times but they would then need to wait until August 1st to be able to complete the activity again.

Q. Can I give points to my customers for social media engagement, for example posting about my company on Instagram or following my company on TikTok?

Connecting custom rule to social media (in order to collect data on the hashtag customers are posting) might be really tricky. This is something we’ve been offering in the past for Instagram. Customers would add their Instagram handle in LL, and if they’ve posted anything publicly with a hashtag merchant selected - they’d get points. Unfortunately, we were forced to disable the feature, as Instagram kept on actively discouraging us from getting this data. In the end, it would require a disproportionately high number of dev resources, and yet we wouldn’t be sure how long until Instagram blocks us again.

As for TikTok, setting this up is a bit more technical, so please involve your developers. We give you all the required API documentation. In order for a custom rule to work, we need to receive information that a specific customer completed a specific action in order to reward them points. However, we are not too sure about TikTok sharing customer data with 3rd party companies. We know that Instagram, Facebook, and Twitter are very hesitant to share their information with anyone, and we wouldn't be surprised if this might be also the case with TikTok.

Did this answer your question?