---
title: "How to add a referral link to a custom url?"
description: "Learn how to add a referral code to any link."
url: https://help.prflare.com/en/articles/66-how-to-add-a-referral-link-to-a-custom-url
collection: "Affiliate program"
updated: 2024-12-19
language: en
alternates: [ru, uk]
---

# How to add a referral link to a custom url?

Learn how to add a referral code to any link.

You can apply various filters and send your referrals links with specific filters, earning a reward for each order.  
  
To add an affiliate code to any link, you need to:

1.  Go to the website [prflare.com](http://prflare.com) and create the necessary filter for the sites you want your referral to receive. For example, we need to send a filter with the following data: sites related to Moldova, site theme Media, accepting political articles. We get a URL like this
    
      
    https://prflare.com/sites/?url=countries=md&themesSite=6298edc3bdf648dbc0fec0e4&acceptTopic=politic&page=1&limit=25
    
2.  To add an affiliate code to the filtered URL, you need to
    
    2.1. Go to the [affiliate dashboard](https://affiliate.prflare.com/dashboard) (if you don’t have an account for the affiliate program yet, [you need to create one](https://affiliate.prflare.com/register));
    
    2.2. Copy the part of the link that comes after https://prflare.com?
    
    For example, in your dashboard, your affiliate link is https://prflare.com?**aff=prflare**. You need to copy aff=prflare;
    
    2.3. Add the data from step 2 to the link obtained in step 1, and add & between them. For example, in step 1, we got the link https://prflare.com/sites/?url=countries=md&themesSite=6298edc3bdf648dbc0fec0e4&acceptTopic=politic&page=1&limit=25 and the affiliate part of the link aff=prflare from step 2. Combine these links and add & between them. As a result, we get a URL with a referral link and filtered sites  
    https://prflare.com/sites/?url=countries=md&themesSite=6298edc3bdf648dbc0fec0e4&acceptTopic=politic&page=1&limit=25&aff=prflare
    
3.  After creating an individual affiliate link, we recommend checking its correctness by opening it in incognito mode in your browser and reviewing the analytics in the [affiliate dashboard](https://affiliate.prflare.com/dashboard) after a few minutes. Analytics in the affiliate dashboard may have a slight delay, but it is usually no more than 5 minutes.
