> For the complete documentation index, see [llms.txt](https://docs.afflr.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.afflr.io/settings/thank-you-page.md).

# Thank you page

### **Thank You Page Sign Up**

The Thank You Page lets you invite customers to join your affiliate or referral program after they complete a purchase.&#x20;

#### **What Is the Thank You Page?**

A signup form appears on the order confirmation page, allowing customers to enter their email and become referral partners.

## **Set Up the Thank You Page in Afflr**

You can enable the Thank You Form from Afflr settings and assign customers to a selected affiliate program.

Go to **Settings → Thank You Form**, enable the form, choose the program, and click **Enable**.

<figure><img src="/files/noLzYyVxWo4t6DpSA18D" alt=""><figcaption></figcaption></figure>

### **Edit the Thank You Form Template**

Use the **Customize** option to update form content, layout, or design, then click **Save.**

<figure><img src="/files/PLllpOS9YYADvdV1q9sG" alt=""><figcaption></figcaption></figure>

## **Embed the Thank You Form in Checkout**

Go to **Shopify Settings → Checkout → Customize**, select **Thank You** from the page selector, and open the editor.

Select **App Blocks**, choose **Afflr Thank You Page Block**, and save the changes to activate the form.

<figure><img src="/files/b5fgQhg1rYNuA1uMCJEj" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/1mWv35pLeJ9szz430FWj" alt=""><figcaption></figcaption></figure>

Select **App Blocks**, choose **Afflr Thank You Page Block**, and **save** the changes to activate the form.

<figure><img src="/files/oeNvHsJRIs3LscueaeTW" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/sctC0jaaReHXeAi9EWrY" alt=""><figcaption></figcaption></figure>

Once enabled, the Thank You Page allows customers to join your referral program directly after purchase.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.afflr.io/settings/thank-you-page.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
