# Earning rules

Perkville allows you to set up a variety of earning rules within your loyalty program, each designed to cater to different aspects of customer engagement. These rules enable you to reward customers in ways that align with your business objectives and enhance their overall experience.

{% embed url="<https://vimeo.com/646615385/61b19849ae?p=1l>" %}

Here are the types of earning rules you can establish on Perkville:

* **Birthday**: Reward customers with points on their birthday.
* **Custom**: Create bespoke rules tailored to specific actions or events that are unique to your business.
* **Referral**: Encourage and reward customers for bringing new clients to your business through referrals.
* **Twitter**: Reward customers for tweeting about your business or following your account.
* **Activities**: Track activities without rewarding points for them. These activities can be used toward completing challenges in Perkville or triggering completed referrals such as when a referried friend buys a new membership at a gym.&#x20;

Explanations of each type of rule are available on the subsequent pages, providing you with all the information needed to effectively implement and manage these earning opportunities within your loyalty program.

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.perkville.com/features/earning-rules.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
