# Thank you

The **Thank You Page Embed** lets your customers know exactly how much **store credit** they’ve earned—right on the Shopify **Thank You Page** after completing a purchase.

This quick guide walks you through how to set it up in just a few steps.

{% embed url="<https://dollarlabs.neetorecord.com/watch/4c23216d154ace52fe16>" %}

***

### 🔧 What is the Thank You Page Embed?

The **Thank You Page Embed** displays a message such as:

> *“Congratulations! You earned $50 as credit on your next order. Your credit will expire on June 4, 2025.”*

This helps boost customer retention by immediately showing them the value they've gained post-purchase.

***

### 🛠️ How to Add the Thank You Page Embed

#### Step 1: Go to Checkout Settings

1. From your Shopify Admin, go to **Settings** → **Checkout**.
2. Click **Customize**.

#### Step 2: Switch to the Thank You Page

1. At the top of the editor, you’ll see a dropdown.
2. Change it from **Checkout** to **Thank You Page**.

#### Step 3: Add the Embed Block

1. Scroll down the Thank You Page editor until you see **App Blocks**.
2. Add the block called **Dollarback Thank You Embed**.

***

### ✏️ Customizing the Embed

Once the block is added, you can configure:

* **Title**
* **Message**
* **Body Text**
* A line showing that the cashback is still being calculated, if needed.

#### Optional: Disable Sections

To **hide** specific sections (like the title or message), enter `HTML_DISABLED` into the text field for that section. That section will not render.

***

### 🧩 Available Variables

You can dynamically display the following values in your message:

* `{amount}`: The credit earned (e.g., $50)
* `{expiresAt}`: Expiry date of the credit (e.g., June 4, 2025)
* `{delay}`: Holding period before the credit is activated (if applicable)

***

### ✅ Example in Action

Once configured, placing an order will show the embed with the message like:

> “Congratulations! You earned $50 as credit on your next order. Your credit will expire on June 4, 2025.”

If there’s a delay or holding period set up in your backend, the `{{delay}}` variable can help reflect that in the message too.

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

***

### 🤝 Need Help?

If you run into any issues or have questions, feel free to **reach out to our support team**—we’re happy to help.


---

# 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://help.dollarlabs.io/dollarback-store-credit/show-rewards/thank-you.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.
