> ## Documentation Index
> Fetch the complete documentation index at: https://docs.partnero.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Transactions & protection settings

Transaction and protection settings define which sales Partnero treats as fraudulent, so you do not pay commissions on self-referrals, duplicate purchases, or paid ad traffic. They are available for affiliate and refer-a-friend programs.

***

### Available settings

**Allow self-referring sales**\
By default, Partnero marks a transaction as *fraudulent* when the customer’s email matches the partner’s email. This prevents partners from earning commission on their own purchases. If your program lets partners create accounts and buy on behalf of their customers, turn this setting on to allow self-referring sales.

**Prevent multiple transactions**\
Limits how often one customer can make a transaction within a set period. For example, you can allow no more than one purchase per customer within 60 seconds.

**Reject referrals from paid ads**\
Stops partners from earning on traffic they bought through ads, for example by bidding on your brand name. When it's on, choose what happens to a referral that comes from a paid ad:

* **Block** (default): the PartneroJS script ignores the referral click, so no referral cookie is set and the sign-up isn't attributed to the partner. If the visitor already had a referral cookie from an earlier visit, that referral is kept.
* **Hold for review**: the click is tracked as usual, but commissions or rewards for that referral are marked as *fraudulent*, so they aren't paid until you review them. If the traffic was allowed, [convert them back to rewardable](https://docs.partnero.com/knowledge-base/customers-leads/convert-a-fraudulent-transaction-to-rewardable.md).

A referral counts as coming from a paid ad when its landing URL contains either of these:

* An ad click ID: `gclid`, `gbraid`, `wbraid`, `gad_source`, `gad_campaignid`, `dclid` (Google), `msclkid` (Microsoft), `ttclid` (TikTok), `li_fat_id` (LinkedIn) or `twclid` (X).
* A `utm_medium` or `medium` of `cpc`, `ppc`, `paid`, `paidsearch`, `paid_search`, `paid_social`, `display` or `cpm`.

Facebook's `fbclid` isn't treated as a paid-ad signal, because Facebook also adds it to links shared organically.

**Customers created through the API**\
Partnero checks the `options.referral_url` you send, so set it to the visitor's landing URL. There's no click to block here, which makes **Block** behave like **Hold for review**: the referral is still attributed, but its commissions or rewards are marked as *fraudulent* until you review them. The reason names the signal that matched, for example **Referral from a paid ad (gclid)**.

***

### How to change transaction settings

1. In your program, go to **Program** > **Settings**.
2. Scroll down to the **Transactions & protection** section and turn each setting on or off.\\

   ![Image](https://mintcdn.com/partnero/xgJtXp8ZFPaoZot6/images/image-284.png?fit=max\&auto=format\&n=xgJtXp8ZFPaoZot6\&q=85\&s=b4b329f4a6e1461ada70c65395cc7f6f)

   For **Reject referrals from paid ads**, also choose **Block** or **Hold for review**:

   ![Image](https://mintcdn.com/partnero/xgJtXp8ZFPaoZot6/images/image-285.png?fit=max\&auto=format\&n=xgJtXp8ZFPaoZot6\&q=85\&s=1327f7ab9e47dc7f0d16704e1b67c8b3)
3. Click **Update**.

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.