# Referral Links & Discount Codes

#### How do referral links work?

Referral links track customers who click the link and complete a purchase.

#### Can I change an affiliate’s referral link?

You can change the destination (product or collection page), but the store domain stays the same.

#### Can affiliates promote specific products?

Yes. Referral links can point to specific product or collection pages.

#### What if a customer uses only the discount code?

The sale is still tracked and attributed to the affiliate.


---

# 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.jaka.app/shopify/affiliate-program-faqs/referral-links-and-discount-codes.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.
