> This is part 1 of 3 of the full documentation (pages 1–100 of 259).
> The content is paginated: fetch every part to see all of it.
> Next part: https://help.dollarlabs.io/llms-full.txt/1
> Page index: https://help.dollarlabs.io/llms.txt

# Dollarback: Store Credit

DollarBack adds cashback, referrals, and loyalty tiers to your Shopify store using native store credit. No points, no coupon chaos, one-click redemption at checkout.

DollarBack is a loyalty engine built on **Shopify-native store credit**. Customers earn real dollar balances on every order, watch them grow across your storefront, and spend them with one click at checkout. No point math, no copy-pasted coupon codes.

{% embed url="<https://dollarlabs.neetorecord.com/watch/56c75d6d3b1a7b47b7aa>" %}
What spending store credit looks like for your customers
{% endembed %}

## Why store credit instead of points?

* **It's legible.** "You earned $5" beats "you earned 500 points (worth… something)". Customers instantly know what their balance is worth, so they come back to spend it.
* Spending takes one click. Store credit appears as a payment option at checkout, with no redemption flows and no code to copy.
* The balance stays in sight everywhere: product pages, cart, checkout, thank-you page, customer accounts, and a floating widget add up to [15 storefront touchpoints](/dollarback-store-credit/widgets-and-storefront/widget-map-what-shows-where).

## Start here

1. [How DollarBack works](/dollarback-store-credit/getting-started/how-dollarback-works): the credit lifecycle in five minutes
2. [Quick start: launch your first cashback program](/dollarback-store-credit/getting-started/quick-start-launch-your-first-cashback-program): live in under 30 minutes
3. [Activate widgets in your theme](/dollarback-store-credit/getting-started/activate-widgets-in-your-theme): the setup step everyone misses

## What you can build

* **Earning**: [six program types](/dollarback-store-credit/earning-cashback-programs/cashback-program-types-at-a-glance), purchase cashback (with product/collection targeting and order goals), signup, newsletter, birthday, social follows, and [API-triggered custom rewards](/dollarback-store-credit/earning-cashback-programs/custom-rewards-via-api). The [calculation engine](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated) is fully documented, down to rounding.
* **Spending**: a [reward marketplace](/dollarback-store-credit/spending-store-credit-and-rewards/set-up-the-reward-marketplace) where credit buys order discounts, product discounts, or free shipping, plus direct credit payment at checkout with [visibility rules](/dollarback-store-credit/spending-store-credit-and-rewards/hide-store-credit-at-checkout) and [expiry management](/dollarback-store-credit/spending-store-credit-and-rewards/credit-expiry-and-reminders).
* **Referrals**: ["give $10, get 10%"-style programs](/dollarback-store-credit/referral-program/set-up-your-referral-program) with code-based attribution, multi-config priorities, and [share surfaces](/dollarback-store-credit/referral-program/how-customers-share-referral-links) across the storefront.
* **Loyalty tiers**: [multiplier ladders](/dollarback-store-credit/loyalty-tiers/loyalty-tiers-overview) (e.g. Bronze ×1 → Silver ×1.5 → Gold ×2) with flexible evaluation windows and multi-currency thresholds.
* **Notifications & integrations**: [branded notification emails](/dollarback-store-credit/notifications/email-notifications-overview) with a [custom sending domain](/dollarback-store-credit/notifications/sender-identity-and-custom-domain), plus [Klaviyo](/dollarback-store-credit/integrations/klaviyo-integration), [Omnisend](/dollarback-store-credit/integrations/omnisend-integration), [Shopify Flow](/dollarback-store-credit/integrations/shopify-flow-triggers-and-actions), [cart drawers](/dollarback-store-credit/integrations/cart-drawer-integrations), [wallet passes](/dollarback-store-credit/integrations/wallet-passes), and [store credit for product reviews](/dollarback-store-credit/integrations/store-credit-for-submitting-review).
* **Analytics & operations**: [program analytics with ROI](/dollarback-store-credit/analytics-data-and-account/understand-your-analytics), [referral analytics](/dollarback-store-credit/analytics-data-and-account/referral-analytics), [bulk CSV imports](/dollarback-store-credit/analytics-data-and-account/bulk-import-credit-csv), [B2B company-location credit](/dollarback-store-credit/analytics-data-and-account/b2b-store-credit), and developer access via the [Merchant API](/dollarback-store-credit/developer-tools/merchant-api-keys-and-endpoints) and [storefront window API](/dollarback-store-credit/developer-tools/storefront-window-api).

## Plans

Every feature above is documented with its plan requirements. See [Plans, usage & overage billing](/dollarback-store-credit/analytics-data-and-account/plans-usage-and-overage-billing), or [start a trial](/dollarback-store-credit/getting-started/choose-a-plan-and-start-your-trial) from the app.

## Something not working?

Head to [Troubleshooting & FAQ](/dollarback-store-credit/troubleshooting-and-faq) for symptom-first fixes for widgets, missing cashback, checkout, referrals, emails, and imports. Still stuck? Reach out through the in-app chat with your store URL.


# Getting Started

Install DollarBack, launch your first cashback program, and get every widget live.

* [How DollarBack works](/dollarback-store-credit/getting-started/how-dollarback-works)
* [Quick start: launch your first cashback program](/dollarback-store-credit/getting-started/quick-start-launch-your-first-cashback-program)
* [Activate widgets in your theme](/dollarback-store-credit/getting-started/activate-widgets-in-your-theme)
* [Understanding the dashboard](/dollarback-store-credit/getting-started/understanding-the-dashboard)
* [Choose a plan & start your trial](/dollarback-store-credit/getting-started/choose-a-plan-and-start-your-trial)
* [Migrating from another loyalty app](/dollarback-store-credit/getting-started/migrating-from-another-loyalty-app)


# How DollarBack works

DollarBack rewards your customers with store credit for shopping, signing up, referring friends, and more. Customers spend that credit directly at checkout. This page explains the credit lifecycle and the terms you'll see everywhere else in these docs.

## The credit lifecycle: earn → hold → spend → expire

Every dollar of store credit moves through the same four stages.

### 1. Earn

Customers earn credit through **cashback configs**, the rules you create from **DollarBack admin → Home → Cashback tab → Manage configurations**. A config can reward purchases (say, 5% back on everything), account signups, newsletter subscriptions, birthdays, social follows, or custom events you trigger through the API. Referrals are a separate engine with its own rewards. If you turn on loyalty tiers, they decide which purchase programs each customer earns from, and each tier can multiply that cashback (see the **Tier** entry below).

The amount is calculated per order from the order's real paid value: discounts reduce the cashback base, and portions paid with existing store credit or gift cards are handled according to your global settings.

### 2. Hold

Credit is issued when the order hits the trigger you choose: created, paid, or fulfilled. If you set a **holding period**, the credit is held for that many days (0–90) before it becomes spendable. The hold applies to discount-code rewards from orders too. During the hold the credit isn't in the customer's balance and the storefront widgets don't show it; you can see it in **Analytics → Activity**, under **Scheduled**. Holding is your refund buffer: if the order is refunded before the hold ends, the pending credit is clawed back before it ever reaches the customer's balance.

### 3. Spend

Once released, credit lands on the customer's Shopify-native store credit balance. Customers spend it two ways:

* **Directly at checkout**: store credit appears as a payment option, and the customer applies as much of their balance as they like.
* **In the reward marketplace**: customers exchange credit for rewards you define, whether that's an order discount, a product discount, or free shipping. Redeeming a reward mints a unique discount code and debits the credit cost immediately.

### 4. Expire

If you set an expiry, unspent credit expires after that many days, or on the date you picked. Reminder emails go out at the thresholds you configure (for example 14 days and 3 days before expiry), so customers get a nudge to come back and spend. Expired credit is removed from the balance automatically.

## What customers see

On a store with a 5% purchase reward on one collection and no holding period, a purchase looks like this to your customers.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2f0979e79640da3b7e21882a98d7892e12879fd9%2Fdb-cx-product-page-message.png?alt=media" alt="A product page for Morning Dew Gel Cleanser at $24.00 with the message You will get $1.20 cashback due to Cleanse &#x26; Prep to select items, and an info icon, above the quantity selector and the Add to cart button." width="470"><figcaption><p>On the product page, your customers see what the product earns before they buy.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-d2df4a9de3811a5251f2e77f9453c0134b2d2afe%2Fdb-cx-checkout-apply-store-credit.png?alt=media" alt="The checkout payment section with the Apply store credit option ticked and $20.00 beside it." width="520"><figcaption><p>At checkout, a customer with a balance ticks Apply store credit, Shopify's own store credit option, to spend it.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-f46e33f547e2836e65ffbd6573643c782f4237b2%2Fdb-cx-thank-you-cashback.png?alt=media" alt="The thank-you page order summary with the message Congratulations! You earned $2.33, You earned $2.33 credit for your next order, above four items and totals that show free shipping with an RDM code, Store credit −$20.00 and Total paid $267.00." width="430"><figcaption><p>After the order, the thank-you page confirms the credit it earned for the next order.</p></figcaption></figure>

## Store credit vs discount codes

DollarBack can pay rewards in two different currencies, and it matters which one you pick:

|                  | Store credit                                                    | Discount code                                      |
| ---------------- | --------------------------------------------------------------- | -------------------------------------------------- |
| What it is       | Shopify-native store credit on the customer's account           | A unique, single-use Shopify discount code         |
| Where it's spent | At checkout, as a payment option, combinable with any promotion | In the discount code field at checkout             |
| Partial use      | Yes, unused balance stays on the account                        | No, value beyond the cart total is lost            |
| Expiry           | Follows your credit expiry settings                             | Set on the config that issued the code             |
| Stacking         | Not a discount, so no combination rules apply                   | Follows your store-wide discount combination rules |

Any cashback config can pay out a discount code instead of credit, and every marketplace reward is delivered as a code. All reward codes hang off one shared Shopify discount whose parent code is `RDM-(DO NOT DELETE)`. Never delete it in your Shopify admin, or every outstanding code stops working. See [DollarBack items in your Shopify admin](#dollarback-items-in-your-shopify-admin).

## DollarBack items in your Shopify admin

DollarBack creates a few items in your Shopify admin to run your programs. They look like ordinary discounts, settings or data, but the app depends on them.

{% hint style="danger" %}
**Don't delete, rename or edit these items.** Change your programs from the DollarBack admin instead. DollarBack doesn't re-create the three discounts on its own.
{% endhint %}

| Item                                          | Where you see it                                                                               | What it does                                                                                                                                                                                                                                      | If it's deleted                                                                                                                                                                                                                                                                                                                        |
| --------------------------------------------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `RDM-(DO NOT DELETE)`                         | **Discounts**                                                                                  | The shared discount that holds every reward code: reward marketplace redemptions and discount-code rewards from your cashback programs. Each customer's code is an extra code on this one discount.                                               | Every reward code your customers hold stops working at once, and new codes can't be issued. DollarBack doesn't re-create it on its own; contact us. See [A reward discount code isn't working](/dollarback-store-credit/troubleshooting-and-faq/reward-discount-code-isnt-working).                                                    |
| **Redemption code validator (DO NOT DELETE)** | **Discounts** (an automatic discount)                                                          | Checks each reward code at checkout and turns away codes that have expired or don't meet the reward's conditions, with a message that says why.                                                                                                   | Customers no longer see a message that explains why a reward code didn't apply. DollarBack doesn't re-create it on its own.                                                                                                                                                                                                            |
| `DBR-(DO NOT DELETE)`                         | **Discounts**                                                                                  | The shared referral discount. Every customer's referral code is an extra code on it, and it gives the referee their discount.                                                                                                                     | Every customer's referral code stops working. The Referral page then shows every referral config as **Disabled**. Saving the page again creates a new discount, but your customers' existing codes aren't on it; contact us. See [Referral codes & bulk sync](/dollarback-store-credit/referral-program/referral-codes-and-bulk-sync). |
| **Hide store credit**                         | **Settings → Payments**, under payment customizations                                          | Applies your [store credit visibility condition](/dollarback-store-credit/spending-store-credit-and-rewards/hide-store-credit-at-checkout) at checkout.                                                                                           | Store credit shows at checkout whatever your condition says. DollarBack creates it again the next time you save **DollarBack admin → Settings**.                                                                                                                                                                                       |
| DollarBack's metafields and metaobjects       | Customer and order pages, **Settings → Metafields and metaobjects**, **Content → Metaobjects** | Your program settings (for example the **Global Settings** metaobject) and each customer's referral code, tier and owed balance. See [Metafields & data storage reference](/dollarback-store-credit/developer-tools/metafields-and-data-storage). | Editing or deleting them changes your settings or a customer's data without the app knowing, which can break programs or tiers.                                                                                                                                                                                                        |

The three discounts and **Hide store credit** run on DollarBack's own Shopify Functions, so Shopify lists them as app items. Their values come from the DollarBack admin, not from the Shopify pages.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-f2f2a1daf99744a5c8ec7d782a762c899ad90000%2Fdb-p2-ga-discounts-do-not-delete-annotated.png?alt=media" alt="The Shopify admin Discounts list with three active DollarBack discounts, DBR-(DO NOT DELETE) with 8 codes, Redemption code validator (DO NOT DELETE) as an automatic discount, and RDM-(DO NOT DELETE) with 4 codes, above an ordinary store discount."><figcaption><p>In Shopify admin, Discounts lists the three DollarBack discounts. Leave all three in place.</p></figcaption></figure>

{% hint style="warning" %}
If a reward code, referral code or store credit rule suddenly stops working for everyone, first check that these items still exist in your Shopify admin.
{% endhint %}

## Glossary

| Term                   | Meaning                                                                                                                                                                                                                                                          |
| ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Store credit**       | Shopify-native credit on a customer's account, spendable at checkout as a payment option. DollarBack issues, debits, and expires it.                                                                                                                             |
| **Cashback config**    | A rule, opened from the **Cashback** tab on **DollarBack admin → Home**, that defines how customers earn: the type (purchase, signup, newsletter, birthday, social, custom), the value, targeting, dates, and limits.                                            |
| **Reward marketplace** | The catalog of rewards customers can buy with credit: order discounts, product discounts, and free shipping. Managed on the **Reward marketplace** page: **DollarBack admin → Home → Voucher Marketplace tab → Manage rewards**.                                 |
| **Referrer / referee** | In a referral, the *referrer* is the existing customer who shares their code and earns a reward; the *referee* is the new customer who uses the code and gets a discount on their order.                                                                         |
| **Tier**               | A loyalty level (Pro plan and above) with entry conditions, linked purchase programs, and a cashback multiplier. While tiers are active, a customer earns purchase cashback only from the programs linked to their tier, and a customer with no tier earns none. |
| **Holding period**     | The number of days (0–90) issued credit is held before it becomes spendable. Customers don't see held credit. Acts as a refund buffer.                                                                                                                           |
| **Expiry**             | The window after which unspent credit is removed. Reminder emails fire at your configured thresholds beforehand.                                                                                                                                                 |

## Related articles

* [Quick start: launch your first cashback program](/dollarback-store-credit/getting-started/quick-start-launch-your-first-cashback-program)
* [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated)
* [How customers spend their credit](/dollarback-store-credit/spending-store-credit-and-rewards/how-customers-spend-their-credit)
* [Credit expiry and reminders](/dollarback-store-credit/spending-store-credit-and-rewards/credit-expiry-and-reminders)


# Quick start: launch your first cashback program

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

*This article's section starts at 0:00 in the video.*

In about ten minutes you'll have a live "5% back on everything" program: a cashback rule, visible widgets, and a test order that lands real credit on a customer account.

## Prerequisites

* DollarBack installed and a plan or trial active ([Choose a plan and start your trial](/dollarback-store-credit/getting-started/choose-a-plan-and-start-your-trial))
* Access to your store's theme editor

## Step 1: Create the cashback rule

{% hint style="success" %}
**The shortcut:** on a brand-new install, the home page's **Setup guide** card starts with **Create your first reward**. Its **Create reward** button opens the same cashback page as step 1 below.
{% endhint %}

1. Open **DollarBack admin → Home**, select the **Cashback** tab on the Programs card, and click **Manage configurations** (on a store with no programs yet, the button is **Create cashback rule**). You land on the cashback editor with a type list on the left: **Purchase reward**, **Signup bonus**, **Newsletter signup**, **Birthday gift**, **Social follow**, and **Custom (API)**.
2. With **Purchase reward** selected, click **Add purchase reward**.
3. Give it a **Title**, something like "5% back on everything". The title is internal, but it also appears in your credit logs.
4. Under **Applies to**, keep **All products**.
5. Keep **Reward kind** set to **Store credit**, choose the percentage option, and enter `5`.
6. Leave **Set an end date** off so the program runs indefinitely.
7. Switch the program on. A new program starts **Disabled**: click the toggle next to the **Disabled** badge at the top of the program card, and the badge changes to **Enabled**.
8. Save. You'll see a **Configuration Saved Successfully** toast, and the program appears in the list with an **Enabled** badge.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-7ca20844b2876337676f0421190425054df22a41%2Fdb-home-manage-configurations-annotated.png?alt=media" alt="DollarBack home page programs card with the Cashback tab selected, a table of four programs, and a Manage configurations button."><figcaption><p>To open the program editor, select the Cashback tab on the home page and click Manage configurations.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-0561ae6bd85f0852a2cd57f130853e06368782e3%2Fdb-qs-cashback-type-list-annotated.png?alt=media" alt="The Configure Cashback Settings page with the list of reward types on the left (Purchase rewards, Birthday gifts, Social follows, Signup bonus, Newsletter signup, Custom (API)), one purchase reward card on the right, and an Add purchase reward button below it."><figcaption><p>Choose the reward type on the left, then add a rule of that type.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-fed3d32fc8ea1d1e9a0413dbecea57acb789e194%2Fdb-qs-reward-fields-annotated.png?alt=media" alt="The Reward section of a new purchase reward: Reward kind set to Store credit, Reward type buttons Percentage, Fixed and Order goal with Percentage selected, a Percentage field with 5, and a Credit expires field set to Never." width="560"><figcaption><p>For a 5% program, keep Store credit, choose Percentage, and enter 5.</p></figcaption></figure>

That's the whole earning rule. By default credit is issued when the order is created and is spendable immediately. If you set a holding period (0 to 90 days), the credit is held first and the customer doesn't see it until the hold ends. You can change the trigger, holding period, and calculation base later in **DollarBack admin → Settings** (see [Settings](/dollarback-store-credit/settings)).

## Step 2: Turn on the storefront widgets

Customers can earn without widgets, but they won't *see* anything. The fastest path is the **Storefront Visibility** card on the dashboard:

1. Open **DollarBack admin → Home** and find the **Storefront Visibility** card. It lists your **App Blocks** (Product page cashback, Cart page cashback) and **App Embeds** (Cashback widget, Window variable), each with an **Enabled** or **Disabled** badge.
2. Next to **Cashback widget**, click **Enable**. This deep-links into the Shopify theme editor with the embed ready to activate. Click **Save** in the theme editor.
3. Back on the dashboard, click **Enable** next to **Product page cashback**. The theme editor opens on a product template with the block added. Position it near the price and **Save**.
4. Return to the dashboard and confirm both rows now show **Enabled**.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-7bbb909f5fca9cb849392742da1b6ae5b1112a62%2Fdb-dash-storefront-visibility-annotated.png?alt=media" alt="The Storefront Visibility section of the DollarBack dashboard with two cards, App Blocks (Product page cashback, Cart page cashback) and App Embeds (Cashback widget, Window variable). Each row has a green Enabled badge, and each card has a Customize link."><figcaption><p>Every row should show Enabled. A disabled row has an Enable button that opens the theme editor.</p></figcaption></figure>

For every other surface (cart, checkout, thank-you page, customer accounts), see [Activate widgets in your theme](/dollarback-store-credit/getting-started/activate-widgets-in-your-theme).

## Step 3: Place a test order

1. Open your storefront in a separate browser profile (or an incognito window) so you're a customer, not an admin.
2. Open any product page. You should see the cashback message ("Earn $X in cashback…") under the price.
3. Create a customer account and sign in.
4. Buy an inexpensive product and complete checkout as normal.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2f0979e79640da3b7e21882a98d7892e12879fd9%2Fdb-cx-product-page-message.png?alt=media" alt="A product page for Morning Dew Gel Cleanser at $24.00 with the message You will get $1.20 cashback due to Cleanse &#x26; Prep to select items, and an info icon, above the quantity selector and the Add to cart button." width="470"><figcaption><p>On a product page covered by your program, your customers see a cashback line like this one.</p></figcaption></figure>

## Step 4: Watch the credit land

* On the storefront, open the floating cashback widget. The balance shows the new credit (5% of what the order actually cost).
* In **DollarBack admin → Analytics**, open the **Activity** tab. The **Credits earned** list shows a new row linking the customer, the order, and your "5% back on everything" config.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-b08cecfb57ed82ad04e9b62aad66585684865702%2Fdb-cx-widget-home.png?alt=media" alt="The floating panel on the storefront for a signed-in customer: Your Credit $22.33 with a history icon in the header, a Bronze tier card marked Current with Next: Silver, Spend $250.00, a Referral Program card that says You get $5.00, They get $5.00, a Redeem rewards card, and Home, Offers and Referral tabs." width="380"><figcaption><p>The balance shows at the top of the widget. The cards below it depend on the programs you run.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-68b30baf5a0373f69b6a87484f4a46f3657cc770%2Fdb-p2-ga-activity-tabs-annotated.png?alt=media" alt="The Activity tab of DollarBack Analytics with the type tabs Credits earned, Credit spent, Scheduled, Discount codes, Referrals and Clawbacks, and a list of credits earned showing customer, order, campaign, cashback, type, order total, date and expiry."><figcaption><p>Your test order appears under Credits earned. Held credit appears under Scheduled until the hold ends.</p></figcaption></figure>

## Verify it works

All three of these should be true within a minute or two of the order:

1. **DollarBack admin → Analytics → Activity → Credits earned** has a row for the test order.
2. The floating widget shows the balance when the test customer is signed in.
3. On a second checkout with the same customer, store credit appears as a payment option.

{% hint style="warning" %}
If you changed the trigger to *paid* or *fulfilled*, or set a holding period, the credit won't appear until that event happens or the hold elapses. While the credit is held, it shows in **Analytics → Activity → Scheduled** instead of **Credits earned**.
{% endhint %}

## Common issues

* **The product page message or widget doesn't appear** → [A widget isn't showing on my store](/dollarback-store-credit/troubleshooting-and-faq/widget-isnt-showing)
* **The order went through but no credit was issued** → [A customer didn't receive cashback](/dollarback-store-credit/troubleshooting-and-faq/customer-didnt-receive-cashback)
* **Credit exists but isn't offered at checkout** → [Store credit isn't available at checkout](/dollarback-store-credit/troubleshooting-and-faq/store-credit-isnt-available-at-checkout)

## Related articles

* [Activate widgets in your theme](/dollarback-store-credit/getting-started/activate-widgets-in-your-theme)
* [Set up purchase cashback](/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback)
* [Settings](/dollarback-store-credit/settings)
* [How customers spend their credit](/dollarback-store-credit/spending-store-credit-and-rewards/how-customers-spend-their-credit)


# Activate widgets in your theme

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

*This article's section starts at 1:46 in the video.*

DollarBack's storefront surfaces live in three different Shopify editors. This page walks through all three (theme, checkout, and customer accounts) and shows how to confirm everything is on from the DollarBack dashboard.

## Prerequisites

* DollarBack installed
* Theme editor access. Blocks inside the checkout steps need Shopify Plus; thank-you blocks don't

## App embeds vs app blocks

The storefront widgets come in two kinds, and they're activated differently:

|                 | App embeds                                                                                                              | App blocks                                                                                      |
| --------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
| What they are   | Site-wide features injected into every page                                                                             | Sections you place inside a specific template                                                   |
| DollarBack's    | **Cashback Widget** (the floating widget), **Cashback Window Variable** (data layer for custom themes and cart drawers) | **Cashback Rewards: Product** (product page message), **Cashback Rewards: Cart** (cart message) |
| Where to enable | Theme editor → app embeds panel                                                                                         | Theme editor → add block/section on the template                                                |
| Positioning     | Fixed by the embed                                                                                                      | You drag it where you want it                                                                   |

{% hint style="warning" %}
Keep the **Cashback Window Variable** embed enabled even though it renders nothing visible. It injects the data the other widgets (and any cart drawer integration or custom theme code) read. With it off, integrations and the storefront API stop working.
{% endhint %}

## Enable the theme surfaces

The fastest route is the **Storefront Visibility** card on **DollarBack admin → Home**: every row with a **Disabled** badge has an **Enable** button that deep-links straight to the right spot in the theme editor. Doing it manually:

1. In Shopify admin, open your theme editor (**Online Store → Themes → Customize**).
2. **Embeds:** open the app embeds panel, find the DollarBack embeds, and toggle on **Cashback Widget** and **Cashback Window Variable**. Click **Save**.
3. **Product page block:** switch the template picker to a product template, add the **Cashback Rewards: Product** block from the app blocks list, and drag it near the price. **Save**.
4. **Cart block:** switch to the cart template and add **Cashback Rewards: Cart** the same way. **Save**.
5. Preview the storefront: the floating widget launcher should appear site-wide, and the cashback message should show on product pages and in the cart.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-8e05d2c9753827b9c1f496c645032f282a55ccab%2Fdb-theme-app-embeds-dollarback-annotated.png?alt=media" alt="The App embeds panel of the Shopify theme editor, filtered to Cashback. It shows the Cashback Widget and Cashback Window Variable embeds from Dollarback: Loyalty, both switched on." width="560"><figcaption><p>In the App embeds panel, switch on both DollarBack embeds, then click Save in the theme editor.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-3ec73db016d90a7153401d9d2525321eca3cafe8%2Fdb-cx-widget-guest.png?alt=media" alt="The floating panel open on the storefront for a signed-out visitor: Unlock your rewards with a Login button, a Cashback card with 3 offers available, Home and Offers tabs, and the round close button in the corner." width="380"><figcaption><p>With the Cashback Widget embed on, a signed-out visitor who opens the widget sees a sign-in prompt.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2f0979e79640da3b7e21882a98d7892e12879fd9%2Fdb-cx-product-page-message.png?alt=media" alt="A product page for Morning Dew Gel Cleanser at $24.00 with the message You will get $1.20 cashback due to Cleanse &#x26; Prep to select items, and an info icon, above the quantity selector and the Add to cart button." width="470"><figcaption><p>With the product block on, product pages covered by a program show the cashback message.</p></figcaption></figure>

Each widget's text, colors, and behavior are edited in **DollarBack admin → Customize**, not in the theme editor.

## Checkout and thank-you blocks

{% hint style="info" %}
**Plan:** Blocks inside the checkout steps require Shopify Plus (a Shopify requirement for checkout editing, not a DollarBack plan gate). The thank-you page blocks work on every Shopify plan; you add them in the same editor.
{% endhint %}

1. In Shopify admin, go to **Settings → Checkout** and open the checkout editor.
2. On Shopify Plus, on the checkout step, add the DollarBack blocks you want: **Checkout Cashback Banner** (shows what the order will earn) and **Checkout Reward Marketplace** (lets customers redeem rewards mid-checkout).
3. On any Shopify plan, switch to the thank-you page and add **Thank You Cashback** and **Thank You Referral**.
4. **Save** and publish the checkout profile.

## Customer account blocks

These render inside Shopify's new customer accounts:

1. In Shopify admin, open the customer accounts editor (**Settings → Customer accounts**).
2. Add the DollarBack blocks per page. On the orders list: **Store Credit Earned** and **Referral Program - Order List**; on the order status page: **Store Credit Earned** and **Referral Program - Order Status**; on the profile page: **Referral Program - Profile**, **Reward Marketplace - Profile**, and **Wallet Pass - Profile**.
3. **Save**.

## Verify against the dashboard

Go back to **DollarBack admin → Home** and check the **Storefront Visibility** card: every theme row (Product page cashback, Cart page cashback, Cashback widget, Window variable) should show a green **Enabled** badge. Hover a row's name for a description of what it does; **Customize →** jumps to that widget's settings. Then browse your storefront as a signed-in customer and confirm the widget, product message, and cart message all render.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-7bbb909f5fca9cb849392742da1b6ae5b1112a62%2Fdb-dash-storefront-visibility-annotated.png?alt=media" alt="The Storefront Visibility section of the DollarBack dashboard with two cards, App Blocks (Product page cashback, Cart page cashback) and App Embeds (Cashback widget, Window variable). Each row has a green Enabled badge, and each card has a Customize link."><figcaption><p>Every row should show Enabled. A disabled row has an Enable button that opens the theme editor.</p></figcaption></figure>

## Common issues

* **A block or embed is on but nothing renders** → [A widget isn't showing on my store](/dollarback-store-credit/troubleshooting-and-faq/widget-isnt-showing)
* **Checkout blocks can't be added**: your store isn't on Shopify Plus. The theme, thank-you and customer account blocks still work on every Shopify plan.
* **A cart drawer app shows no cashback line**: the Window variable embed is off, or the drawer integration isn't enabled → [Cart drawer integrations](/dollarback-store-credit/integrations/cart-drawer-integrations)

## Related articles

* [Widget map: what shows where](/dollarback-store-credit/widgets-and-storefront/widget-map-what-shows-where)
* [Product page and cart cashback messages](/dollarback-store-credit/widgets-and-storefront/product-page-and-cart-cashback-messages)
* [The floating cashback widget](/dollarback-store-credit/widgets-and-storefront/the-floating-cashback-widget)
* [Checkout and thank-you widgets](/dollarback-store-credit/widgets-and-storefront/checkout-and-thank-you-widgets)


# Understanding the dashboard

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

*This article's section starts at 2:51 in the video.*

The dashboard (**DollarBack admin → Home**, titled *Welcome*, the page that opens when you click **Dollarback: Loyalty** in the Shopify sidebar) is your daily health check: which programs are running, whether the storefront can actually show them, and how much of your plan you've used. This page explains each card.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-b67b1d836bb6a6199acd73a4065d393b7baaf2d4%2Fdb-dash-overview-annotated.png?alt=media" alt="The DollarBack Welcome page with a Turn on customer emails banner (Chat with us and Learn more buttons), a Setup guide card showing 2 of 2 steps completed, and a Programs card with the tabs Cashback (4/4), Tiers (3/3), Referral (2/2) and Voucher Marketplace (3/3) above a table of four active cashback rules."><figcaption><p>The top of the dashboard shows any alert banners, your setup progress and a summary of every program.</p></figcaption></figure>

## Alert banners

When something needs your attention, a banner appears at the top of the page. You may see:

* **A special plan, just for you**: a custom-priced plan is reserved for your store; view it on the Plans page (**Billing** in the DollarBack menu).
* **Turn on customer emails**: your programs are live, but customer emails are still off for your store. **Chat with us** opens the in-app chat with the request already typed in; send it and the team switches emails on, usually the same day. **Learn more** opens the Notifications page. Dismiss the banner with the ✕; that is remembered in that browser.

If your billing needs attention (no plan, a legacy plan, or over your order limit), you'll see a lock card or a warning banner instead of the page content. See [When the admin locks](/dollarback-store-credit/analytics-data-and-account/plans-usage-and-overage-billing#when-the-admin-locks).

No banner means nothing needs action.

## Setup guide card

On a new install this is the first thing on the page. The **Setup guide** card has a progress bar and two steps:

| Step                             | Counts as done when                                                                                             | Buttons                                             |
| -------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- |
| Create your first reward         | You have any program: a cashback program, a referral program, a reward-marketplace reward, or tiers switched on | **Create reward** (**Edit reward** once one exists) |
| Show cashback on your storefront | The floating widget **or** the product page message is active in your theme. Either one is enough.              | **Open theme editor**, **Customize**                |

Click a step to expand it. When you tab back from the theme editor, the second step checks your theme again.

Customer emails aren't a step: our team switches them on for your store. Once your programs are live, the **Turn on customer emails** banner above the card asks for it (see [Alert banners](#alert-banners) and [Email notifications overview](/dollarback-store-credit/notifications/email-notifications-overview)).

Collapse the card with the chevron, or dismiss it entirely with the ✕. Dismissing is remembered in that browser, so the card can come back on a different machine or after clearing site data — it isn't a store-wide setting.

## Programs card

A tabbed summary of everything you've configured, with active/total counts in each tab label:

| Tab                     | Shows                                                                                                                         |
| ----------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| **Cashback**            | Your cashback configs and their status. Empty state: *No cashback rules yet*, with a **Create cashback rule** button.         |
| **Tiers**               | Each tier's name, priority, multiplier, and status. Empty state offers **Create tiers**.                                      |
| **Referral**            | Each referral config's title, referrer reward, referee discount, and status. Empty state offers **Set up referral**.          |
| **Voucher Marketplace** | Your redemption rewards (order discount, product discount, free shipping) and statuses. Empty state offers **Create reward**. |

A tab reading `Cashback (2/3)` means two of your three configs are active. Every empty state's button jumps straight to the page where you create that program.

Once a tab has programs, its button opens the page where you edit them: **Manage configurations** (Cashback), **Manage Tiers**, **Manage Referrals**, and **Manage rewards** (Voucher Marketplace, which opens the **Reward marketplace** page). The Cashback tab is the only way into the cashback program editor; it has no entry of its own in the DollarBack menu.

## Storefront Visibility card

This is the extensions status card. It tells you whether customers can actually *see* DollarBack. It's split into two columns:

* **App Blocks**: Product page cashback, Cart page cashback
* **App Embeds**: Cashback widget, Window variable

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-7bbb909f5fca9cb849392742da1b6ae5b1112a62%2Fdb-dash-storefront-visibility-annotated.png?alt=media" alt="The Storefront Visibility section of the DollarBack dashboard with two cards, App Blocks (Product page cashback, Cart page cashback) and App Embeds (Cashback widget, Window variable). Each row has a green Enabled badge, and each card has a Customize link."><figcaption><p>Every row should show Enabled. A disabled row has an Enable button that opens the theme editor.</p></figcaption></figure>

Each row shows an **Enabled** (green) or **Disabled** badge. Disabled rows get an **Enable** button that deep-links into the theme editor with the block or embed pre-selected, so all that's left is to save. Hover a row's name for a description, and use **Customize →** to edit that widget's content and styling.

{% hint style="warning" %}
A program can be active while every widget is disabled, meaning customers would earn credit but never see it. If this card shows red badges, fix that first.
{% endhint %}

## Plan & usage card

* **Current plan**: your plan name and monthly price, with a **Manage** link to the Plans page (also **Billing** in the DollarBack menu).
* **Orders this period**: orders counted against your plan limit this billing period, with a progress bar and the period's date range. If your plan has usage-based overage, a line shows how much of the overage cap you've used. **View** opens Analytics filtered to the current period.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-ff81b7ba24c21c43ce84de26ef72f3b73f1b988f%2Fdb-dash-plan-usage-quick-links-annotated.png?alt=media" alt="Two dashboard cards. Plan and usage shows the current plan, Enterprise at $299 / month, with a Manage link, and Orders this period, 0 · unlimited, with a View link. Quick links shows Bulk import and Backfill past orders, each with an Open link."><figcaption><p>Plan &#x26; usage shows your plan and this period’s order count. Quick links opens the bulk tools.</p></figcaption></figure>

Details on how orders are counted and billed: [Plans, usage and overage billing](/dollarback-store-credit/analytics-data-and-account/plans-usage-and-overage-billing).

## Quick links card

Shortcuts to operational tools, each with an **Open** button: **Bulk import** ("Upload customer credits from a CSV") and, on the Enterprise plan, **Backfill past orders** ("Apply cashback to historical orders"). Neither tool has an entry in the DollarBack menu, so open them from here. The **Read Docs** action in the page header opens this help center.

## Common issues

* **Programs card shows active configs but customers see nothing** → check the Storefront Visibility card, then [A widget isn't showing on my store](/dollarback-store-credit/troubleshooting-and-faq/widget-isnt-showing)
* **Orders this period is at or over the limit** → [Plans, usage and overage billing](/dollarback-store-credit/analytics-data-and-account/plans-usage-and-overage-billing)
* **A legacy-pricing banner won't go away** → it clears once you subscribe to a current plan from the Plans page.

## Related articles

* [Quick start: launch your first cashback program](/dollarback-store-credit/getting-started/quick-start-launch-your-first-cashback-program)
* [Activate widgets in your theme](/dollarback-store-credit/getting-started/activate-widgets-in-your-theme)
* [Choose a plan and start your trial](/dollarback-store-credit/getting-started/choose-a-plan-and-start-your-trial)
* [Understand your analytics](/dollarback-store-credit/analytics-data-and-account/understand-your-analytics)


# Choose a plan & start your trial

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

*This article's section starts at 7:54 in the video.*

This page shows you how to compare DollarBack's plans, which features each unlocks, and how the free trial works, so you can pick once and not think about billing again.

## Compare plans

Open **DollarBack admin → Billing**. The page is titled **Plans**. Below your current plan, the **Compare plans** table has one column per plan, with its price and a button, and one row per feature. Use the **Monthly** / **Annual** switch above the table to see yearly prices where a plan has them. Rather than comparing prices first, compare two things:

1. **Order volume.** The **Orders included each month** row shows each plan's monthly order allowance (some are **Unlimited**). The **If you go over** row shows the per-order overage price and its monthly cap, or **Asked to upgrade** when the plan has no overage. Check your store's typical monthly orders and pick a plan whose allowance covers it. Your live count is on the dashboard's **Plan & usage** card and at the top of the Plans page (**Orders this cycle**).
2. **Feature gates.** Higher plans unlock operational features. The **EARNING CREDIT** rows are always shown. Click **Show all features** under the table to see the **MORE** rows too.

| Row on the Plans page                                         | What it unlocks                                                                                                                                         | Notes                   |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- |
| **Cashback and referral programs**                            | Your cashback programs and referral program                                                                                                             | Every plan              |
| **VIP tiers**                                                 | [Loyalty tiers](/dollarback-store-credit/loyalty-tiers/loyalty-tiers-overview) with multipliers                                                         | Pro plan and above      |
| **Auto-adjust on refunds and edits**                          | Adjusting issued cashback when orders are edited, refunded, or cancelled                                                                                | Advanced plan and above |
| **Backfill credit for past orders**                           | [Cashback on orders placed before DollarBack was installed](/dollarback-store-credit/earning-cashback-programs/backfill-cashback-for-past-orders)       | Enterprise plan only    |
| **Klaviyo, Omnisend, Mailchimp and Flow integrations** (MORE) | Klaviyo, Omnisend, Mailchimp, Shopify Flow and Judge.me                                                                                                 | Pro plan and above      |
| **B2B store credit** (MORE)                                   | Credit for B2B company locations                                                                                                                        | Advanced plan and above |
| **Custom sending domain** (MORE)                              | Notification emails from your own domain                                                                                                                | Advanced plan and above |
| **Apple and Google Wallet passes** (MORE)                     | Apple Wallet and Google Wallet loyalty passes                                                                                                           | Enterprise plan         |
| **Api Access** (MORE)                                         | The **Developer API** page, where you generate the key for the [Merchant API](/dollarback-store-credit/developer-tools/merchant-api-keys-and-endpoints) | Advanced plan and above |

[Bulk import credit (CSV)](/dollarback-store-credit/analytics-data-and-account/bulk-import-credit-csv) is available on the Pro plan and above.

{% hint style="info" %}
**Backfill is Enterprise only.** The Plans page currently shows a tick in the **Backfill credit for past orders** row for Pro and Advanced as well. That tick reflects Bulk import, not backfill. If you need backfill, choose Enterprise.
{% endhint %}

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-25a2b79b9f8167df82b7a8e18df5242a36fa8abe%2Fdb-plans-compare-table-annotated.png?alt=media" alt="The Compare plans table with all features shown: four columns, Free $0, Pro $29, Advanced $59 and Enterprise $299 (marked Current); the VOLUME rows (orders included each month, if you go over, free trial); the EARNING CREDIT rows; the MORE rows (Klaviyo, Omnisend, Mailchimp and Flow integrations, B2B store credit, custom sending domain, wallet passes, Api Access); and the Hide extra features button."><figcaption><p>Compare plans by order volume first. Click Show all features to see the MORE rows. Backfill credit for past orders is Enterprise only, even where the table shows a tick for Pro or Advanced.</p></figcaption></figure>

{% hint style="info" %}
Blocks inside the checkout steps (for example the checkout cashback and store credit blocks) need **Shopify Plus**. That's a Shopify requirement for checkout editing, independent of your DollarBack plan. The **Thank you** and **Order status** page blocks work on every Shopify plan.
{% endhint %}

If your volume outgrows the public plans, the bottom of the page asks "Doing more than 5,000 orders a month?". Click **Talk to us** to open a chat about custom pricing.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-6b8e962c2aed31ecf6972d4abf8c72c9cf7715f5%2Fdb-p2-ga-plans-talk-to-us-annotated.png?alt=media" alt="The Before you change plan card at the bottom of the Plans page, with four billing questions and the line Doing more than 5,000 orders a month? next to a Talk to us button."><figcaption><p>For more than 5,000 orders a month, click Talk to us to ask for custom pricing.</p></figcaption></figure>

## Start your trial

1. On the plan you want, click its button in the table. When the plan has a free trial, the button shows its length, for example **Start · N-day trial**, where N is the trial length. The **Free trial** row shows the trial length for each plan. A free plan's button reads **Get started**.
2. Approve the subscription in Shopify's billing prompt. Shopify manages the charge, and you won't be billed until the trial ends.
3. You land back in DollarBack with every feature of that plan active immediately. The dashboard's **Plan & usage** card now shows your plan name and the current billing period.

During the trial the plan behaves exactly as paid: order counting, feature gates, everything. Cancel or switch before the trial ends and you pay nothing.

## Changing plans later

Go back to **DollarBack admin → Billing** at any time. Your current plan's column has a **Current** badge and a disabled **Current plan** button. Other plans show **Upgrade** (with the trial length when the plan has one, for example **Upgrade · N-day trial**) or **Downgrade**. When the **Monthly** / **Annual** switch shows the other billing interval of your current plan, its button reads **Switch to yearly** or **Switch to monthly**. One plan can carry a **Recommended** badge, based on your order volume. Upgrades take effect immediately; Shopify prorates the charge. If you see the banner **Your plan is no longer offered**, pick a current plan with its **Change plan** button, since legacy plans are being discontinued.

{% hint style="warning" %}
Downgrades also apply immediately: any feature the new plan doesn't include locks at once, with no grace period. See [Plans, usage and overage billing](/dollarback-store-credit/analytics-data-and-account/plans-usage-and-overage-billing) for what that means for order editing and tiers.
{% endhint %}

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-b1d2d67e08bb3f402a99f887291295d1eddbf9cd%2Fdb-plans-current-plan-annotated.png?alt=media" alt="The top card of the Plans page: Your plan: Enterprise with an Active badge and $299 / month, billed monthly; Orders this cycle 0 · unlimited; a volume selector; and three notes, Billed by Shopify, Change any time and Nothing is lost."><figcaption><p>The top of the Plans page shows your plan, its status and this cycle’s orders.</p></figcaption></figure>

## Verify it works

After subscribing, check the dashboard: the **Plan & usage** card shows the plan name and price, and gated pages (for example **DollarBack admin → Tiers** on Pro, or **Bulk import** from the Home page's Quick links) open without an upgrade prompt.

## Common issues

* **A feature page shows an upgrade prompt** (for example "Tiers is available on a higher plan" or "Upgrade Required"): your current plan doesn't include it; check its row in the **Compare plans** table.
* **Order count seems too high or overage appeared** → [Plans, usage and overage billing](/dollarback-store-credit/analytics-data-and-account/plans-usage-and-overage-billing)
* **Checkout blocks unavailable after upgrading DollarBack**: that gate is Shopify Plus, not the DollarBack plan → [Activate widgets in your theme](/dollarback-store-credit/getting-started/activate-widgets-in-your-theme)

## Related articles

* [Plans, usage and overage billing](/dollarback-store-credit/analytics-data-and-account/plans-usage-and-overage-billing)
* [Understanding the dashboard](/dollarback-store-credit/getting-started/understanding-the-dashboard)
* [Loyalty tiers overview](/dollarback-store-credit/loyalty-tiers/loyalty-tiers-overview)
* [Bulk import credit (CSV)](/dollarback-store-credit/analytics-data-and-account/bulk-import-credit-csv)
* [Backfill cashback for past orders](/dollarback-store-credit/earning-cashback-programs/backfill-cashback-for-past-orders)


# Migrating from another loyalty app

{% hint style="info" %}
**Plan:** Bulk import is available on the Pro plan and above. If the Bulk Import page shows **Upgrade Required**, your plan doesn't include it.
{% endhint %}

Moving from another loyalty app means carrying your customers' balances with you. The path: export balances from the old app, reshape them into DollarBack's CSV format, import with notifications off, then spot-check before you announce anything.

If you'd rather start customers with credit calculated from their actual order history under your new rules, instead of carrying over old balances, see [Backfill cashback for past orders](/dollarback-store-credit/earning-cashback-programs/backfill-cashback-for-past-orders). Backfill is available on the Enterprise plan only.

## Prerequisites

* A plan that includes bulk import ([Choose a plan and start your trial](/dollarback-store-credit/getting-started/choose-a-plan-and-start-your-trial))
* Balance export access in your old loyalty app
* Not a development store (bulk import is blocked on development stores)

## Step 1: Export balances from the old app

Most loyalty apps offer a CSV export of customer balances (sometimes called points, credits, or wallet balances). Export it *last thing* before switching. Any earning that happens in the old app after the export won't carry over.

{% hint style="warning" %}
If the old app uses **points** rather than currency, decide your conversion rate now (say, 100 points = $1) and convert every row. DollarBack imports currency amounts, not points.
{% endhint %}

## Step 2: Map the columns

Reshape the export into DollarBack's format. Required headers:

| Column                  | Required     | Notes                                                                                                                                                                                                       |
| ----------------------- | ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Amount`                | Yes          | Positive number, in currency (convert points first). Quoted values and thousand separators like `"8,260.90"` are handled.                                                                                   |
| `Currency`              | Yes          | e.g. `USD`                                                                                                                                                                                                  |
| `Email` or `CustomerId` | At least one | `CustomerId` (the Shopify customer ID) is tried first. If it finds no customer, the import tries the row's `Email`. Email must match the customer's email in Shopify.                                       |
| `ExpiryDays`            | No           | Whole days until that row's credit expires. Leave blank to use the **Credit expires** setting for the whole file, or `0` to never expire.                                                                   |
| `ExpiresAt`             | No           | An exact expiry date for that row, for example `2026-12-31` (end of that day, in your store's timezone) or `2026-12-31 18:00`. It overrides `ExpiryDays`. A value that isn't a date rejects the whole file. |

Use `ExpiryDays` or `ExpiresAt` to carry over each customer's remaining expiry from the old app.

Keep the file under **5 MB**; split large migrations into multiple files if needed.

{% hint style="warning" %}
Rows with no `Email` and no `CustomerId`, or with an `Amount` that isn't a number above 0, are dropped before the import starts. They don't appear in the job's log. Compare the number of rows in your file with the number in the log to catch them.
{% endhint %}

{% hint style="warning" %}
Duplicate rows are **not** deduped: two rows for the same customer credit them twice. Deduplicate in your spreadsheet before uploading.
{% endhint %}

## Step 3: Import with notifications off

1. Open **DollarBack admin → Home** and, in the **Quick links** card, click **Open** next to **Bulk import** (*"Bulk credit or debit customers by uploading a CSV file"*).
2. Set **Action Type** to **Credit**.
3. Set **Credit expires**: **Never** keeps migrated credit forever. Choose **After a number of days** or **On a date** if you want migrated balances to expire. An `ExpiresAt` or `ExpiryDays` column in the CSV overrides this per row.
4. Turn **Notify Customers** **off**. A migration shouldn't blast every customer with a "you just earned credit" email. Announce the switch on your own schedule instead.
5. Optionally turn **Send to Integrations** off too, so the import doesn't trigger Klaviyo/Omnisend/Flow events for every row.
6. Upload the CSV and click **Import CSV**.
7. Watch the job move from pending → processing → completed. Rows commit in small batches; stopping a job keeps everything already processed.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-ff81b7ba24c21c43ce84de26ef72f3b73f1b988f%2Fdb-dash-plan-usage-quick-links-annotated.png?alt=media" alt="Two DollarBack home page cards. Plan and usage shows the current plan with a Manage link and the orders this period with a View link. Quick links shows Bulk import and Backfill past orders, each with an Open link."><figcaption><p>Bulk import has no item in the DollarBack menu. Open it from the Quick links card on the home page.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-7ddeb89dc53d4ef73925ba23880c86b0c246a9b4%2Fdb-bulk-import-migration-annotated.png?alt=media" alt="The Upload CSV File card on the Bulk Import page: Action Type set to Credit, Credit expires set to Never, the Notify Customers, Send to Integrations and B2B Mode switches all off, a Reason field, and the Download Sample CSV and Choose CSV File buttons." width="560"><figcaption><p>For a migration, credit the balances with Notify Customers and Send to Integrations both off.</p></figcaption></figure>

Rows where neither the `CustomerId` nor the `Email` finds a customer log **"Customer not found"** and the job continues; those rows are skipped, not fatal. Full field-by-field details are in [Bulk import credit (CSV)](/dollarback-store-credit/analytics-data-and-account/bulk-import-credit-csv).

## Step 4: Spot-check balances

1. Download the job's log. It lists every row with customer ID, email, action, amount, currency, status, and message.
2. Filter for anything that isn't a success. "Customer not found" rows usually mean the customer hasn't been migrated into Shopify yet, or the email differs. Fix and re-import *only those rows*.
3. Pick five to ten known customers and compare their DollarBack balance against the old app's export: check **DollarBack admin → Analytics → Activity → Credits earned**, or sign in to the storefront as a test customer and open the widget.
4. Confirm the totals in **Analytics → Activity → Credits earned**, which lists imported credit. The **Overview** cards leave bulk imports out, so they won't match your CSV total.

## Verify it works

Place a test order with a migrated customer account: at checkout, store credit appears as a payment option with the migrated balance available to spend.

## Common issues

* **The job failed or many rows errored** → [My bulk import failed](/dollarback-store-credit/troubleshooting-and-faq/bulk-import-failed)
* **"Customer not found" on rows you expected to work**: the customer doesn't exist in Shopify yet, or the email doesn't match; import customers into Shopify first.
* **A customer was credited twice**: duplicate rows in the CSV; use **Action Type: Debit** with a correction file to remove the excess.
* **Balances imported but not offered at checkout** → [Store credit isn't available at checkout](/dollarback-store-credit/troubleshooting-and-faq/store-credit-isnt-available-at-checkout)

## Related articles

* [Bulk import credit (CSV)](/dollarback-store-credit/analytics-data-and-account/bulk-import-credit-csv)
* [Quick start: launch your first cashback program](/dollarback-store-credit/getting-started/quick-start-launch-your-first-cashback-program)
* [Credit expiry and reminders](/dollarback-store-credit/spending-store-credit-and-rewards/credit-expiry-and-reminders)
* [Export balances and reports](/dollarback-store-credit/analytics-data-and-account/export-balances-and-reports)


# Earning: Cashback Programs

Every way customers earn store credit, and exactly how the credit engine calculates it.

* [Cashback program types at a glance](/dollarback-store-credit/earning-cashback-programs/cashback-program-types-at-a-glance)
* [Set up purchase cashback](/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback)
* [Set up signup & newsletter rewards](/dollarback-store-credit/earning-cashback-programs/set-up-signup-and-newsletter-rewards)
* [Set up birthday rewards](/dollarback-store-credit/earning-cashback-programs/set-up-birthday-rewards)
* [Set up social follow rewards](/dollarback-store-credit/earning-cashback-programs/set-up-social-follow-rewards)
* [Custom rewards via API](/dollarback-store-credit/earning-cashback-programs/custom-rewards-via-api)
* [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated)
* [When credit is issued](/dollarback-store-credit/earning-cashback-programs/when-credit-is-issued)
* [Backfill cashback for past orders](/dollarback-store-credit/earning-cashback-programs/backfill-cashback-for-past-orders)
* [Exclude customers from earning](/dollarback-store-credit/earning-cashback-programs/exclude-customers-from-earning)
* [Reward discount codes instead of store credit](/dollarback-store-credit/earning-cashback-programs/reward-discount-codes-instead-of-store-credit)
* [Win back abandoned checkouts with cashback](/dollarback-store-credit/earning-cashback-programs/win-back-abandoned-checkouts-with-cashback)


# Cashback program types at a glance

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

\_This article's section starts at 0:00 in the video.\_

DollarBack has seven cashback program types. This page compares them so you can pick the right one before you build. Each type has its own setup article with full steps.

## The seven types

Open **DollarBack admin → Home**, select the **Cashback** tab and click **Manage configurations**. You'll see the program types in the editor's sidebar. Every type can pay out either **Store credit** (the default) or a **Discount code**; see [Reward discount codes instead of store credit](/dollarback-store-credit/earning-cashback-programs/reward-discount-codes-instead-of-store-credit).

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-7ca20844b2876337676f0421190425054df22a41%2Fdb-home-manage-configurations-annotated.png?alt=media" alt="DollarBack home page programs card with the Cashback tab selected, a table of four programs, and a Manage configurations button."><figcaption><p>The app menu has no Cashback item. Select the Cashback tab on the home page and click Manage configurations.</p></figcaption></figure>

| Type                  | What triggers it                                                                                     | Typical use                                                                                                                 | Setup article                                                                                                                                                     |
| --------------------- | ---------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Purchase reward**   | An order is placed (or paid / fulfilled, per your global trigger setting)                            | Your core earn program: a percentage or fixed amount back on orders, optionally with order-goal tiers and product targeting | [Set up purchase cashback](/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback)                                                           |
| **Signup bonus**      | A customer creates a store account for the first time                                                | Turn guests into account holders so they can see and spend their balance                                                    | [Set up signup & newsletter rewards](/dollarback-store-credit/earning-cashback-programs/set-up-signup-and-newsletter-rewards)                                     |
| **Newsletter signup** | A customer subscribes to email marketing                                                             | Grow your email list with a one-time credit                                                                                 | [Set up signup & newsletter rewards](/dollarback-store-credit/earning-cashback-programs/set-up-signup-and-newsletter-rewards)                                     |
| **Birthday gift**     | The customer's birthday arrives (birthday collected via the widget or API)                           | A once-a-year surprise that brings lapsed customers back                                                                    | [Set up birthday rewards](/dollarback-store-credit/earning-cashback-programs/set-up-birthday-rewards)                                                             |
| **Social follow**     | A signed-in customer clicks your trackable short link to an off-store page (Instagram, TikTok, etc.) | Reward follows and off-store engagement with click attribution                                                              | [Set up social follow rewards](/dollarback-store-credit/earning-cashback-programs/set-up-social-follow-rewards)                                                   |
| **Review reward**     | A customer writes a product or store review in Judge.me (Judge.me must be connected)                 | Grow your reviews with store credit or a discount code per review                                                           | [Judge.me review rewards](/dollarback-store-credit/integrations/store-credit-for-submitting-review/reward-customers-with-store-credit-for-reviews-using-judge.me) |
| **Custom (API)**      | Your own server calls `POST /api/v1/merchant/custom`                                                 | Reward anything DollarBack can't see: reviews in other apps, UGC, in-store visits, quiz completions                         | [Custom rewards via API](/dollarback-store-credit/earning-cashback-programs/custom-rewards-via-api)                                                               |

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-7766b2d7ddc1a7f54fe8b46a6e0e7cbd910b2de2%2Fdb-p2-es-cashback-type-sidebar-annotated.png?alt=media" alt="Configure Cashback Settings page with a sidebar of seven program types (Purchase rewards, Birthday gifts, Social follows, Signup bonus, Newsletter signup, Review rewards with a Connect link, Custom (API)) and one purchase program card."><figcaption><p>Each program type has its own entry in the sidebar. <strong>Review rewards</strong> stays locked, with a <strong>Connect</strong> link, until Judge.me is connected.</p></figcaption></figure>

## How to choose

* **Start with a Purchase reward.** It is the engine of the program; every other type layers on top of it. A simple store-wide percentage is enough to launch.
* Signup and Newsletter bonuses are one-shot: each customer can earn each of them once, ever. They're acquisition tools, not recurring rewards.
* **Birthday gifts are scheduled, not instant.** The credit is scheduled for the customer's date and lands automatically. No admin page lists upcoming birthday gifts; each one shows in **Analytics → Activity** once it is paid. See [Set up birthday rewards](/dollarback-store-credit/earning-cashback-programs/set-up-birthday-rewards).
* Social follow rewards attribute by click, not by follow. DollarBack credits the customer when they click your short link while signed in; it cannot verify the follow itself on the platform.
* **Custom (API) needs a developer.** Nothing fires automatically; rewards are granted only when your code calls the endpoint with the config's ID.

## What customers see

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2bc8ced122fe0c2d5cb471ad2f638dc27044f2b7%2Fdb-cx-widget-offers-earn.png?alt=media" alt="Floating widget Offers tab with Your Credit $22.33, the Bronze tier card, and the sections Birthday (Add your birthday and earn $10.00 on your birthday, with an Add button), Social (Follow us on LinkedIn to earn $5.00, with a Follow button) and Reviews (Write a product review to earn $5.00)." width="380"><figcaption><p>Your customers see your birthday, social follow and review programs in the widget's Offers tab, each with what it pays.</p></figcaption></figure>

## Rules that apply to every type

* Each program has its own value and start/end dates. Only **Custom (API)** and **Review reward** programs have a "how many times per day, month or year" limit. A program that pays a **Discount code** has **Limit issues per customer**, a lifetime cap on how many codes it gives one customer.
* The global order settings (calculation base, trigger event, holding period, caps) shape the rewards earned from orders. See the [Settings](/dollarback-store-credit/settings).
* **Loyalty tiers replace store-wide purchase earning.** When tiers are active, a customer earns purchase cashback only from the programs linked to their tier, and a customer with no tier earns no purchase cashback. See [Link cashback programs to tiers](/dollarback-store-credit/loyalty-tiers/link-cashback-programs-to-tiers).
* When several purchase programs could apply to the same order line, they compete and one wins per line; they never stack. The details are in [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated).

## Related articles

* [Set up purchase cashback](/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback)
* [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated)
* [Settings](/dollarback-store-credit/settings)
* [Reward discount codes instead of store credit](/dollarback-store-credit/earning-cashback-programs/reward-discount-codes-instead-of-store-credit)


# Set up purchase cashback

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

*This article's section starts at 1:04 in the video.*

By the end of this page you'll have a live purchase cashback program: a percentage or fixed amount back on orders, optionally limited to certain products or customers, scheduled between dates, and paid as credit that expires when you choose.

The program editor has four sections, and this page follows them in order: **Basic details**, **Eligibility**, **Reward**, and **Advanced**.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-79d6299cedb01571869ecc66b54f174460beac63%2Fdb-purchase-editor-map-annotated.png?alt=media" alt="An expanded purchase reward named Cleanse &#x26; Prep, showing the sections Basic details, Eligibility, Reward and Advanced from top to bottom." width="560"><figcaption><p>The editor has four sections. Credit expires is in Reward, and customer tags are in Eligibility, not in Advanced.</p></figcaption></figure>

## Prerequisites

* Widgets activated in your theme so customers can see what they earn; see [Activate widgets in your theme](/dollarback-store-credit/getting-started/activate-widgets-in-your-theme)
* Global settings reviewed (calculation base, trigger, holding period); see [Settings](/dollarback-store-credit/settings)

## Step 1: Basic details

1. Open **DollarBack admin → Home**, select the **Cashback** tab and click **Manage configurations**. Choose the **Purchase reward** type.
2. **Title**: a name customers will recognize. It appears in widgets and emails.
3. **Start date**: the program starts paying at 00:00 on this day, in your store's time zone. The editor shows the time zone under the date, for example "(Europe/Lisbon time)".
4. **Set an end date** (optional): tick it and pick an **End date** for seasonal boosts. The program pays through the whole end date, up to 23:59:59 in the same time zone, then stops on its own; you don't need to remember to switch it off. Leave it unticked to run indefinitely. An order placed while the program ran keeps its cashback after the end date: credit still in a [holding period](/dollarback-store-credit/earning-cashback-programs/when-credit-is-issued) is released as normal (unless its fixed expiry date has passed; see [Credit expires](#credit-expires) below), and later refunds and edits use the programs saved on that order.

{% hint style="info" %}
**Back-to-back programs don't overlap.** A program that ends on Nov 15 and another that starts on Nov 16 hand over at midnight, store time, with no gap and no overlap.

**Dates are checked when your trigger fires.** With **Order Created** (the default), that's the moment the order is placed. With **Order Paid** or **Order Fulfilled**, it's the moment the order is paid or fulfilled. So with Order Paid, an order placed late on the end date and paid the next day (for example by bank transfer or cash on delivery) misses the program. See [When credit is issued](/dollarback-store-credit/earning-cashback-programs/when-credit-is-issued).
{% endhint %}

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-7ca20844b2876337676f0421190425054df22a41%2Fdb-home-manage-configurations-annotated.png?alt=media" alt="DollarBack home page programs card with the Cashback tab selected, a table of four programs, and a Manage configurations button."><figcaption><p>To open the program editor, select the Cashback tab on the home page and click Manage configurations.</p></figcaption></figure>

## Step 2: Choose which products earn

Under **Eligibility**, the **Applies to** field decides which order lines earn:

| Option                   | Earns cashback on                                     |
| ------------------------ | ----------------------------------------------------- |
| **All products**         | Every line in the order                               |
| **Specific collections** | Lines whose product is in the selected collections    |
| **Specific products**    | Lines for the selected products                       |
| **Specific variants**    | Only the selected variants (e.g. just the 30 ml size) |

For **Order goal** programs this same selection also decides what counts toward the goal threshold; see [Scoped goals](#scoped-goals-count-only-certain-products-toward-the-target) below.

{% hint style="warning" %}
**Programs compete; they never stack.** When more than one program matches the same order line, exactly one wins for that line. Programs targeting specific collections, products, or variants claim their lines before the all-products program runs, even when the all-products rate is higher: a 10% collection program beats a 15% store-wide program on that collection. Between targeted programs there is no variant-over-product-over-collection ranking; the one paying the most for the line wins. Full detail and a scenario table in [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated).
{% endhint %}

## Step 3: Choose which customers earn (customer tags)

Also under **Eligibility**, two tag fields decide **who** can earn from this program. Both use your Shopify customer tags, the same ones you see on the customer in Shopify admin.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2dc15fe6cdf5d2e1eebd493005818d85c483a4ab%2Fdb-p2-es-purchase-eligibility-tags-annotated.png?alt=media" alt="Eligibility section with Applies to set to Specific collections, 1 selected, and greyed Include customer tags and Exclude customer tags fields." width="560"><figcaption><p>Customer tags are in Eligibility, next to Applies to. When tiers are on, the tag fields are greyed out, and store-credit programs ignore them.</p></figcaption></figure>

* **Include customer tags**: only customers carrying **at least one** of these tags earn from this program. Leave it empty and every customer can earn.
* **Exclude customer tags**: customers carrying **any** of these tags never earn from this program, even if they also carry an include tag.

What you can build with them:

| Goal                                                         | Include      | Exclude            |
| ------------------------------------------------------------ | ------------ | ------------------ |
| A higher rate for your VIPs only                             | `VIP`        |                    |
| A store-wide program that skips staff and wholesale accounts |              | `staff, wholesale` |
| An offer for one customer group, minus a sub-group           | `newsletter` | `wholesale`        |

Pair a tag-gated program with a normal one to run "everyone gets 5%, VIPs get 10%": create a 5% program for everyone with `VIP` excluded, and a 10% program with `VIP` included.

A few details that keep expectations straight:

* Tags must match exactly, including spelling and capital letters. Check them against the customer in Shopify admin.
* DollarBack reads the customer's tags when it processes the order. A tag added after that doesn't change an order that has already been processed.
* These tags only affect **this** program. To stop a customer earning from every order-based program at once, use the global tag exclusion in Settings (it doesn't cover signup, birthday, social, review, custom or referral rewards); see [Exclude customers from earning](/dollarback-store-credit/earning-cashback-programs/exclude-customers-from-earning).
* Tags are easy to apply automatically: Shopify Flow, customer segments, or at import time.

{% hint style="info" %}
**Using loyalty tiers?** When tiers are enabled, the tag fields are greyed out and ignored for store-credit programs only. A program that rewards a **discount code** still checks the tags it had saved before tiers were turned on, even though you can't edit them. Tiers then decide who earns from which program: a customer earns only from the programs linked to their tier, and a customer with no tier earns no purchase cashback. Tiers replace store-wide earning; they are not an extra layer on top of it. Link the program to every tier that should earn from it; see [Link cashback programs to tiers](/dollarback-store-credit/loyalty-tiers/link-cashback-programs-to-tiers).
{% endhint %}

## Step 4: Set the reward

### Reward kind

The **Reward** section starts with **Reward kind**:

* **Store credit** (the default): the customer earns credit into their Shopify store credit balance. The rest of this step covers this option.
* **Discount code**: the order earns a code from your Reward marketplace instead of credit; see [Reward discount codes instead of store credit](/dollarback-store-credit/earning-cashback-programs/reward-discount-codes-instead-of-store-credit).

### Reward type and value

Pick the value style with the **Percentage / Fixed / Order goal** selector:

* **Percentage**: e.g. 10% of the eligible amount back.
* **Fixed**: a set amount per item. Fixed values multiply by quantity, and per-line cashback never exceeds what the customer actually paid for that line.
* **Order goal**: tiered rewards by spend, on the whole order or just targeted products (see [Order goals](#order-goals-optional) below).

### Credit expires

**Credit expires** decides how long the customer has to spend the credit this program issues. Pick one of three options:

| Option                     | When the credit expires                                                            | Good for                                                 |
| -------------------------- | ---------------------------------------------------------------------------------- | -------------------------------------------------------- |
| **Never**                  | It doesn't                                                                         | Everyday programs, if you'd rather not set a deadline    |
| **After a number of days** | That many days after each credit is issued, so every customer gets the same window | Always-on programs: "spend it within 90 days"            |
| **On a date**              | At one exact date and time, for every credit the program issues                    | Seasonal campaigns: "Black Friday credit expires Feb 28" |

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-0a748b23b194bb058681ec95e34e1d7a7e3f9cc6%2Fdb-purchase-reward-expiry-annotated.png?alt=media" alt="Reward section with Reward kind Store credit, Reward type Percentage, Percentage 5 %, and Credit expires set to On a date with an expiry date and a time field that shows the store&#x27;s time zone." width="560"><figcaption><p>Credit expires is in the Reward section, next to the cashback value. Each program has its own expiry.</p></figcaption></figure>

#### After a number of days

* **The clock starts when the credit is issued, not when the order is placed.** If your global settings hold credit until fulfilment or for a holding period, the window begins once the credit actually lands in the customer's balance. With a 14-day holding period and 30-day expiry, the customer has the full 30 days from the moment they receive the credit.
* Days are counted in whole 24-hour periods from the moment of issue.

#### On a date

Choose **On a date**, then pick the date and the time. The time defaults to 23:59, and it's in your store's time zone: the zone is shown in the time field (hover it for the full name). Customers see the same moment in their emails and on the storefront.

* **Every credit expires at the same moment**, whether the customer earned it on day one of the campaign or the day before the deadline.
* **The date must be in the future.** The editor won't save a date that has passed, and it warns you if the date is less than an hour away.
* **The program stops paying once the date passes.** An order placed after the expiry moment earns nothing from this program, because the credit would already be expired. Set an end date as well if you want the program to stop earlier.
* **Watch your holding period.** With a holding period, credit is issued days after the order. If that lands after the expiry date, the customer gets no credit for that order. The editor shows a warning when your holding period and expiry date overlap ("Orders after … get no credit"), and so does Settings. Leave enough room: for a campaign that ends on Dec 1 with credit expiring on Feb 28, a holding period of up to 88 days is safe.

#### For every option

* **Each program has its own expiry.** You can give a seasonal boost a fixed date while your everyday program uses 365 days. If one order earns from two programs with different expiry settings, the customer receives separate credits, each with its own expiry.
* **Changes apply to new credit only.** Changing the expiry later doesn't move the expiry of credit already issued.
* **When credit expires**, Shopify removes whatever is left of it from the customer's balance. Spent credit is unaffected.
* **Remind customers before it lapses.** Reminder emails (and the matching Klaviyo, Omnisend and Flow events) go out on the schedule you set in Notifications; see [Credit expiry & reminders](/dollarback-store-credit/spending-store-credit-and-rewards/credit-expiry-and-reminders).

### Order goals (optional)

With **Order goal** selected, you build a ladder of spend thresholds instead of a single rate. **Credit expires** still applies to whatever the goal pays.

1. Pick the **Goal type**, which controls how every rung of the ladder pays out:
   * **Percentage of order goal**: the reward is a percentage of the eligible spend.
   * **Fixed cashback**: the reward is a set credit amount.
2. Each goal has two fields: **When order value equals or exceeds** (the threshold, in your store currency) and **Customer will earn store credits** (the percentage or amount). Use **Add order goal** to add more rungs; a program keeps at least one.

For example: $5 back at $75, $15 back at $150.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-a17ac67cb5b788f39c0c1def91e69b582a599eac%2Fdb-purchase-order-goals-annotated.png?alt=media" alt="Reward section of a new purchase reward with Order goal selected, the choices Percentage of order goal and Fixed cashback, two goal rows, and an Add order goal button." width="560"><figcaption><p>With Order goal selected, you build a ladder of thresholds. The highest one that the order meets pays.</p></figcaption></figure>

{% hint style="info" %}
Goals are **highest-met wins, not cumulative**. An order of $160 with the ladder above earns up to $15, never $5 + $15. It can be less: if another program pays more on some of the order's lines, those lines go to that program and the goal pays only its share for the lines it kept (or nothing if it keeps none). See [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated#step-4-which-program-claims-each-line). Widgets show customers their progress toward the next threshold.
{% endhint %}

#### Scoped goals: count only certain products toward the target

Order goals respect the program's product targeting from [Step 2](#step-2-choose-which-products-earn). With **All products** selected the threshold is measured against the whole order, but if you target **Specific collections**, **Specific products**, or **Specific variants**, both sides of the goal narrow to the matching lines:

* **The threshold counts only spend on matching items.** A $150 goal on your Serums collection needs $150 of serums in the cart; other products don't move the needle.
* **The payout is based on the same spend.** A percentage goal pays its percentage of the matched spend, not the full order, and the credit is attributed proportionally across the matching lines (which keeps later refund clawbacks accurate per line).

This is how you build offers like "spend $100 on skincare, get $10 back" without the rest of the cart qualifying the goal.

A few details that keep expectations straight:

* Spend is measured **after discounts** on the matching lines, and store credit spent on the order reduces the matched spend proportionally before the threshold check.
* Thresholds are set in your **store currency**; for customers shopping in another currency, DollarBack converts at the order's rate automatically.
* Gift-card lines don't count toward goals unless your global settings give cashback on gift cards.

## Step 5: Advanced options

The **Advanced** section controls who sees the offer and which orders it pays on.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-9be6eda9b7f45b83e7c61c10af33705c64c41f1a%2Fdb-purchase-advanced-annotated.png?alt=media" alt="Advanced section with Who can see this offer set to Everyone, Give cashback when discount codes are used ticked, and unticked sales channel boxes Online Store, Shop, Point of Sale and Draft orders." width="560"><figcaption><p>Advanced holds only visibility, the discount-code rule and sales channels. Credit expires is in Reward, and customer tags are in Eligibility.</p></figcaption></figure>

### Who can see this offer

This decides which shoppers see the program in your storefront widgets:

| Option                  | Shown to                                                                               |
| ----------------------- | -------------------------------------------------------------------------------------- |
| **Everyone**            | All shoppers                                                                           |
| **Logged-in customers** | Only shoppers signed in to a customer account                                          |
| **Guests only**         | Only shoppers who aren't signed in, e.g. to show "create an account and earn 10% back" |

{% hint style="warning" %}
Visibility controls **what shoppers see**, not **who earns**. A program set to **Logged-in customers** still pays on an eligible order from a customer who never saw it. To limit who earns, use customer tags ([Step 3](#step-3-choose-which-customers-earn-customer-tags)) or tiers.
{% endhint %}

### Give cashback when discount codes are used

Ticked by default. Untick it and any order where the customer entered a **discount code** earns nothing from this program: the whole order, not just the discounted lines.

* Only codes count. Automatic discounts don't switch this off, though cashback is still calculated on the discounted price.
* The setting is per program. If another program that matches the order still allows codes, that program can pay instead.
* Typical use: stop customers stacking an influencer or sale code on top of a generous cashback rate, while keeping a smaller everyday program that pays on every order.

### Restrict to sales channels

Limit earning to specific channels: your installed channels (Online Store, Point of Sale, and so on) are listed, plus **Draft orders** as its own checkbox. Leave all of them unchecked to allow every channel.

Use this to keep POS orders, marketplace channels, or admin-created draft orders out of one program without affecting the others.

### Switch it on and save

A new program starts **Disabled**. Click the toggle next to the status badge at the top of the program card, then **Save**. The badge changes to **Enabled** (or **Scheduled** if the start date is still ahead).

## Program status and banners

Each program card in the list shows a status badge next to its on/off toggle:

| Badge         | Meaning                                                                                                                                                                                         |
| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Enabled**   | The toggle is on and today is inside the program's dates. The program pays on eligible orders.                                                                                                  |
| **Scheduled** | The toggle is on, but the **Start date** is still ahead. Hover the badge to see when it starts, in your store's time zone.                                                                      |
| **Disabled**  | The toggle is off. The program pays nothing until you switch it on and save.                                                                                                                    |
| **Expired**   | The **End date** has passed, or the fixed credit expiry date (**Credit expires → On a date**) has passed. The program pays nothing, and the toggle is locked: change the date to bring it back. |

**Expired** wins over the toggle: an expired program shows **Expired** even when its toggle is on. A program that is switched off before its start date shows **Disabled**, not **Scheduled**.

If you use [loyalty tiers](/dollarback-store-credit/loyalty-tiers/loyalty-tiers-overview), the card can also show a banner:

* **Used by tiers: Gold, Silver** (blue): the program is linked to these tiers, and their members earn from it.
* **This config is not assigned to any tier. It won't be used when tiers are active.** (yellow): tiers are switched on and no tier links this program, so nobody earns from it. Link it to a tier on the **Tiers** page, or delete it.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-c9fd0ef7ed125ff488aa4314e42ecfabeabc3375%2Fdb-f1-program-status-banners-annotated.png?alt=media" alt="Two purchase program cards. The first, Cleanse &#x26; Prep, has a green Enabled badge, its toggle on, and a blue banner Used by tiers: Gold, Silver, Bronze. The second, Untitled purchase reward, has a yellow Disabled badge, its toggle off, and a yellow banner This config is not assigned to any tier. It won&#x27;t be used when tiers are active."><figcaption><p>A new program starts Disabled. With tiers on, a program that no tier links shows a yellow warning.</p></figcaption></figure>

## What customers see

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2f0979e79640da3b7e21882a98d7892e12879fd9%2Fdb-cx-product-page-message.png?alt=media" alt="Product page with the message You will get $1.20 cashback due to Cleanse &#x26; Prep to select items., an info icon, and the Add to cart button below it." width="470"><figcaption><p>On a product that the program targets, your customers see the cashback it earns and the program's title.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-217fdb114d4ccb9415ec58021107e96edfa94acb%2Fdb-cx-cart-message.png?alt=media" alt="Cart summary with the message You will get $2.50 cashback due to Cleanse &#x26; Prep to select items., the estimated total and a Check out button." width="410"><figcaption><p>In the cart, your customers see the cashback that the eligible items in the cart earn.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-f46e33f547e2836e65ffbd6573643c782f4237b2%2Fdb-cx-thank-you-cashback.png?alt=media" alt="Thank-you page order summary with the banner Congratulations! You earned $2.33 and You earned $2.33 credit for your next order, above four items and totals that include Store credit −$20.00." width="430"><figcaption><p>On the thank-you page, your customers see the credit they earned: $2.33 here, less than the $2.50 estimate, because this store gives no cashback on the part paid with store credit.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-9748a7fe0b883f8ac17d4d9fea1ec434f195dbf5%2Fdb-cx-email-credited.png?alt=media" alt="Email with the subject Maya, You Just Earned $2.33 for Shopping with Us!, the heading Congratulations, Maya!, the line You&#x27;ve received $2.33 in store credit, the new balance $12.33 and a Visit store button." width="560"><figcaption><p>When the credit lands, your customers get an email with the amount and their new balance. This demo store uses a custom subject line.</p></figcaption></figure>

## Verify it works

1. On the storefront, open a targeted product. The product-page message should show the cashback for it.
2. Place a test order that qualifies (and crosses a goal threshold if you set one). If you used customer tags, place it as a customer who carries the right tags.
3. In **DollarBack admin → Analytics → Activity**, find the order and check the credited amount and program name match what you expect. Remember the trigger event and holding period from your global settings control *when* the credit appears; see [When credit is issued](/dollarback-store-credit/earning-cashback-programs/when-credit-is-issued).
4. If you set an expiry, open the customer in Shopify admin, then **Store credit → Expirable amounts**, and check the credit's **Expiration date**. With **After a number of days**, it's the moment the credit was issued plus that many days. With **On a date**, it's exactly the date and time you picked.

## Common issues

* Order earned less than expected: usually a discount on the order or a competing program winning the line; see [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated).
* No credit at all: check trigger timing, dates, customer tags, the discount-code setting, sales channels, and exclusions: [A customer didn't receive cashback](/dollarback-store-credit/troubleshooting-and-faq/customer-didnt-receive-cashback).
* A tagged customer didn't earn: check the tag's exact spelling against the customer in Shopify admin, and whether loyalty tiers are enabled (tiers override the tag fields on store-credit programs).
* Nothing shows on the product page: check **Who can see this offer**, then see [A widget isn't showing on my store](/dollarback-store-credit/troubleshooting-and-faq/widget-isnt-showing).

## Related articles

* [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated)
* [When credit is issued](/dollarback-store-credit/earning-cashback-programs/when-credit-is-issued)
* [Credit expiry & reminders](/dollarback-store-credit/spending-store-credit-and-rewards/credit-expiry-and-reminders)
* [Exclude customers from earning](/dollarback-store-credit/earning-cashback-programs/exclude-customers-from-earning)
* [Link cashback programs to tiers](/dollarback-store-credit/loyalty-tiers/link-cashback-programs-to-tiers)
* [Reward discount codes instead of store credit](/dollarback-store-credit/earning-cashback-programs/reward-discount-codes-instead-of-store-credit)
* [Settings](/dollarback-store-credit/settings)


# Set up signup & newsletter rewards

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

*This article's section starts at 5:02 in the video.*

Two one-shot acquisition rewards: a **Signup bonus** for creating a store account, and a **Newsletter signup** reward for subscribing to email marketing. This page sets up both and explains exactly when each fires.

## Prerequisites

* Widgets activated so new customers see their credit right away: [Activate widgets in your theme](/dollarback-store-credit/getting-started/activate-widgets-in-your-theme)

## Set up the signup bonus

1. Open **DollarBack admin → Home**, select the **Cashback** tab and click **Manage configurations**. Choose the **Signup bonus** type.
2. Set the credit amount (say $5) and, optionally, start and end dates.
3. Save and make sure the program is enabled.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-653fe6afa12f7da81986dc8d302104a6793091cd%2Fdb-signup-bonus-draft-annotated.png?alt=media" alt="New signup bonus form with Title, Start date, Amount 5, Credit expires set to Never, and Who can see this offer set to Guests only." width="560"><figcaption><p>A signup bonus needs only an amount and dates. By default, only guests see it, so they see a reason to create an account.</p></figcaption></figure>

**When it fires:** the moment a new customer record is created in Shopify. That includes a customer who registers on the storefront, a customer you create in admin, and a customer that Shopify creates at a guest checkout. DollarBack doesn't check whether the customer has activated an account, so a first-time guest buyer also gets the bonus. If the program is disabled or outside its date window at that moment, nothing is issued (and it isn't issued retroactively later).

## Set up the newsletter reward

1. In the same editor, choose the **Newsletter signup** type.
2. Set the credit amount (say $2) and optional dates.
3. Optionally fill in **Include customer tags** or **Exclude customer tags**. With include tags, only customers with at least one of them earn the reward; with exclude tags, customers with any of them don't. DollarBack checks the customer's tags when the consent changes, and tags must match exactly, including upper and lower case.
4. Save and enable.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-e267fb4a6dbf94dd87c90a79b5c67ba2cdb98579%2Fdb-p2-es-newsletter-tags-annotated.png?alt=media" alt="Eligibility section of a new newsletter signup program: Include customer tags and Exclude customer tags fields, greyed out under the note Customer tags won&#x27;t take effect when tiers are enabled." width="560"><figcaption><p>The customer tag fields of a newsletter program. Loyalty tiers are on in this example store, so the fields are greyed out.</p></figcaption></figure>

{% hint style="warning" %}
**Using loyalty tiers?** While tiers are on, the editor greys out the tag fields and says they won't take effect, so you can't change them. The newsletter reward still checks any tags the program already has. Set the tags before you turn on tiers.
{% endhint %}

**When it fires:** when a customer's email marketing consent changes to *subscribed*, from the theme's newsletter form, the checkout opt-in checkbox, or a manual change in Shopify admin.

## Where the customer sees the credit

* **Floating widget**: balance updates as soon as the credit lands.
* **Customer account**: the credit balance block shows the amount and the transaction history entry.
* **Email**: the "store credit credited" notification goes out if it's enabled in **DollarBack admin → Notifications**.
* **Admin side**: every grant is logged in **DollarBack admin → Analytics → Activity** with the program name.

## How deduplication prevents double-payouts

Both rewards are strictly **once per customer**:

* The signup bonus is deduped against the credit log: if a customer already has a signup grant for the program, a second one is never issued, even if the customer-creation event is delivered twice.
* The newsletter reward is recorded on the customer's profile the first time it's granted. Unsubscribing and re-subscribing later does **not** issue a second credit.
* The two programs are independent: a new customer who also subscribes to the newsletter earns both bonuses.

{% hint style="info" %}
Customers imported in bulk or created before the program existed don't receive the signup bonus; it only fires on the customer-creation event itself. To credit existing customers, use [Bulk import credit (CSV)](/dollarback-store-credit/analytics-data-and-account/bulk-import-credit-csv).
{% endhint %}

## Verify it works

1. Create a fresh test account on your storefront (use a plus-addressed email like `you+test@yourdomain.com`).
2. Sign in and open the floating widget. The signup credit should be in the balance.
3. Subscribe the same address to your newsletter and confirm the second credit appears.
4. Check both rows in **Analytics → Activity**.

## Common issues

* Credit didn't appear: confirm the program was enabled *before* the customer record was created. For the newsletter reward, also check the program's customer tag fields. The holding period doesn't apply to signup and newsletter rewards; it delays only rewards earned on orders.
* Newsletter reward missing: the customer's marketing consent may already have been *subscribed*; the reward only fires on the change to subscribed. See [A customer didn't receive cashback](/dollarback-store-credit/troubleshooting-and-faq/customer-didnt-receive-cashback).
* Customer can't see their balance: see [A widget isn't showing on my store](/dollarback-store-credit/troubleshooting-and-faq/widget-isnt-showing).

## Related articles

* [Cashback program types at a glance](/dollarback-store-credit/earning-cashback-programs/cashback-program-types-at-a-glance)
* [Set up birthday rewards](/dollarback-store-credit/earning-cashback-programs/set-up-birthday-rewards)
* [When credit is issued](/dollarback-store-credit/earning-cashback-programs/when-credit-is-issued)
* [Exclude customers from earning](/dollarback-store-credit/earning-cashback-programs/exclude-customers-from-earning)


# Set up birthday rewards

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

*This article's section starts at 1:08 in the video.*

A birthday reward is a credit issued on the customer's birthday, or on the first day of their birthday month. You configure it once; DollarBack collects birthdays, schedules each customer's credit, and issues it automatically.

## Prerequisites

* The floating widget active in your theme, since it contains the birthday form customers fill in ([Activate widgets in your theme](/dollarback-store-credit/getting-started/activate-widgets-in-your-theme))

## Step 1: Create the program

1. Open **DollarBack admin → Home**, select the **Cashback** tab and click **Manage configurations**. Choose the **Birthday gift** type.
2. Set the credit amount (say $10).
3. Choose the **Trigger**:
   * **Exact birthday date**: credit is issued on the customer's birthday.
   * **Birthday month**: credit is issued on the 1st of the customer's birthday month.
4. Set **Lifetime limit**: how many times each customer can receive the reward. It defaults to **1**, which makes it a one-time gift. For a reward every year, raise it (for example to 10).
5. Optionally set a **Cooldown** in days. If a customer submits their birthday fewer than this many days before it's due, the reward waits until the following year. This stops customers entering a date a few days away just to collect the credit. `0` means no restriction.
6. Optionally set **Credit expires**: Never, a number of days, or a date. To keep a birthday-month reward inside the month, use **28 days**: it never runs into the next month, though in 30- and 31-day months it ends a few days early.
7. Save and enable the program.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-9a9f30726f505b8034ff55c395d83aa2cf753308%2Fdb-birthday-trigger-annotated.png?alt=media" alt="Birthday gift editor with Lifetime limit 5, Trigger Exact birthday date, Cooldown 0 days, and a Reward section with Amount $10 and Credit expires set to After a number of days, 30 days after issue." width="560"><figcaption><p>The Birthday trigger section sets when the gift fires and how often. You set the expiry under Reward.</p></figcaption></figure>

{% hint style="warning" %}
The amount, expiry and lifetime limit are saved with each customer's birthday at the moment they submit it. Changing the program later applies to birthdays submitted afterwards, not to ones already scheduled. Settle these before you launch.
{% endhint %}

A few program settings work differently for birthday gifts than for purchase cashback:

* **Start and end dates** don't limit birthday gifts. DollarBack doesn't check them when a customer submits a birthday or when a gift is paid.
* **Customer tags** only decide who sees the birthday entry in the widget. A customer who submits a birthday another way (for example through the Merchant API) is not checked against them.

{% hint style="warning" %}
**Disabling the program doesn't cancel scheduled gifts.** It stops new birthday submissions, but gifts that are already scheduled are still paid on their date.
{% endhint %}

## Step 2: Collect birthdays

DollarBack needs to know each customer's birthday before it can schedule anything. There are two ways in:

**The widget form (no work needed).** Once a birthday program is enabled, the floating widget's "ways to earn" area shows a birthday form to signed-in customers. When a customer submits their date, DollarBack stores it on their profile.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2bc8ced122fe0c2d5cb471ad2f638dc27044f2b7%2Fdb-cx-widget-offers-earn.png?alt=media" alt="Floating widget Offers tab with Your Credit $22.33, the Bronze tier card, and the sections Birthday (Add your birthday and earn $10.00 on your birthday, with an Add button), Social (Follow us on LinkedIn to earn $5.00, with a Follow button) and Reviews (Write a product review to earn $5.00)." width="380"><figcaption><p>Signed-in customers find the birthday reward in the widget's Offers tab, and click Add to open the form.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-9ce1e4263f7acebe0dc1819e5f6978d5e0925ecc%2Fdb-cx-widget-birthday-form.png?alt=media" alt="Widget form Add Your Birthday with a Date of birth field and a Submit button." width="380"><figcaption><p>Your customers enter their date of birth and click Submit. DollarBack saves it and schedules the gift.</p></figcaption></figure>

**The Merchant API (for custom storefronts or your own forms).** Your server can submit a birthday with:

```
POST /api/v1/merchant/birthday
```

The request carries the customer ID, the birthday (day / month / year; the widget form asks for all three too), the birthday program's config ID, and the customer's currency, authenticated with your API key. Details and examples: [Merchant API: keys & endpoints](/dollarback-store-credit/developer-tools/merchant-api-keys-and-endpoints).

Either way, the birthday is saved to the customer's profile (as a customer metafield), so it survives and doesn't need to be re-collected each year.

## Step 3: What happens on the day

When a birthday is submitted, DollarBack computes the customer's **next eligible credit date** and schedules the reward. DollarBack checks for due birthday gifts twice a day, at **06:00 and 18:00 UTC**. A gift is paid at the first check after its date has started in your store's time zone, so depending on your time zone it can arrive up to about 12 hours into the day. The customer gets the birthday email (if enabled) and sees the balance in the widget and their account. Connected integrations receive a **Birthday Reward Credited** event ([Klaviyo integration](/dollarback-store-credit/integrations/klaviyo-integration)). If the lifetime limit allows another reward, the next one is scheduled for the same date a year later.

No admin page lists upcoming birthday gifts. A gift appears in **DollarBack admin → Analytics → Activity** once it is paid, like any other credit. The customer's birthday is saved on their Shopify customer profile.

{% hint style="info" %}
If the reward date has already passed this year when a customer submits their birthday, it is scheduled for **next** year; it isn't paid immediately or backdated. This includes submitting on the day itself, and, with the **Birthday month** trigger, submitting at any point during the birthday month (the reward date is the 1st).
{% endhint %}

## Verify it works

1. Sign in to your storefront as a test customer and submit a birthday in the widget form.
2. Confirm the birthday is saved on the customer's profile in Shopify admin.
3. To see the payout end to end without waiting a year, submit a test birthday a day or two ahead (beyond any **Cooldown**). On the date, after the next 06:00 or 18:00 UTC check, confirm the credit is in **Analytics → Activity** and in the customer's balance.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-8561ea0be95c5d8faf1b61d90beb266ce3d4e1cc%2Fdb-customer-metafields-card-annotated.png?alt=media" alt="Metafields card on a Shopify customer page with Dollarback Referral Code, Customer Birthday and Customer Cashback Data." width="560"><figcaption><p>The saved birthday shows as <strong>Customer Birthday</strong> in the Metafields card on the customer's page in Shopify admin.</p></figcaption></figure>

## Common issues

* The birthday wasn't saved after submitting: the program may be disabled; check the program under **Home → Cashback** tab → **Manage configurations**.
* The widget shows no birthday form: the program must be enabled and the customer signed in; see [A widget isn't showing on my store](/dollarback-store-credit/troubleshooting-and-faq/widget-isnt-showing).
* The customer got the reward once and never again: the **Lifetime limit** is still at 1. Raising it only affects birthdays submitted afterwards.
* The gift didn't arrive on the day: wait for the next 06:00 or 18:00 UTC check, then search **Analytics → Activity** for the customer. If it's still missing, see [A customer didn't receive cashback](/dollarback-store-credit/troubleshooting-and-faq/customer-didnt-receive-cashback).
* A gift arrived after you disabled the program: disabling doesn't cancel gifts that were already scheduled.

## Related articles

* [Cashback program types at a glance](/dollarback-store-credit/earning-cashback-programs/cashback-program-types-at-a-glance)
* [Custom rewards via API](/dollarback-store-credit/earning-cashback-programs/custom-rewards-via-api)
* [When credit is issued](/dollarback-store-credit/earning-cashback-programs/when-credit-is-issued)
* [Credit logs & scheduled rewards](/dollarback-store-credit/analytics-data-and-account/credit-logs-and-scheduled-rewards)


# Set up social follow rewards

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

*This article's section starts at 3:33 in the video.*

A social follow reward credits customers who visit your off-store page (Instagram, TikTok, YouTube, anywhere with a URL) through a trackable short link. When done you'll have a link you can share in email, link-in-bio, or the widget, with clicks credited automatically.

## Prerequisites

* The floating widget active, so customers have a place to find the link and see their credit ([Activate widgets in your theme](/dollarback-store-credit/getting-started/activate-widgets-in-your-theme))

## Step 1: Create the program

1. Open **DollarBack admin → Home**, select the **Cashback** tab and click **Manage configurations**. Choose the **Social follow** type.
2. Set the credit amount and optional dates.
3. In the **Social link** section, enter the off-store URL customers should land on (e.g. `https://instagram.com/yourpage`) and the label they'll see in their account. Any platform works; it's only a destination URL.

## Step 2: Generate the trackable short link

Click **Generate short link**. DollarBack creates a **Trackable short link** on the `link.dollarlabs.io` domain that redirects to your destination URL.

Share this link anywhere off-store: email campaigns, link-in-bio, QR codes. It also appears to customers inside the widget's "ways to earn" area.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-dae49874de6494f2ed1ebb4f4e44d4415a3fc416%2Fdb-social-link-short-link-annotated.png?alt=media" alt="Social link section with Display label Follow on Linkedin, a hidden Social URL, and a Trackable short link on link.dollarlabs.io with a Copy button." width="560"><figcaption><p>After you save the program, the Social link section shows your trackable short link, ready to copy.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2bc8ced122fe0c2d5cb471ad2f638dc27044f2b7%2Fdb-cx-widget-offers-earn.png?alt=media" alt="Floating widget Offers tab with Your Credit $22.33, the Bronze tier card, and the sections Birthday (Add your birthday and earn $10.00 on your birthday, with an Add button), Social (Follow us on LinkedIn to earn $5.00, with a Follow button) and Reviews (Write a product review to earn $5.00)." width="380"><figcaption><p>Signed-in customers see the social reward in the widget's Offers tab, with a Follow button that takes them to your page.</p></figcaption></figure>

## How click attribution works

* When a **signed-in** customer clicks the short link anywhere on your storefront, DollarBack automatically appends their customer ID to the link, so the click is attributed and the credit is issued, with no manual verification step.
* Clicks from customers who aren't signed in can't be attributed; the visitor is still redirected, but no credit is issued. The widget prompts customers to sign in first.
* Each customer is credited once per destination URL; repeat clicks don't earn again.

{% hint style="warning" %}
**Give each social program its own URL.** DollarBack remembers which URLs a customer has already been rewarded for, so if two social programs point to the same URL, the customer earns from only the first one they click.
{% endhint %}

{% hint style="info" %}
DollarBack rewards the **click**, not the follow itself. No platform can confirm to a third party that someone tapped "Follow". If you need a stricter flow (for example, verifying follows yourself), grant the reward from your own server with `POST /api/v1/merchant/social`; see [Merchant API: keys & endpoints](/dollarback-store-credit/developer-tools/merchant-api-keys-and-endpoints).
{% endhint %}

## Verify it works

1. Sign in to the storefront as a test customer.
2. Open the widget, find the social reward, and click the link. You should land on your social page.
3. Back in the widget, the balance should include the reward (it can take a few seconds to land).
4. Check the grant in **DollarBack admin → Analytics → Activity**, and the click against the program.

## Common issues

* Clicked but no credit: the customer probably wasn't signed in when they clicked; have them sign in and click again. See [A customer didn't receive cashback](/dollarback-store-credit/troubleshooting-and-faq/customer-didnt-receive-cashback).
* The reward doesn't appear in the widget: check the program is enabled and inside its dates; see [A widget isn't showing on my store](/dollarback-store-credit/troubleshooting-and-faq/widget-isnt-showing).
* Credit issued twice for one customer: it shouldn't be; each customer and destination URL pair is deduped. If you see it, contact support with the two log rows.

## Related articles

* [Cashback program types at a glance](/dollarback-store-credit/earning-cashback-programs/cashback-program-types-at-a-glance)
* [Custom rewards via API](/dollarback-store-credit/earning-cashback-programs/custom-rewards-via-api)
* [Set up signup & newsletter rewards](/dollarback-store-credit/earning-cashback-programs/set-up-signup-and-newsletter-rewards)
* [The floating cashback widget](/dollarback-store-credit/widgets-and-storefront/the-floating-cashback-widget)


# Custom rewards via API

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

*This article's section starts at 0:00 in the video.*

The **Custom (API)** program type lets you reward anything DollarBack can't see on its own: product reviews, UGC submissions, in-store visits, quiz completions. You define the reward in the admin; your server triggers it with one API call.

## Prerequisites

* A Merchant API key; generate one under **DollarBack admin → Settings → Developer API → REST API**. See [Merchant API: keys & endpoints](/dollarback-store-credit/developer-tools/merchant-api-keys-and-endpoints).
* A server to call the endpoint from. Never call the Merchant API from storefront JavaScript; the key must stay server-side.

## Step 1: Create the custom config

1. Open **DollarBack admin → Home**, select the **Cashback** tab and click **Manage configurations**. Choose the **Custom (API)** type.
2. Set the credit amount and optional start/end dates.
3. In the **API Reward** section, optionally check **Limit how many times each customer can earn this reward**, then set **Limit** (how many times), **Period** (day, month or year) and **Calculation method**:
   * **Rolling (N-day lookback)** counts the customer's rewards from this program in the last 1, 30 or 365 days.
   * **Calendar (period reset)** counts from the start of the current day, month or year.
4. Save and enable the config.
5. Find the config's ID: call [`GET /api/v1/merchant/config`](/dollarback-store-credit/developer-tools/merchant-api-keys-and-endpoints#get-api-v1-merchant-config) and take the `id` of the entry whose `configType` is `custom`. The admin doesn't display config IDs. The response is cached for about a minute, so a config you have just saved can take a minute to appear.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2ada25cc7244c31108c586a3f323b2a7e18c7c98%2Fdb-custom-api-reward-annotated.png?alt=media" alt="Custom reward editor with Amount $10, Credit expires set to Never, and an API Reward section with an unticked limit checkbox." width="560"><figcaption><p>A Custom (API) program pays only when your server calls the endpoint. You can limit how often one customer earns it.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-75121a3af1b85f682893dccef96dd400c528d59f%2Fdb-p2-es-custom-api-limit-annotated.png?alt=media" alt="API Reward section with Limit how many times each customer can earn this reward ticked, and the fields Limit set to 1, Period set to year and Calculation method set to Rolling (N-day lookback)." width="560"><figcaption><p>Tick the limit checkbox to show <strong>Limit</strong>, <strong>Period</strong> and <strong>Calculation method</strong>.</p></figcaption></figure>

Custom rewards are granted **only** when you call the endpoint with this config's ID. They are never triggered by Shopify webhooks or storefront actions.

Because customers can't earn a custom reward by doing something on your store, it doesn't show in the floating widget, on the loyalty page, or in the sign-in prompt for guests. It stays in the [storefront window data](/dollarback-store-credit/developer-tools/storefront-window-api), so you can show it yourself if you want to.

## Step 2: Call the endpoint

```
POST /api/v1/merchant/custom
```

| Header              | Value                      |
| ------------------- | -------------------------- |
| `X-DollarBack-Shop` | `your-store.myshopify.com` |
| `Authorization`     | `Bearer <your API key>`    |
| `Content-Type`      | `application/json`         |

| Body field       | Type             | Required | Meaning                                                                                                                             |
| ---------------- | ---------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| `configId`       | string           | Yes      | The custom config's ID from Step 1                                                                                                  |
| `customerId`     | string or number | Yes      | The numeric Shopify customer ID                                                                                                     |
| `currency`       | string           | Yes      | Currency to credit in, e.g. `"USD"`                                                                                                 |
| `idempotencyKey` | string           | No       | A stable ID from your system (a review ID, an event ID). A retry with the same key joins the first grant instead of granting twice. |

Example:

```bash
curl -X POST "https://<app host>/api/v1/merchant/custom" \
  -H "X-DollarBack-Shop: your-store.myshopify.com" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "configId": "YOUR_CONFIG_ID",
    "customerId": "7345098912345",
    "currency": "USD",
    "idempotencyKey": "review-58213"
  }'
```

The exact request base URL, your key, and a copy-ready snippet are shown on the **REST API** page in the admin.

## Responses

| Status | Body                                                                                                                                                                                            | Meaning                                                                                                                                                    |
| ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 200    | `{ "success": true, "requestId": "…", "rewardKind": "store_credit", "amount": 10, "currency": "USD", "transactionId": "…", "balance": 27.5, "formattedBalance": "$27.50", "duplicate": false }` | The credit has landed. The response waits for the outcome.                                                                                                 |
| 200    | `{ "success": true, "requestId": "…", "rewardKind": "discount_code", "code": "…" }`                                                                                                             | The program pays a discount code; this is the code the customer received                                                                                   |
| 200    | `{ "success": true, "requestId": "…", …, "duplicate": true }`                                                                                                                                   | A retry with an `idempotencyKey` that was already granted. Nothing moved again.                                                                            |
| 200    | `{ "success": true, "requestId": "…", "skipped": true, "reason": "frequency_limit", "count": 3, "limit": 3 }`                                                                                   | The customer has reached the program's limit. Nothing moved.                                                                                               |
| 200    | `{ "success": true, "requestId": "…", "skipped": true, "reason": "issuance_cap_reached" }`                                                                                                      | Discount-code programs only: the customer has reached the program's **Limit issues per customer**. No code was issued.                                     |
| 200    | `{ "success": true, "requestId": "…", "skipped": true, "reason": "rule_unavailable" }`                                                                                                          | Discount-code programs only: the reward the program points to was deleted, isn't live, or no longer has **Cashback triggers** enabled. No code was issued. |
| 400    | `{ "error": "invalid_config", "reason": "not_found" \| "not_custom" \| "disabled" \| "not_scheduled" }`                                                                                         | The `configId` doesn't exist, isn't a Custom (API) config, is disabled, or is outside its date window                                                      |
| 400    | `{ "error": "missing_fields: …" }` or `{ "error": "invalid_json" }`                                                                                                                             | Malformed request, including a missing `currency`                                                                                                          |
| 400    | `{ "error": "operation_failed", "message": "…" }`                                                                                                                                               | Shopify refused the credit; the message is Shopify's own                                                                                                   |
| 401    | `{ "error": "unauthorized" }`                                                                                                                                                                   | Wrong or missing API key / shop header                                                                                                                     |
| 500    | `{ "error": "internal" }`                                                                                                                                                                       | Retry later                                                                                                                                                |
| 502    | `{ "error": "…", "message": "…" }`                                                                                                                                                              | The reward failed for another reason after the request was accepted; `error` and `message` say why. Retry with the same `idempotencyKey`.                  |
| 503    | `{ "error": "unavailable", "runId": "…" }`                                                                                                                                                      | The reward didn't finish within about 25 seconds and may still complete. Retry with the same `idempotencyKey`.                                             |

{% hint style="warning" %}
Passing another config type's ID returns `400 invalid_config` with reason `not_custom`; only configs created as **Custom (API)** can be dispatched through this endpoint. Per-customer limits are enforced server-side: a customer at the limit gets `skipped: true` and isn't credited again.

Always send an `idempotencyKey` if your system might retry. Without one, a retried request after a timeout or a `503` can grant the reward a second time.
{% endhint %}

## Verify it works

1. Send the request for a test customer and confirm the `200` response with a `transactionId` (or a `code`).
2. The credit appears in **DollarBack admin → Analytics → Activity**, tagged with the config name.
3. The customer sees the balance in the widget and account, and receives the credited email if enabled.

## Common issues

* `401 unauthorized`: key revoked or headers wrong; regenerate under [Merchant API: keys & endpoints](/dollarback-store-credit/developer-tools/merchant-api-keys-and-endpoints).
* `200` with `skipped: true`: check `reason`. With `frequency_limit`, the customer has reached the program's limit; raise the limit or turn it off in the **API Reward** section. With `issuance_cap_reached`, raise **Limit issues per customer**. With `rule_unavailable`, check the reward on the **Reward marketplace** page.
* `400 missing_fields: currency is required`: send `currency`. Older examples used `customerCurrency`, which is not read.
* Credit in the wrong currency: `currency` controls the credited currency; send the customer's own currency.

## Related articles

* [Merchant API: keys & endpoints](/dollarback-store-credit/developer-tools/merchant-api-keys-and-endpoints)
* [Cashback program types at a glance](/dollarback-store-credit/earning-cashback-programs/cashback-program-types-at-a-glance)
* [Set up birthday rewards](/dollarback-store-credit/earning-cashback-programs/set-up-birthday-rewards)
* [When credit is issued](/dollarback-store-credit/earning-cashback-programs/when-credit-is-issued)


# How cashback is calculated

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

*This article's section starts at 0:00 in the video.*

This is the full reference for the cashback engine: exactly how DollarBack turns an order into a credit amount. If a customer's credit ever looks "wrong", the answer is on this page, usually in discounts, program competition, or a cap.

## The pipeline at a glance

For every qualifying order, DollarBack:

1. Checks **eligibility gates**: if any fails, no math runs.
2. Computes a **base amount per order line**: line price minus discounts.
3. **Deducts** portions paid with store credit or gift cards, per your settings.
4. Lets your programs **compete for each line**: one winner per line.
5. Applies the winning program's **value**, then caps, rounding, and currency.

Everything below is per line item; cashback is never computed on the order as one lump.

## Step 1: Eligibility gates

Before any calculation:

* **The order must have a customer**: guest orders (no customer on the order) earn no cashback at all.
* **Excluded customer tags**: tagged customers earn nothing ([Exclude customers from earning](/dollarback-store-credit/earning-cashback-programs/exclude-customers-from-earning)).
* **Sales channels**: a program restricted to specific channels (web, POS, draft orders) skips orders from other channels.
* **Program date windows**: a program outside its start/end dates doesn't participate.
* **Loyalty tiers**: when tiers are active, only the programs linked to the customer's tier take part. A customer with no tier, or whose tier is turned off or has no linked programs, earns no purchase cashback. While tiers are active, the customer tag fields of store-credit programs are ignored (discount-code programs still check theirs); the global excluded tags above still apply. See [Link cashback programs to tiers](/dollarback-store-credit/loyalty-tiers/link-cashback-programs-to-tiers).
* **Program customer tags** (tiers off): a program with include or exclude tags skips customers who don't match.
* **Discount codes**: if the order uses a discount code, every program with **Give cashback when discount codes are used** turned off drops out.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-9be6eda9b7f45b83e7c61c10af33705c64c41f1a%2Fdb-purchase-advanced-annotated.png?alt=media" alt="Advanced section of a purchase program: Who can see this offer, the checkbox Give cashback when discount codes are used, and Restrict to sales channels with Online Store, Shop, Point of Sale and Draft orders." width="560"><figcaption><p>Each purchase program has its own discount-code checkbox (2) and sales channels (3) in its Advanced section.</p></figcaption></figure>

{% hint style="warning" %}
**A discount code removes the program from the whole order**, not just the discounted lines. Automatic discounts don't do this; they only reduce the base (Step 2).
{% endhint %}

Purchase programs have no "N times per period" limit: a customer earns on every qualifying order.

## Step 2: The base amount, per line

The base for each line is the **line price minus that line's discount allocations**:

* A discount targeted at a product reduces that line's base directly.
* An **order-level discount** (e.g. a 10%-off code) is spread proportionally across all lines, so every line's base shrinks by the same ratio. Every discount reduces cashback; there is no way to earn on the discounted-away amount.

**Order total vs order subtotal.** Your global **Base cashback on** setting decides what counts:

| Mode               | Taxes    | Shipping                                                                                                                                    |
| ------------------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| **Order Total**    | Included | Included only if **Include shipping costs** is on                                                                                           |
| **Order Subtotal** | Excluded | Usually excluded. With **Include shipping costs** on, shipping is added for orders with a single line item and for all-products order goals |

In total mode, each line is scaled by the tax-inclusive ratio so that the per-line amounts still sum to the checkout total.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-bff40884c8f3f13152c42648a3eb009f208b8770%2Fdb-p2-es-cashback-calculation-annotated.png?alt=media" alt="The Cashback Calculation card in DollarBack Settings: Base cashback on (Order Total or Order Subtotal), Maximum cashback per order, Include shipping costs in cashback calculation and Round up cashback to the nearest whole number." width="560"><figcaption><p>Base cashback on, the cap and rounding are set once for all programs in <strong>Settings → Cashback Calculation</strong>.</p></figcaption></figure>

## Step 3: Store credit and gift cards are deducted first

**No cashback on cashback.** Store credit spent on the order is deducted proportionally from every line before calculation, governed by the **When a customer pays with store credit** setting:

| Option                                       | Effect                                                                                |
| -------------------------------------------- | ------------------------------------------------------------------------------------- |
| No cashback                                  | Any store-credit use disqualifies the order entirely                                  |
| Cashback on full order amount                | Credit-paid portion still earns                                                       |
| Cashback on amount paid with real money only | Only the non-credit portion earns (the default mental model: no cashback on cashback) |

**Gift cards have two separate knobs:**

1. **When a customer pays with gift cards**: no cashback / full order amount / non-gift-card portion only.
2. **Give cashback when customers purchase gift card products**: when off, gift-card product lines are removed from the calculation entirely.

Defaults and exact labels: [Settings](/dollarback-store-credit/settings).

## Step 4: Which program claims each line

**Competition is winner-takes-all per line.** Programs never stack, and the resolution happens in two rounds:

1. **Targeted programs claim their lines first.** Any program aimed at specific variants, products, or collections runs before your all-products program. A line claimed by a targeted program is removed from the all-products program's reach, **regardless of rate**. A 10% collection program beats a 15% all-products program on every item in that collection; the all-products program only sees the lines nothing targeted.
2. **Among targeted programs, the highest cashback for the line wins.** There is no ranking of variant over product over collection. If a variant program pays 5% and a collection program containing that variant pays 15%, the collection program wins that line, because it pays more. Fixed-amount programs are compared on their actual payout (amount × quantity), so a $5-per-item program beats 10% on a $40 item and loses on a $60 item.

Order-goal programs sit outside round 1: they compete on amount against every other program for the lines they cover. A goal that loses some of its lines to another program pays only the share of its reward that belongs to the lines it kept, so it can pay **part** of its reward, or nothing if it loses every line.

On an exact tie for a line, the stage decides: a targeted program beats the all-products program, and both beat an order goal. Between two programs of the same stage, the one listed first on the **Manage configurations** page (**Home → Cashback** tab) wins. Different lines in one order can be claimed by different programs, so an order can earn from several programs at once.

| Overlap                                             | Winner          | Why                                                                      |
| --------------------------------------------------- | --------------- | ------------------------------------------------------------------------ |
| Collection at 10% vs all products at 15%            | Collection, 10% | Targeted programs claim their lines before the all-products program runs |
| Product at 8% vs all products at 5%                 | Product, 8%     | Same rule; here it also happens to pay more                              |
| Variant at 5% vs collection (containing it) at 15%  | Collection, 15% | Both are targeted; the higher cashback wins                              |
| Product at 12% vs collection (containing it) at 10% | Product, 12%    | Both are targeted; the higher cashback wins                              |
| Fixed $5 per item vs product at 10%, item costs $40 | Fixed, $5       | $5 beats $4; fixed and percentage are compared on payout                 |

{% hint style="info" %}
Want the store-wide rate to win when it's higher? The engine can't do that for you: a targeted program always claims its lines. Either raise the targeted program's rate, or remove the overlapping products from it. The product-page message estimates using the highest matching rate, so in a collection-10%-vs-store-15% setup it may advertise 15% while the order is credited at 10%; keep the targeted rate at or above the store-wide rate to avoid the mismatch.
{% endhint %}

**Order goals pick the highest threshold met**: a $75/$150 ladder pays at most the $150 reward on a $160 order, never both (less if another program wins some of the lines, see above). When a goal program targets specific products, variants, or collections, only spend on the matching lines (after discounts) counts toward the threshold, and the reward is calculated on that same spend; see [Set up purchase cashback](/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback).

**Tier multipliers are snapshotted per order.** If the customer is in a loyalty tier with a multiplier, the multiplier in force at calculation time is applied and recorded on the order. Changing tier settings later never retroactively changes past orders' cashback. See [Link cashback programs to tiers](/dollarback-store-credit/loyalty-tiers/link-cashback-programs-to-tiers).

## Step 5: Value, caps, and rounding

* **Percentage programs** apply their rate to the line's base.
* **Fixed-value programs** multiply the amount by the line's **quantity** (2 units = 2 × the fixed credit). The reward has to fit inside what the customer actually paid for that line after discounts and store credit. If it doesn't, the program pays **nothing** on that line; the reward is not reduced to fit. This is why a 100%-off order earns nothing; see [A discounted order earned less (or no) cashback](/dollarback-store-credit/troubleshooting-and-faq/discounted-order-earned-no-cashback).
* **Maximum cashback per order**: if the order's total cashback exceeds the global cap, all programs and lines are **scaled down proportionally**, preserving their relative shares. Nothing is dropped; everything shrinks together.
* **Rounding**: amounts are truncated to 4 decimal places internally, and the **last line absorbs the remainder** so the total stays exact to the cent. If **Round up cashback** is on, each credit is rounded up to the next whole number as the very last step, after the cap. An order can give more than one credit (for example an order goal plus a percentage program, or programs with different expiry), and each one is rounded up on its own, so the rounded total can be slightly above the cap.

## Multi-currency

* Amounts are tracked in both your shop currency and the order's presentment currency. Fixed-value cashback converts using **the order's own conversion rate** (presentment ÷ shop), not today's market rate.
* The credit lands in the **customer's resolved currency**, so a customer shopping your EUR market is credited in EUR.

## Worked example (3-line cart with a discount code)

Settings: base = **Order Subtotal**, no cap, round-up off. Programs: **5% on all products** and **10% on the "Serums" collection**.

The customer's cart, with a 10%-off order code applied ($12.40 spread proportionally across $124 of items):

| Line                     | Price       | Discount allocation | Base        | Winning program                | Cashback  |
| ------------------------ | ----------- | ------------------- | ----------- | ------------------------------ | --------- |
| Serum 30 ml × 1 (Serums) | $58.00      | −$5.80              | $52.20      | 10% (specific claims the line) | $5.22     |
| Gel cleanser × 2         | $48.00      | −$4.80              | $43.20      | 5% (all products)              | $2.16     |
| Lip butter trio × 1      | $18.00      | −$1.80              | $16.20      | 5% (all products)              | $0.81     |
| **Total**                | **$124.00** | **−$12.40**         | **$111.60** |                                | **$8.19** |

Points to notice:

* The serum earned 10%, **not** 10% + 5%; the collection program claimed the line and excluded it from the all-products program. It would still have won at 10% if the all-products program paid 15%.
* Every line's base was reduced by its share of the order-level code before any percentage applied.
* With **Round up cashback** on, the customer would receive $9.00 instead of $8.19 (both programs are percentage programs with the same expiry, so they are issued as one credit).
* If a $5.00 **Maximum cashback per order** were set, each line would scale by 5 ÷ 8.19 (≈ $3.19 / $1.32 / $0.49).

## When the credit actually arrives

Calculation and issuance are separate: the trigger event (created / paid / fulfilled) and the holding period decide *when* the customer can spend the result; see [When credit is issued](/dollarback-store-credit/earning-cashback-programs/when-credit-is-issued). Refunds and order edits recalculate as a diff against what was issued, but after the credit is issued only when your plan includes **Auto-adjust on refunds and edits** and **Enable order edit tracking** is on; see [Refunds, cancellations & order edits](/dollarback-store-credit/spending-store-credit-and-rewards/refunds-cancellations-and-order-edits).

## Common issues

* "The customer earned less than my percentage": a discount code, store-credit payment, or gift card reduced the base; recheck Steps 2–3.
* "A fixed reward paid nothing on a discounted or free order": the reward was more than the customer paid for the item (Step 5); see [A discounted order earned less (or no) cashback](/dollarback-store-credit/troubleshooting-and-faq/discounted-order-earned-no-cashback).
* "Two programs should both apply": they never stack; one wins per line (Step 4).
* "The store-wide program pays more, but the collection rate was applied": expected. Targeted programs claim their lines before the all-products program runs (Step 4).
* "No credit at all": walk the gates in Step 1 (a guest order or a discount code are common causes), then [A customer didn't receive cashback](/dollarback-store-credit/troubleshooting-and-faq/customer-didnt-receive-cashback).

## Related articles

* [Settings](/dollarback-store-credit/settings)
* [When credit is issued](/dollarback-store-credit/earning-cashback-programs/when-credit-is-issued)
* [Set up purchase cashback](/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback)
* [Refunds, cancellations & order edits](/dollarback-store-credit/spending-store-credit-and-rewards/refunds-cancellations-and-order-edits)


# When credit is issued

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

*This article's section starts at 4:26 in the video.*

Cashback has two clocks: the **trigger** (which order event starts the credit) and the **holding period** (how long DollarBack waits before it gives the customer the credit). This page explains both, and what happens to pending credit when orders change.

## The trigger: which order event pays

**DollarBack admin → Settings → Trigger & Timing → Give cashback when** offers three options:

| Option              | Credit is calculated and issued when… | Choose it when                                                                                  |
| ------------------- | ------------------------------------- | ----------------------------------------------------------------------------------------------- |
| **Order Created**   | The order is placed                   | You want instant gratification: credit appears while the thank-you page is still open (default) |
| **Order Paid**      | Payment is captured                   | You use manual capture or want to avoid crediting unpaid orders                                 |
| **Order Fulfilled** | The order is shipped/fulfilled        | You want credit only after goods actually leave, for the fewest clawbacks                       |

The trigger is global: it applies to all purchase programs at once.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-e3af5009ddfafc8c70cd5ecf04cd6a3f17a6783b%2Fdb-settings-trigger-timing-annotated.png?alt=media" alt="Trigger &#x26; Timing settings card with the Give cashback when options and a Holding period field in days." width="560"><figcaption><p>Both clocks are in Settings › Trigger &#x26; Timing. They apply to every purchase program.</p></figcaption></figure>

## The holding period: pending before spendable

**Holding period** (same settings section) delays the reward by **0–90 days**:

* **0 days (default)**: the reward is given immediately on trigger.
* **1–90 days**: DollarBack holds the reward and gives it automatically when the period ends.

The hold applies to both store credit and discount-code rewards earned on orders.

While the reward is held:

* It is **not** in the customer's balance, and the storefront widgets and customer account don't show it. The customer sees the credit only when the hold ends.
* You see it in **DollarBack admin → Analytics → Activity**, on the **Scheduled** tab.
* It cannot be spent at checkout.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-9b349c33c3b891323b5b68c4504717e08424faa6%2Fdb-p2-es-activity-scheduled-annotated.png?alt=media" alt="Analytics, Activity page with the tabs Credits earned, Credit spent, Scheduled, Discount codes, Referrals and Clawbacks. Scheduled and Clawbacks are marked."><figcaption><p>Held rewards are on the <strong>Scheduled</strong> tab. Credit taken back after a refund or edit is on the <strong>Clawbacks</strong> tab.</p></figcaption></figure>

When the hold ends, DollarBack recalculates the reward from the order as it is then. A refund or a removed item during the hold reduces the reward, and a cancelled order gets nothing: its row on the **Scheduled** tab shows **Denied**.

{% hint style="info" %}
A holding period roughly matching your return window (e.g. 14–30 days) means refunded orders usually cancel out *before* the customer could spend the credit. That's the cleanest refund story.
{% endhint %}

## What changes credit after it is issued

Changes during the hold are handled when the hold ends (see above). That needs no extra setting.

After the credit is issued, DollarBack changes it only if both of these are true:

* Your plan includes **Auto-adjust on refunds and edits** (see [Plans, usage & overage billing](/dollarback-store-credit/analytics-data-and-account/plans-usage-and-overage-billing)).
* **Enable order edit tracking** is on in **DollarBack admin → Settings → Advanced**. It is **off by default**. [How to turn it on](/dollarback-store-credit/spending-store-credit-and-rewards/refunds-cancellations-and-order-edits#turn-on-order-edit-tracking).

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-61fbd45d9ca697b2d773c6dc19d40a5df90aa492%2Fdb-settings-order-edit-tracking-annotated.png?alt=media" alt="Advanced card in DollarBack Settings with the checkbox Enable order edit tracking, help text Recalculate cashback automatically when orders are edited, refunded, or cancelled." width="560"><figcaption><p><strong>Enable order edit tracking</strong> is in <strong>Settings → Advanced</strong>. It is off by default; this example store has it on.</p></figcaption></figure>

{% hint style="warning" %}
**If either is missing, issued credit stays as it is** when an order is refunded, cancelled or edited. You can still adjust the customer's balance manually.
{% endhint %}

With both on, DollarBack recalculates the order's cashback when it is refunded, cancelled or edited, and reconciles **as a diff**:

* **Order value went up** (item added) → the difference is issued as additional pending credit.
* **Order value went down** (refund, item removed) → the difference is offset **against pending credit for that program first**; only what's left is debited from the customer's live balance.
* Entries already credited are never rewritten; the log keeps the original credit and shows the adjustment as its own row, so history stays auditable.

Full scenarios (partial refunds, full cancellations, spent-credit cases): [Refunds, cancellations & order edits](/dollarback-store-credit/spending-store-credit-and-rewards/refunds-cancellations-and-order-edits).

## Verify it works

1. Set a short holding period (e.g. 1 day) and place a test order that qualifies.
2. Confirm the reward appears on the **Scheduled** tab in **Analytics → Activity**, and that the customer's balance hasn't changed yet.
3. After the hold, confirm the credit is in the customer's balance.
4. Set the holding period back to your production value.

## Common issues

* "Credit hasn't appeared": with **Order Paid** or **Order Fulfilled**, nothing is issued until that event actually happens; check the order's payment/fulfillment status first, then [A customer didn't receive cashback](/dollarback-store-credit/troubleshooting-and-faq/customer-didnt-receive-cashback).
* "I refunded the order after the hold and the credit is still there": expected. Credit released after a holding period is final, even with **Enable order edit tracking** on. Set the hold to cover your return window.
* "Customer says credit vanished": a refund likely offset it (during the hold, or after it with **Enable order edit tracking** on); find the row in **Analytics → Activity**, under the **Clawbacks** view.
* "I refunded the order but the credit is still there": the credit was already issued and **Enable order edit tracking** is off, or your plan doesn't include **Auto-adjust on refunds and edits**. See [Advanced settings](/dollarback-store-credit/settings/advanced-settings#enable-order-edit-tracking).
* "Customer can't see the credit yet": it is held; check the **Scheduled** tab for the release date. Also see [Store credit isn't available at checkout](/dollarback-store-credit/troubleshooting-and-faq/store-credit-isnt-available-at-checkout).

## Related articles

* [Trigger & Timing settings](/dollarback-store-credit/settings/trigger-and-timing)
* [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated)
* [Refunds, cancellations & order edits](/dollarback-store-credit/spending-store-credit-and-rewards/refunds-cancellations-and-order-edits)
* [Credit logs & scheduled rewards](/dollarback-store-credit/analytics-data-and-account/credit-logs-and-scheduled-rewards)


# Backfill cashback for past orders

{% hint style="info" %}
**Plan:** Enterprise plan only. On other plans the page shows *"Order backfill isn't included in your current plan. Contact support to enable it."*; reach out through the in-app chat if you need it switched on.
{% endhint %}

Installed DollarBack on a store that has been trading for years? Backfill replays orders placed **before DollarBack was active** through your current cashback rules, so long-standing customers start with a balance instead of from zero. By the end of this page you'll have previewed a backfill, checked the results, and credited the orders you chose.

## What a backfill does

* Replays each selected order through your **active purchase cashback programs**, exactly as they're configured today, and saves a cashback breakdown to the order. You can see it on the order page in Shopify admin; see [Admin blocks on the customer & order pages](/dollarback-store-credit/analytics-data-and-account/admin-blocks-customer-and-order-pages).
* Optionally **credits the customer** with the calculated store credit.
* **Sends no DollarBack email and fires no integrations.** No Credited email, no Klaviyo, Omnisend, or Flow events. Customers find the credit in the widget and at checkout. The one exception is opt-in: **Notify customers about their store credit** sends *Shopify's* own store credit notification, not a DollarBack one (see Step 3).
* **Skips orders DollarBack has already processed**, so re-running over the same period is safe: those orders show up in the results as already processed, with the previously credited amount alongside what the rules would pay today, and are never touched.
* Doesn't count towards your plan's monthly order allowance. Backfilled orders aren't billable usage.

## Before you start

Backfill uses your **current** setup, not the setup that existed when the order was placed. Check these first:

* **Programs**: only enabled purchase programs inside their start/end dates *today* take part. A seasonal program that has ended won't apply to orders from that season; a program you started this morning will apply to orders from last year. Discount-code reward programs are skipped; only store-credit programs are replayed. See [Set up purchase cashback](/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback).
* **Tiers**: if tiers are enabled, each customer's **current** tier decides their multiplier and which programs they can earn from, so run a tier sync first ([Sync tiers to customers](/dollarback-store-credit/loyalty-tiers/sync-tiers-to-customers)). Customers with no tier assigned are skipped.
* **Settings** apply as usual: calculation base, store-credit and gift-card handling, excluded customer tags, maximum cashback per order, round-up. Two settings **don't** apply: the trigger event (use the order-status filter below instead) and the **holding period**. Backfilled credit is spendable immediately.
* **Refunds and edits** are already netted out, because the replay uses each order's current line items and totals. Fully cancelled orders are *not* skipped automatically, so filter by status or use a CSV if you want to leave them out.

## Step 1: Open the backfill page

On the DollarBack **Home** page, find **Backfill past orders** (*"Apply cashback to historical orders"*) in the **Quick links** card and click **Open**. The page is titled *"Backfill past orders — Apply your current cashback rules to orders placed before DollarBack was active."*

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-ff81b7ba24c21c43ce84de26ef72f3b73f1b988f%2Fdb-dash-plan-usage-quick-links-annotated.png?alt=media" alt="DollarBack home page with the Plan &#x26; usage card and a Quick links card listing Bulk import and Backfill past orders, each with an Open button."><figcaption><p>Backfill past orders is in the Quick links card on the home page.</p></figcaption></figure>

## Step 2: Choose which orders

In the **New backfill** card, pick one of two ways to select orders:

| Mode                 | How it selects                                                                                 | Notes                                                                                                                                                                                                    |
| -------------------- | ---------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Date range**       | Every order created between the two dates (end date inclusive), defaulting to the last 90 days | Add an **Order status** filter: **Any status**, **Paid only**, or **Fulfilled only**                                                                                                                     |
| **CSV of order IDs** | Exactly the orders listed in your file                                                         | Needs an `orderId` column of numeric Shopify order IDs; other columns are ignored; maximum 100 KB. Duplicate IDs are collapsed. IDs that don't exist in your store are reported as not found and skipped |

There's no limit on how old the orders can be or how many you select. Large ranges simply take longer.

## Step 3: Choose the mode

Three checkboxes decide what the run writes. The first two set the mode:

| Credit customers with the calculated store credit | Dry run | What happens                                                                                                                                 |
| ------------------------------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| off                                               | **on**  | **Dry run.** Nothing is written to orders or customers. You get a downloadable CSV of what each order's outcome would have been. Start here. |
| off                                               | off     | **Preview only** (the default). The cashback breakdown is saved to each order, but no store credit is issued and no emails are sent.         |
| **on**                                            | off     | **Credit.** The breakdown is saved *and* store credit is issued immediately, with expiry per the program's settings.                         |

The third, **Notify customers about their store credit**, sits indented under **Credit customers** and is off by default. It only becomes available on a credited run — it stays greyed out while **Credit customers** is off or **Dry run** is on, because there is no credit to announce.

{% hint style="warning" %}
This checkbox sends **Shopify's own** store credit notification, not a DollarBack email. It is the only email a backfill can produce, and DollarBack's own templates and integrations stay silent either way. Turn it on deliberately: a backfill over several years of orders can mean thousands of customers hearing about a balance on the same afternoon. Leave it off if you would rather announce the credit yourself in a campaign.
{% endhint %}

{% hint style="warning" %}
**Preview only is not a rehearsal for a credited run.** Saving the breakdown marks those orders as processed, so a later credited run will list them as already processed and will *not* credit them. If you want to look before you credit, use **Dry run**, review the CSV, then run again with **Credit customers** on.
{% endhint %}

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-06a1d0c40b3c8a6aadb93ee3c6ad866043be9971%2Fdb-backfill-new-backfill-annotated.png?alt=media" alt="New backfill card with a Date range and CSV of order IDs switch, Last 90 days, Order status Any status, three checkboxes, and a Start backfill button."><figcaption><p>Choose the orders, then the mode: leave both boxes off to preview, tick Dry run to rehearse, or tick Credit customers to pay.</p></figcaption></figure>

Click **Start backfill**. Only one backfill can run at a time per store; the button reads **Backfill in progress…** until it finishes.

## Step 4: Track progress and download the results

While a run is active, the **Recent backfills** card shows a progress bar and four counters: **Processed**, **Eligible**, **Credited**, and **Projected credit**, refreshing every few seconds. Each finished run keeps a status badge (queued, running, completed, or failed), a **Dry run** badge where relevant, and a **Download results** button. The card lists your ten most recent runs.

The results CSV has one row per order: `orderId`, `orderName`, `orderStatus`, `action`, `reason`, `previousCredit`, `projectedCredit`, `difference`, `currency`.

| `action`                                 | Meaning                                                                                                                   |
| ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| `would_credit` / `would_write_metafield` | Dry run: what a real run would have done                                                                                  |
| `metafield_written`                      | Breakdown saved; no credit issued (preview only, or the order earned nothing)                                             |
| `credited`                               | Store credit issued                                                                                                       |
| `credit_duplicate`                       | This backfill credit already existed, so it wasn't issued twice                                                           |
| `credit_failed`                          | Shopify rejected the credit; re-run to retry those orders                                                                 |
| `already_processed`                      | DollarBack had already handled the order; `previousCredit` vs `projectedCredit` shows the difference, nothing was written |
| `not_found`                              | CSV mode: the order ID isn't in this store                                                                                |
| `error`                                  | The order couldn't be evaluated; see `reason`                                                                             |

Skipped orders carry the reason in `reason`: `no_customer` (guest checkout), `no_active_config`, `discount_code_excluded` (the order used a discount code and no program allows that), `no_tier` / `tier_not_configured`, `paid_with_store_credit`, `paid_with_gift_card`, `excluded_customer_tag`, or `no_cashback` (the rules produced $0).

Credited runs also appear in the credit log under **DollarBack admin → Analytics → Activity**, dated to the original order. See [Credit logs & scheduled rewards](/dollarback-store-credit/analytics-data-and-account/credit-logs-and-scheduled-rewards).

## Verify it works

1. Run a **Dry run** over a short range (a week) and download the CSV. Spot-check three `would_credit` rows against the orders in Shopify admin: does the projected credit match your program's rate on the eligible lines?
2. Run the same range with **Credit customers** on. The rows should now read `credited`, and the customers' balances should show the amounts in the widget or their customer page.
3. Run it a third time. Every row should read `already_processed` and no new credit should appear.

## Common issues

* **The page shows "Order backfill isn't included in your current plan"**: it's an Enterprise feature. Contact support through the in-app chat.
* **"A backfill is already in progress"**: one run per store at a time. Wait for the current one to complete or fail. If a run looks stuck for more than 15 minutes with no progress, contact support.
* **Credited run shows `already_processed` everywhere and no credit**: an earlier preview-only run saved the breakdowns. Those orders can't be credited by backfill; use [Bulk import credit (CSV)](/dollarback-store-credit/analytics-data-and-account/bulk-import-credit-csv) for a one-off top-up.
* **Lots of `no_tier` rows**: tiers are enabled but customers haven't been synced. Run [Sync tiers to customers](/dollarback-store-credit/loyalty-tiers/sync-tiers-to-customers) and re-run.
* **A program you expected didn't apply**: check it's enabled and its dates include today, not the order date.
* **"CSV is too large (max 100 KB)" or "No 'orderId' column with numeric values found"**: split the file, and make sure the column header is exactly `orderId` with numeric IDs (not `gid://` URLs).
* **A run failed**: the error is shown on the run's row. Re-running is safe; orders that were credited before the failure are reported as `credit_duplicate` or `already_processed`, not credited again.

## Related articles

* [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated)
* [When credit is issued](/dollarback-store-credit/earning-cashback-programs/when-credit-is-issued)
* [Migrating from another loyalty app](/dollarback-store-credit/getting-started/migrating-from-another-loyalty-app)
* [Bulk import credit (CSV)](/dollarback-store-credit/analytics-data-and-account/bulk-import-credit-csv)
* [Plans, usage & overage billing](/dollarback-store-credit/analytics-data-and-account/plans-usage-and-overage-billing)


# Exclude customers from earning

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

Not every order should earn cashback: wholesale buyers, staff accounts, marketplace channels, or a program that's out of season. This page covers the four exclusion mechanisms and when to use each.

## 1. Tag exclusions (global)

The broadest tool: **DollarBack admin → Settings → Advanced → Exclude customers by tag**.

1. Enter one or more Shopify customer tags, separated by commas, e.g. `wholesale, staff`.
2. Save. Customers carrying **any** of these tags earn nothing from their orders: no purchase cashback and no purchase discount codes, on any channel. The exclusion is checked before anything is issued, so nothing needs clawing back.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-bb9a0cbfc7f67a22bfbc3792b92e2d3318e8017a%2Fdb-settings-exclude-tags-annotated.png?alt=media" alt="Settings Advanced section with an Exclude customers by tag field that holds the tag wholesale, and its help text." width="560"><figcaption><p>The global tag exclusion in Settings › Advanced stops a customer from earning on orders, across every purchase program at once.</p></figcaption></figure>

{% hint style="info" %}
**The global exclusion only covers rewards earned from orders.** Signup, newsletter, birthday, social follow, review, custom (API) and referral rewards don't check it. Newsletter, birthday, social follow and review programs have their own **Exclude customer tags** field in the program editor; signup and custom (API) programs have no tag fields. On birthday and social follow programs, the tag fields only hide the program's entry in the widget. They don't stop a customer who reaches the reward another way (for example a shared short link or the Merchant API).
{% endhint %}

Tags are managed on the customer in Shopify admin. You can apply them manually, via customer segments and Flow, or at import time.

{% hint style="info" %}
Excluding a tag stops **future** earning only. Credit the customer already holds is untouched and stays spendable.
{% endhint %}

## 2. B2B considerations

Wholesale/B2B buyers usually shouldn't earn consumer cashback:

* The common pattern is to tag B2B contacts (e.g. `wholesale`) and exclude that tag as above.
* If you *do* want B2B orders to earn, the **Give store credit to B2B buyers on company locations** setting (plan-gated, **Settings → Advanced**) credits the **company location's** shared balance rather than the individual buyer; see [B2B store credit](/dollarback-store-credit/analytics-data-and-account/b2b-store-credit).
* Don't rely on exclusion alone for B2B pricing logic: draft orders are also a common B2B path, which the next section can gate per program.

## 3. Sales-channel eligibility (per program)

Each cashback program can be limited to specific sales channels. In the program editor (**DollarBack admin → Home → Cashback** tab → **Manage configurations**, then open the program), find **Restrict to sales channels**:

* Check the channels that should earn: your installed channels are listed, plus **Draft orders** as its own checkbox.
* Leave **all boxes unchecked** to allow every channel (the default).

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-9be6eda9b7f45b83e7c61c10af33705c64c41f1a%2Fdb-purchase-advanced-annotated.png?alt=media" alt="Advanced section of a purchase program with Who can see this offer, Give cashback when discount codes are used, and unticked sales channel boxes Online Store, Shop, Point of Sale and Draft orders." width="560"><figcaption><p>Restrict to sales channels is in the Advanced section of each program. Leave all boxes unticked to allow every channel.</p></figcaption></figure>

Use this to keep POS orders, marketplace channels, or admin-created draft orders out of a specific program without affecting the others.

## 4. Program date windows (per program)

A program only pays between its **Start date** and **End date**. Orders outside the window are not matched by that program. That's handy for seasonal boosts and for retiring a program without deleting its history.

## How the gates stack up

All the checks run before anything is issued: excluded tag → no earning on the order at all; otherwise each program checks its own channel restriction, date window and customer tags. An order can therefore earn from one program while being excluded from another.

{% hint style="info" %}
**Using loyalty tiers?** When tiers are active, the tier decides which purchase programs a customer earns from, and the customer tag fields of store-credit purchase programs are ignored. Purchase programs that reward a **discount code** still check their own customer tags, with or without tiers. A customer with no tier earns no purchase cashback. The global excluded tags in Settings still apply. See [Link cashback programs to tiers](/dollarback-store-credit/loyalty-tiers/link-cashback-programs-to-tiers).
{% endhint %}

## Verify it works

1. Tag a test customer `wholesale` (or your excluded tag).
2. Place an order for them. A draft order is fine if the program allows draft orders.
3. Check **DollarBack admin → Analytics → Activity** (the **Credits earned** view): no credit row should appear for that order.
4. Remove the tag, order again, and confirm credit is issued this time.

## Common issues

* Excluded customer still earned: the tag must match exactly, including upper and lower case (check it against the customer's tags in Shopify admin), and be present *before* the order's trigger event fires.
* Nobody is earning on POS/drafts: check each program's **Restrict to sales channels** boxes; all unchecked means all channels allowed.
* A customer stopped earning unexpectedly: check their tags, then walk [A customer didn't receive cashback](/dollarback-store-credit/troubleshooting-and-faq/customer-didnt-receive-cashback).

## Related articles

* [Advanced settings](/dollarback-store-credit/settings/advanced-settings)
* [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated)
* [B2B store credit](/dollarback-store-credit/analytics-data-and-account/b2b-store-credit)
* [Set up purchase cashback](/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback)


# Reward discount codes instead of store credit

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

Any cashback program can pay out a **discount code** instead of store credit. This is useful when you'd rather fund a next-purchase incentive than a spendable balance. This page covers switching a program over, how the reward itself is defined, how codes are delivered, and the stacking caveat you must know before going live.

## Prerequisites

* A cashback program of any type ([Set up purchase cashback](/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback) or any other)
* A reward built on the **Reward marketplace** page with **Cashback triggers** enabled under its **Available in** setting; see [Set up the reward marketplace](/dollarback-store-credit/spending-store-credit-and-rewards/set-up-the-reward-marketplace)
* The "Discount code earned" email enabled in **DollarBack admin → Notifications**, so customers actually receive their codes

## Step 1: Switch the reward kind

1. Open **DollarBack admin → Home**, select the **Cashback** tab, click **Manage configurations** and open the program.
2. Change **Reward kind** from **Store credit** to **Discount code**.
3. Under **Reward to give**, pick the reward this program should issue. The list shows your marketplace rewards; builds and edits live on the Reward marketplace page. If the list is empty, create a reward there first.
4. Optionally set **Limit issues per customer** to cap how many codes this program gives one customer. Leave it blank for unlimited. See [Limit issues per customer](#limit-issues-per-customer) below.
5. Save. From now on, when this program triggers, the customer gets a unique code instead of credit.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-d42f37c94f3e34f705ae8f7e13e39197f17f876c%2Fdb-purchase-reward-discount-code-annotated.png?alt=media" alt="Reward section with Reward kind Discount code, a Reward to give dropdown, Limit issues per customer, Min. order quantity and Min. order spend fields." width="560"><figcaption><p>Set Reward kind to Discount code and pick the marketplace reward that this program issues.</p></figcaption></figure>

What the code grants (product, order, and/or shipping discounts, caps, cart-group targeting, redemption rules) all comes from the reward's definition, so several programs can hand out the same reward, and editing the reward updates them all. See [Cart groups, redemption rules & rejection messages](/dollarback-store-credit/spending-store-credit-and-rewards/cart-groups-and-redemption-rules) for the gating options.

## How the codes work

* **One unique code per event**, formatted `{prefix}-{random}-{discriminator}`. The discriminator ties every code back to the program that issued it; that's how per-program analytics (issued / used / value) are tracked.
* **Expiry comes from the reward** (its **Expires after (days)** setting bakes an expiry into each minted code); **how many codes one customer gets comes from the program** (its **Limit issues per customer** field). The reward's **Max redemptions / customer** field only caps marketplace redemptions, not earned codes.
* **Codes from orders wait for the holding period.** If **Settings → Trigger & Timing → Holding period** is set, a code earned on an order is issued when the hold ends, like store credit. See [When credit is issued](/dollarback-store-credit/earning-cashback-programs/when-credit-is-issued).
* Earned codes are issued free: the customer's credit balance is not touched, whatever the reward's marketplace credit cost is.
* All codes hang off **one shared Shopify discount** whose parent code is `RDM-(DO NOT DELETE)`. Next to it, DollarBack keeps an automatic discount named **Redemption code validator (DO NOT DELETE)**, which rejects codes that break your [redemption rules](/dollarback-store-credit/spending-store-credit-and-rewards/cart-groups-and-redemption-rules). See [DollarBack items in your Shopify admin](/dollarback-store-credit/getting-started/how-dollarback-works#dollarback-items-in-your-shopify-admin).

{% hint style="warning" %}
**Never delete the `RDM-(DO NOT DELETE)` discount or the Redemption code validator (DO NOT DELETE) discount in Shopify admin.** Every reward code ever issued (earn-side and marketplace) is attached to the `RDM-(DO NOT DELETE)` discount; deleting it kills them all at once. The validator enforces your redemption rules. If codes suddenly stop applying, this is the first thing to check: [A reward discount code isn't working](/dollarback-store-credit/troubleshooting-and-faq/reward-discount-code-isnt-working).
{% endhint %}

## Limit issues per customer

**Limit issues per customer** caps how many codes this program gives one customer, over the customer's whole history with the program. There is no time window: it is not "once a month", it is "this many, ever".

* **Blank** means no cap.
* A code that is **revoked** frees its slot, so the customer can earn another. DollarBack revokes a code when its order is cancelled, but only if your plan includes **Auto-adjust on refunds and edits** and **Enable order edit tracking** is on in **Settings → Advanced** (off by default). See [When credit is issued](/dollarback-store-credit/earning-cashback-programs/when-credit-is-issued#what-changes-credit-after-it-is-issued).
* A code the customer has **used** still counts. Using a code doesn't make room for a new one.
* The cap counts only codes from this program. Other programs, and codes bought in the reward marketplace, don't count toward it.

{% hint style="info" %}
**At the cap, the customer gets nothing for that event.** The program doesn't give store credit instead.
{% endhint %}

## Minimum quantity and spend (purchase programs)

A purchase program that gives a discount code has two optional thresholds under **Reward**. They decide which orders earn the code:

| Field                                                                                                                      | What it checks                                                                                    |
| -------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
| **Min. order quantity** (**Min. quantity of matched products** when the program targets products, collections or variants) | The number of matching items in the order.                                                        |
| **Min. order spend** (**Min. spend on matched products** for a targeted program)                                           | The value of the matching items: item price × quantity, in your store currency, before discounts. |

* **Either threshold is enough.** If you set both, an order that meets one of them earns the code.
* **0 or blank means no threshold.** With both at 0, any order with at least one matching item earns the code.
* A targeted program only counts the products, collections or variants it targets. Other items in the cart don't help reach the threshold.

For example, with **Min. order quantity** 3 and **Min. order spend** $100 on an all-products program, an order of 3 items for $45 earns the code, and so does an order of 1 item for $120. An order of 2 items for $60 does not.

## Stacking with other discounts

Combination rules (whether reward codes can be used together with order / product / shipping discounts) are set **store-wide on the shared discount**. Individual programs cannot have independent stacking rules, and changing the rules affects **all outstanding codes immediately**, including ones customers are already holding. Configure and test this deliberately: [Discount combination rules](/dollarback-store-credit/spending-store-credit-and-rewards/discount-combination-rules).

## How the customer gets the code

When a code is issued:

* The **"Discount code earned" email** fires automatically (default subject: "Your {storeName} reward: {rewardSummary}"), carrying the code and a summary of what it grants.
* The **Discount Code Credited event** syncs to connected integrations: Klaviyo and Omnisend receive the code, reward summary, and program name for your own flows. See [Klaviyo integration](/dollarback-store-credit/integrations/klaviyo-integration).
* The code also surfaces in the **widgets'** reward messages on the storefront.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-3785d1c0927a24c540c644dc399bdf77d3552c63%2Fdb-cx-email-discount-code.png?alt=media" alt="Email with the subject Your Dollarback Skincare Co reward: Free shipping, the reward name Free shipping, the code in a dashed box, Expires: Never, and a Shop now button." width="560"><figcaption><p>The Discount code earned email shows your customers the reward, the code, when it expires and a Shop now button.</p></figcaption></figure>

## Analytics

Every issuance is logged with the program name and code under **DollarBack admin → Analytics → Activity** (the **Discount codes** view), and the **Campaigns** tab tracks the aggregates per program thanks to the discriminator: codes issued, codes used, conversion, and discount value given.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-58480a0818c82d031c298f1b7785b462f3877f8a%2Fdb-activity-discount-codes-annotated.png?alt=media" alt="Discount codes tab in Analytics, Activity with rows marked Redeemed, Earned and Used, and one code that shows on two rows."><figcaption><p>On the <strong>Discount codes</strong> tab, a code from a cashback program shows as <strong>Earned</strong>, and gets a second, <strong>Used</strong> row when it is applied at checkout.</p></figcaption></figure>

## Verify it works

1. Trigger the program with a test customer (e.g. place a qualifying order).
2. Check the inbox. The code email should arrive with the code.
3. Apply the code on a new checkout and confirm it grants the configured discount.
4. Confirm the Earned and Used rows in **Analytics → Activity**, under the **Discount codes** view.

## Common issues

* Code won't apply at checkout: expired, already used, or blocked by combination rules; walk [A reward discount code isn't working](/dollarback-store-credit/troubleshooting-and-faq/reward-discount-code-isnt-working).
* No email arrived: check the template is enabled, then [Emails aren't arriving](/dollarback-store-credit/troubleshooting-and-faq/emails-arent-arriving).
* Code applies but stacks unexpectedly with other discounts: combination rules are store-wide; review [Discount combination rules](/dollarback-store-credit/spending-store-credit-and-rewards/discount-combination-rules).

## Related articles

* [Discount combination rules](/dollarback-store-credit/spending-store-credit-and-rewards/discount-combination-rules)
* [Set up the reward marketplace](/dollarback-store-credit/spending-store-credit-and-rewards/set-up-the-reward-marketplace)
* [Cashback program types at a glance](/dollarback-store-credit/earning-cashback-programs/cashback-program-types-at-a-glance)
* [A reward discount code isn't working](/dollarback-store-credit/troubleshooting-and-faq/reward-discount-code-isnt-working)


# Win back abandoned checkouts with cashback

Shoppers who reach checkout and leave are your warmest lost sales. This page shows three ways to pull them back with store credit, all built with Shopify Flow and DollarBack:

1. **A bonus cashback program** for shoppers who finish their order within a time window, for stores without loyalty tiers.
2. **A Flow deposit after the order**, which works with tiers and with any cashback trigger.
3. **Credit in the wallet straight away**, as soon as the shopper leaves checkout, separate from your cashback programs.

The first two give the bonus only when the shopper comes back and orders, so you pay only for recovered sales. The third pays up front, which makes a stronger message ("you have $5 waiting") but costs credit even for shoppers who return just to spend it.

## Which method fits your store

|                                                         | Method 1: bonus program                                                                                             | Method 2: Flow deposit after the order                                          | Method 3: credit at abandonment                                    |
| ------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| Loyalty tiers on                                        | Doesn't work: tiers decide who earns, so the program's customer tags are ignored                                    | Works                                                                           | Works                                                              |
| **Give cashback when** is Order Paid or Order Fulfilled | Risky: the bonus is lost if the tag is gone by the time the order triggers                                          | Works                                                                           | Works                                                              |
| How the bonus combines with normal cashback             | Each line earns from whichever program pays more: a customer on 5% who qualifies for a 10% bonus earns 10%, not 15% | Added on top of normal cashback: to give 10% in total on a 5% store, deposit 5% | Added on top: the $5 is separate from any cashback the order earns |
| Holding period and refunds                              | Follows your normal holding period, and refunds reduce the bonus like any cashback                                  | Credit is spendable at once, and a refund doesn't take the bonus back           | Credit is spendable at once until it expires                       |
| DollarBack plan                                         | Any plan with purchase cashback                                                                                     | Pro plan and above (uses the DollarBack Flow action)                            | Pro plan and above (uses the DollarBack Flow action)               |

Pick Method 1 if tiers are off and you give cashback on Order Created. Pick Method 2 if you use tiers, award cashback on payment or fulfillment, or want the bonus on top of normal cashback. Add Method 3 when you want an up-front incentive, for example for a holiday campaign. You can run Method 3 alongside either of the others.

## Prerequisites

* The **Shopify Flow** app installed on your store.
* For Methods 2 and 3: a DollarBack plan that includes **Klaviyo, Omnisend, Mailchimp and Flow integrations** (Pro plan and above), and the Flow integration enabled on **DollarBack admin → Integrations → Shopify Flow**. See [Shopify Flow: triggers and actions](/dollarback-store-credit/integrations/shopify-flow-triggers-and-actions).
* A way to tell shoppers about the offer, usually your abandoned checkout email. See [Tell shoppers about the offer](#tell-shoppers-about-the-offer).

## How it works

Every method starts with the same Shopify Flow trigger: **Customer abandons checkout**. Shopify counts a checkout as abandoned when the shopper has entered an email address and doesn't complete the checkout within about ten minutes. In our tests, the workflow started about 15 minutes after the shopper left checkout.

Methods 1 and 2 use a customer tag as a time-limited pass:

1. The shopper leaves checkout. Flow adds the tag `abandoned-checkout-bonus` to the customer.
2. Flow waits 24 hours (or the window you choose), then removes the tag.
3. If the customer orders while they carry the tag, they get the bonus: from a DollarBack program that only pays tagged customers (Method 1), or from a Flow deposit (Method 2).
4. After the order, Flow removes the tag, so the bonus is paid once.

Method 3 skips the tag window: Flow deposits credit with an expiry as soon as the shopper leaves, and tags the customer so it happens only once.

## Method 1: a bonus cashback program (stores without tiers)

### Step 1: Create the bonus program

1. Open **DollarBack admin → Home**, select the **Cashback** tab, click **Manage configurations** and add a **Purchase reward**. See [Set up purchase cashback](/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback).
2. Name it, for example `Abandoned checkout bonus`, and set the reward, for example **10%** on **All products**.
3. Under **Eligibility**, in **Include customer tags**, add `abandoned-checkout-bonus`.
4. Save the program and make sure it's enabled.

{% hint style="info" %}
The tag picker lists tags that already exist on at least one customer. If `abandoned-checkout-bonus` doesn't show up, add it to a test customer in Shopify admin first, pick it in DollarBack, then remove it from the test customer.
{% endhint %}

Your other purchase programs keep running. On a tagged customer's order, each line earns from whichever program pays more, so the bonus program wins wherever it's higher. See [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated).

### Step 2: Tag shoppers who abandon checkout

1. In Shopify Flow, click **Create workflow**.
2. **Select a trigger** → **Customer abandons checkout**.
3. Add an action → **Add customer tags** → enter `abandoned-checkout-bonus`.
4. Add a **Wait** step → `24` **hours**. This is the shopper's window to complete the order.
5. Add an action → **Remove customer tags** → enter `abandoned-checkout-bonus`.
6. Name the workflow, for example `Abandoned checkout bonus: tag`, and turn it on.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-a70f64fa69b661e57a645393c27ae363b371c006%2Fdb-ac-flow-tag.png?alt=media" alt="A Shopify Flow workflow with four steps: the trigger Customer abandons checkout, Add customer tags abandoned-checkout-bonus, Wait for 24 hours, and Remove customer tags abandoned-checkout-bonus." width="360"><figcaption><p>The tag workflow. The Wait step sets how long the shopper has to come back and order.</p></figcaption></figure>

### Step 3: Remove the tag after the order

1. Create another workflow with the trigger **Order created**.
2. Add a **Condition**: pick **order / customer / tags**, then **Tags item** → **Equal to** → `abandoned-checkout-bonus`.
3. On the "then" branch, add a **Wait** step → `10` **minutes**.
4. Add an action → **Remove customer tags** → enter `abandoned-checkout-bonus`.
5. Name it, for example `Abandoned checkout bonus: clear after order`, and turn it on.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-945304c751b99658bbadb913b6c796dbf8662731%2Fdb-ac-flow-clear.png?alt=media" alt="A Shopify Flow workflow: the trigger Order created, a Condition that tags is equal to abandoned-checkout-bonus, then on the True branch Wait for 10 minutes and Remove customer tags abandoned-checkout-bonus." width="460"><figcaption><p>The clear-after-order workflow. The 10-minute wait gives DollarBack time to read the tag first.</p></figcaption></figure>

{% hint style="warning" %}
**Keep the wait before removing the tag.** DollarBack reads the customer's tags when it processes the order, which usually takes a few seconds. If Flow removes the tag at the same moment, the order can miss the bonus.
{% endhint %}

### When Method 1 doesn't fit

* **Loyalty tiers are on.** While tiers are active, store-credit purchase programs ignore **Include customer tags** ([Link cashback programs to tiers](/dollarback-store-credit/loyalty-tiers/link-cashback-programs-to-tiers)). Linking the bonus program to a tier would give it to everyone in that tier. Use Method 2.
* **Give cashback when is Order Fulfilled.** DollarBack reads the tags at fulfillment, which can be days after the order, and by then the Step 3 workflow has removed the tag. With **Order Paid**, orders paid at checkout are fine, but an order paid later (for example by bank transfer) can miss the bonus. Use Method 2 for these stores. See [Trigger & Timing](/dollarback-store-credit/settings/trigger-and-timing).

## Method 2: a Flow deposit after the order (works with tiers)

Method 2 keeps your cashback programs exactly as they are and pays the bonus from Flow.

### Step 1: Tag shoppers who abandon checkout

Build the same tag workflow as [Method 1, Step 2](#step-2-tag-shoppers-who-abandon-checkout): **Customer abandons checkout** → **Add customer tags** → **Wait** 24 hours → **Remove customer tags**.

### Step 2: Deposit the bonus when they order

1. Create a workflow with the trigger **Order created**.
2. Add a **Condition**: **order / customer / tags** → **Tags item** → **Equal to** → `abandoned-checkout-bonus`.
3. On the "then" branch, add an action → **Deposit Store Credit v2** (under DollarBack). **Customer** is already filled in with the order's customer.
4. Fill in the fields:
   * **Amount**: `{{ order.currentSubtotalPriceSet.shopMoney.amount | times: 0.10 | round: 2 }}` for 10% of the order subtotal after discounts, before shipping and tax. Change `0.10` to your rate. Flow shows no preview, so check the first run.
   * **Currency**: your store currency code, for example `USD`.
   * **Offer Title**: `Abandoned checkout bonus`. It labels the deposit in your credit logs.
   * **Expires After** or **Expires At**: optional.
   * **Notify Customer**: turn it on to send the **Store Credit Credited** email.
5. Add an action → **Remove customer tags** → enter `abandoned-checkout-bonus`. The deposit has already used the tag, so this step needs no wait.
6. Name it, for example `Abandoned checkout bonus: deposit`, and turn it on.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-e337b65c8e61a3ae56155e562e7ca6f01cc5047d%2Fdb-ac-flow-deposit-panel.png?alt=media" alt="The Deposit Store Credit v2 action panel in Shopify Flow. Customer is order.customer.id, Amount is the Liquid expression order.currentSubtotalPriceSet.shopMoney.amount times 0.10 rounded to 2, Currency is USD, Expires After is 0, Expires At is empty, Offer Title is Abandoned checkout bonus, and Notify Customer is unticked." width="560"><figcaption><p>Deposit Store Credit v2 with a Liquid amount of 10% of the order subtotal. Customer is filled in from the order.</p></figcaption></figure>

What to expect on a $24 order with a 5% program: the customer gets $1.20 of normal cashback and a $2.40 Flow deposit, $3.60 in total.

{% hint style="info" %}
**The deposit is outside your cashback rules.** Tier multipliers, the holding period, caps and refund clawbacks don't apply to it. If an order with a bonus is refunded, deduct the bonus by hand from the customer page in Shopify admin, or with a **Deduct Store Credit v2** workflow. If you take manual payments, use the Flow trigger **Order paid** instead of **Order created** so unpaid orders get no bonus.
{% endhint %}

## Method 3: credit in the wallet when they leave checkout

Method 3 doesn't involve your cashback programs at all. When a shopper leaves checkout, Flow drops a small amount of credit into their wallet with a short expiry, and your message tells them it's waiting.

1. Create a workflow with the trigger **Customer abandons checkout**.
2. Add a **Condition** so each customer gets the credit once: pick **customer / tags**, change **At least one of** to **None of**, then **Tags item** → **Equal to** → `ac-credit-given`.
3. Optional: click **Add criteria** to add more rules with **AND**, for example a minimum cart value (**abandonment / abandonedCheckoutPayload / subtotalPriceSet / shopMoney / amount** → **Greater than or equal to** → `20`) or returning customers only (**customer / numberOfOrders** → **Greater than or equal to** → `1`).
4. On the "then" branch, add an action → **Deposit Store Credit v2**. **Customer** is already filled in with the shopper. Fill in:
   * **Amount**: a fixed amount, for example `5`.
   * **Currency**: your store currency code.
   * **Expires After**: `2` (days), or **Expires At** with a date such as `2026-12-01` to end the offer with your campaign.
   * **Offer Title**: `Come back bonus`.
   * **Notify Customer**: on, so DollarBack sends the **Store Credit Credited** email.
5. Add an action → **Add customer tags** → enter `ac-credit-given`.
6. Name it, for example `Abandoned checkout credit`, and turn it on.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-5d44a915a49bb77b3eeefbc4dbcd4f5d8f285c11%2Fdb-ac-flow-upfront-condition.png?alt=media" alt="A Shopify Flow workflow named AC credit upfront with the Condition panel open. The first rule is abandonment.abandonedCheckoutPayload.subtotalPriceSet.shopMoney.amount greater than or equal to 20. AND. The second rule is None of customer / tags, Tags item equal to ac-credit-given. The canvas shows Customer abandons checkout, the Condition, Deposit Store Credit v2 and Add customer tags ac-credit-given." width="720"><figcaption><p>The credit-at-abandonment workflow. The condition pays carts of $20 or more, and only customers who have not had the credit yet.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-0a1ff483c77299d0b7302e85a814e2b0e08f0e17%2Fdb-ac-flow-upfront-deposit-panel.png?alt=media" alt="The Deposit Store Credit v2 panel with Customer customer.id, Amount 5, Currency USD, Expires After 2, Expires At empty, Offer Title Come back bonus, and Notify Customer ticked." width="560"><figcaption><p>A fixed $5 that expires 2 days after the deposit, with the customer email on.</p></figcaption></figure>

{% hint style="warning" %}
**Store credit needs a signed-in checkout.** The credit sits on the customer's account, so the shopper must sign in at checkout with the same email to spend it. Say so in your message. At checkout, **Apply store credit** uses the customer's whole balance, up to the order total, not only the bonus. See [Store credit isn't available at checkout](/dollarback-store-credit/troubleshooting-and-faq/store-credit-isnt-available-at-checkout).
{% endhint %}

Because this credit is paid before any order, keep it small, give it a short expiry, and keep the once-per-customer condition. Remove `ac-credit-given` only if you want a customer to qualify again.

## Tell shoppers about the offer

The workflows give the credit. Your message makes shoppers come back for it.

* **Shopify's abandoned checkout email.** Go to **Apps → Messaging → Automations** and open **Abandoned checkout emails by Shopify**. Add a line such as "Complete your order in the next 24 hours and get 10% back in store credit." It already contains the link back to the shopper's checkout.
* **Match the window to the email.** The window starts when Flow tags the customer, not when the email arrives. If your email goes out 10 hours after abandonment, a 24-hour window leaves the shopper 14 hours. Make the **Wait** step longer than the email delay plus the time you promise, or shorten the email delay.
* **Method 3** can rely on DollarBack's **Store Credit Credited** email (**Notify Customer** on). It arrives within a minute of the deposit. Make sure your template mentions the deadline with `{formattedExpiresAt}` or `{remainingDays}`. See [Customize email templates](/dollarback-store-credit/notifications/customize-email-templates).

## Before Black Friday and the holidays

* **Build and test the workflows a week ahead.** Abandoned checkouts rise sharply over Black Friday and Cyber Monday, and so does the credit these workflows give out. Test on a staff account before the traffic arrives.
* **Use fixed end dates.** For Method 3, **Expires At** set to the last day of your campaign makes the deadline real. For Methods 1 and 2, turn the workflows off when the campaign ends. Turning a workflow off cancels its runs in progress, so tags stay on customers until you remove them: in Shopify admin, filter customers by the tag and remove it in bulk.
* **Mind the stacking.** A holiday discount code plus your normal cashback plus a bonus adds up. With Method 1, the per-line winner rule keeps it to the higher rate. With Methods 2 and 3, the bonus comes on top.
* **Watch the cost.** Check **Analytics → Activity** to see what the campaign paid out: Method 1 credits show the bonus program's name, and Flow deposits show your Offer Title.

## Verify it works

1. As a test customer, add a product to the cart, go to checkout, enter the email address, and leave without paying.
2. After about 15 to 20 minutes, open the **Customer abandons checkout** workflow's run history in Flow. The run should show every step as succeeded, and the customer page in Shopify admin should show the tag (Methods 1 and 2) or the credit (Method 3).
3. Place an order as that customer. In **DollarBack admin → Analytics → Activity**, check the credit: the bonus program's rate (Method 1) or a deposit with your Offer Title next to the normal cashback (Method 2).
4. After the order, check that the tag is gone from the customer: 10 minutes later for Method 1, at once for Method 2.

## Common issues

* **The workflow never started.** The shopper didn't enter an email address, completed an order soon after (Shopify then treats the checkout as recovered), or Shopify flagged the checkout as bot traffic. Only checkouts that appear under **Orders → Abandoned checkouts** start the trigger.
* **A change to a workflow had no effect.** Editing a workflow that is on saves a draft. Click **Apply changes**, then confirm, before the change takes effect. Check a number field such as **Expires After** after you apply: open the step again and make sure the value stuck.
* **A tagged customer got normal cashback only (Method 1).** Check whether tiers are on, whether the tag was removed before the order processed (the wait in Step 3), and whether **Give cashback when** is Order Fulfilled. Then check the tag spelling on the program.
* **Flow says the deposit succeeded but no credit arrived (Methods 2 and 3).** The DollarBack Flow integration is disabled. See [Shopify Flow: triggers and actions](/dollarback-store-credit/integrations/shopify-flow-triggers-and-actions).
* **The bonus amount is wrong (Method 2).** Open the run in Flow and read the **Amount** that the step received. A typo in the Liquid shows here.
* **The customer can't use the credit at checkout.** They're checking out as a guest, in a different currency, or behind a store credit visibility rule. See [Store credit isn't available at checkout](/dollarback-store-credit/troubleshooting-and-faq/store-credit-isnt-available-at-checkout).
* **A customer who abandoned twice lost the tag early.** Each abandonment starts its own run. The first run still removes the tag 24 hours after the first abandonment.

## Related articles

* [Shopify Flow: triggers and actions](/dollarback-store-credit/integrations/shopify-flow-triggers-and-actions)
* [Set up purchase cashback](/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback)
* [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated)
* [Link cashback programs to tiers](/dollarback-store-credit/loyalty-tiers/link-cashback-programs-to-tiers)
* [Trigger & Timing](/dollarback-store-credit/settings/trigger-and-timing)
* [Store credit isn't available at checkout](/dollarback-store-credit/troubleshooting-and-faq/store-credit-isnt-available-at-checkout)


# Spending: Store Credit & Rewards

The reward marketplace, checkout behavior, expiry, and what happens on refunds.

* [How customers spend their credit](/dollarback-store-credit/spending-store-credit-and-rewards/how-customers-spend-their-credit)
* [Set up the reward marketplace](/dollarback-store-credit/spending-store-credit-and-rewards/set-up-the-reward-marketplace)
* [Cart groups, redemption rules & rejection messages](/dollarback-store-credit/spending-store-credit-and-rewards/cart-groups-and-redemption-rules)
* [Discount combination rules](/dollarback-store-credit/spending-store-credit-and-rewards/discount-combination-rules)
* [Hide store credit at checkout](/dollarback-store-credit/spending-store-credit-and-rewards/hide-store-credit-at-checkout)
* [Credit expiry & reminders](/dollarback-store-credit/spending-store-credit-and-rewards/credit-expiry-and-reminders)
* [Refunds, cancellations & order edits](/dollarback-store-credit/spending-store-credit-and-rewards/refunds-cancellations-and-order-edits)


# How customers spend their credit

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

This page walks through the customer side of DollarBack: where shoppers see their balance, how they pay with store credit at checkout, and how they trade credit for rewards in the marketplace. Nothing here requires admin work. It's the journey your customers experience once your programs are live.

## Where customers see their balance

A signed-in customer can check their store credit in several places:

| Surface                  | What it shows                                                              |
| ------------------------ | -------------------------------------------------------------------------- |
| Floating cashback widget | Balance, ways to earn, rewards, and transaction history in a tabbed panel  |
| Customer account pages   | A credit balance block with a banner and filterable transaction history    |
| Loyalty page             | Balance alongside earning options, tiers, and reward history               |
| Thank-you page           | Credit earned on the order just placed, with an expiry note if one applies |

Store credit in DollarBack is Shopify-native store credit, so it also appears in the customer's Shopify account like any other store credit balance.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-b08cecfb57ed82ad04e9b62aad66585684865702%2Fdb-cx-widget-home.png?alt=media" alt="Floating widget Home tab with Your Credit $22.33, a history icon at the top right, the tier card Bronze, Current, Next: Silver, Spend $250.00, a Referral Program card (You get $5.00, They get $5.00) and a Redeem rewards card, with the tabs Home, Offers and Referral." width="380"><figcaption><p>In the floating widget, your customers see their balance, their tier, the referral offer and a way into the rewards.</p></figcaption></figure>

## Option 1: Pay with store credit at checkout

The most direct way to spend credit:

1. The customer adds products to the cart and proceeds to checkout.
2. In the payment section, store credit appears as a payment option showing the available balance.
3. The customer applies it. If the balance covers the whole order, no other payment is needed; otherwise the remainder is charged to their card or other payment method.
4. The order completes and the spent amount is deducted from their balance immediately.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-d2df4a9de3811a5251f2e77f9453c0134b2d2afe%2Fdb-cx-checkout-apply-store-credit.png?alt=media" alt="Checkout payment section with the Apply store credit option ticked and the amount $20.00." width="520"><figcaption><p>At checkout, your customers tick Apply store credit, Shopify's own store credit option, to pay with their balance.</p></figcaption></figure>

{% hint style="info" %}
If you've set a visibility condition (for example, only show credit on carts over $50), the payment option is hidden until the cart qualifies. See [Hide store credit at checkout](/dollarback-store-credit/spending-store-credit-and-rewards/hide-store-credit-at-checkout).
{% endhint %}

## Option 2: Redeem a reward from the marketplace

If you've set up the reward marketplace, customers can trade credit for order discounts, product discounts, or free shipping:

1. The customer opens the reward marketplace: in their account pages, in the floating widget's rewards view, or in the checkout marketplace block (Shopify Plus).
2. Each reward card shows what it gives and what it costs in store credit. The cost is an amount of money, not points: say $5 off an order for $4 of credit.
3. The customer redeems a reward. DollarBack deducts the credit cost from their balance at that moment, then creates a unique discount code for them.
4. The customer uses the code on that order or a later one. In the checkout marketplace block, **Apply to cart** adds the code to the checkout directly. Elsewhere, they copy the code and enter it in the discount-code field at checkout.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-fabcd7cc71808211eddac77f1306a6c5fff53f43%2Fdb-reward-editor-shared-fields-annotated.png?alt=media" alt="Reward editor on the DollarBack Reward marketplace page with Title, Credit cost (USD) set to 20, Expires after (days) set to 3, Max redemptions per customer set to 1, and Discount classes Product, Order and Shipping." width="560"><figcaption><p>You set each reward's price as a <strong>Credit cost</strong> in your store currency, in the reward editor in DollarBack admin.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-8202e6f85da69c52563f798eb77b807555b20e83%2Fdb-cx-widget-redeem-code.png?alt=media" alt="Widget Redeem rewards view right after the customer redeemed Free shipping: the message Here&#x27;s your code, enjoy shopping! and a code that starts with RDM-, with a copy button." width="380"><figcaption><p>When a customer redeems a reward in the widget, the new code shows at once, with a button to copy it.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-1c4b15886d94aa51d107e146a366181bd3506fc5%2Fdb-cx-checkout-credit-and-code.png?alt=media" alt="Checkout summary with the banner You will earn $2.50 as cashback on this order!, four items, a reward code that starts with RDM- that changes shipping from $15.00 to FREE, Store credit −$20.00 and Total due $267.00." width="470"><figcaption><p>Your customers can use a reward code and store credit on the same order: here the code makes shipping free and store credit pays $20.00.</p></figcaption></figure>

{% hint style="warning" %}
Credit is charged when the reward is claimed, not when the code is used. If the customer never uses the code, or the code's value is larger than their cart total, the difference is not returned automatically. Encourage customers to redeem rewards when they're ready to use them. To give back the credit for a code that is still unused, use the **Reward redemptions** block on the customer's page in Shopify admin; see [Refunds, cancellations & order edits](/dollarback-store-credit/spending-store-credit-and-rewards/refunds-cancellations-and-order-edits#what-happens-to-credit-the-customer-spent).
{% endhint %}

## Verify it works

Sign in to your storefront as a test customer who has a credit balance:

1. Open the floating widget and confirm the balance matches what the admin credit log shows.
2. Start a checkout and confirm store credit appears as a payment option.
3. Redeem a low-cost reward from the account marketplace, enter the code at checkout, and confirm the discount applies and the balance drops by the credit cost.

## Common issues

* Store credit doesn't appear as a payment option: see [Store credit isn't available at checkout](/dollarback-store-credit/troubleshooting-and-faq/store-credit-isnt-available-at-checkout).
* A redeemed reward code is rejected at checkout: see [A reward discount code isn't working](/dollarback-store-credit/troubleshooting-and-faq/reward-discount-code-isnt-working).
* The widget or account block isn't visible on the storefront: see [A widget isn't showing on my store](/dollarback-store-credit/troubleshooting-and-faq/widget-isnt-showing).

## Related articles

* [Set up the reward marketplace](/dollarback-store-credit/spending-store-credit-and-rewards/set-up-the-reward-marketplace)
* [Hide store credit at checkout](/dollarback-store-credit/spending-store-credit-and-rewards/hide-store-credit-at-checkout)
* [Credit expiry & reminders](/dollarback-store-credit/spending-store-credit-and-rewards/credit-expiry-and-reminders)
* [Customer account blocks](/dollarback-store-credit/widgets-and-storefront/customer-account-blocks)


# Set up the reward marketplace

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

*This article's section starts at 0:00 in the video.*

The reward marketplace lets customers trade store credit for discounts. When you're done here, your storefront widgets, account pages, and (on Shopify Plus) checkout will show a set of rewards customers can claim with their balance.

Rewards do double duty: the same definitions can also be handed out by your cashback programs as earned discount codes. You build a reward once, then decide where it's available.

## Prerequisites

* At least one way for customers to earn credit; see [Set up purchase cashback](/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback).
* Marketplace surfaces active in your theme and account editor; see [Activate widgets in your theme](/dollarback-store-credit/getting-started/activate-widgets-in-your-theme).

## The page at a glance

Open **DollarBack admin → Home**, select the **Voucher Marketplace** tab and click **Manage rewards** (or **Create reward** if you have none yet). The **Reward marketplace** page lists your rewards as cards; click a reward to expand its editor in place. Below the list sits the **Combinations** card (stacking rules; see [Discount combination rules](/dollarback-store-credit/spending-store-credit-and-rewards/discount-combination-rules)), and the right column holds a live **Customer preview** plus the **Rejection messages** panel (covered in [Cart groups, redemption rules & rejection messages](/dollarback-store-credit/spending-store-credit-and-rewards/cart-groups-and-redemption-rules)).

Each reward row shows its title, a plain-language summary of what it grants and costs, a status badge, an enable toggle, and edit/delete actions.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-b170610cf7626fc487b561242b82a2ef3e43120e%2Fdb-reward-marketplace-overview-annotated.png?alt=media" alt="Reward marketplace page with three active rewards, an Add reward button, the Combinations card, and the Customer preview and Rejection messages panels."><figcaption><p>The Reward marketplace page lists your rewards. Stacking rules are below them, and the customer preview is on the right.</p></figcaption></figure>

## Create a reward

Click **Add reward** and fill in the shared fields:

| Field                          | What it does                                                                                                                                                                                                                                   |
| ------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Title**                      | Required. Shown to customers, and used to pick this reward from cashback triggers. Make it self-explanatory ("$5 off your order").                                                                                                             |
| **Credit cost**                | How much credit the customer pays to claim this reward in the marketplace. For a $5-off reward, a cost of $5 of credit is a 1:1 trade; set it lower to make redemption a perk. A reward with a cost of 0 can't be redeemed in the marketplace. |
| **Expires after (days)**       | Optional. The expiry date is baked into each minted code, counted from the moment it's issued. Blank means codes don't expire.                                                                                                                 |
| **Max redemptions / customer** | Optional. Caps how many times a customer can redeem this reward by spending credit in the marketplace. New rewards start at 1. Codes issued by cashback programs are limited separately, with **Limit issues per customer** on the program.    |

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-fabcd7cc71808211eddac77f1306a6c5fff53f43%2Fdb-reward-editor-shared-fields-annotated.png?alt=media" alt="Reward editor with Title, Credit cost (USD), Expires after (days), Max redemptions / customer, and the Product, Order and Shipping discount class tiles with Product selected."><figcaption><p>Click the pencil icon on a reward to edit its title, credit cost, expiry, limit and discount classes.</p></figcaption></figure>

## Choose the discount classes

This is the big idea of the marketplace: one reward can grant **several kinds of discount at once**. Under **Discount classes**, toggle any combination of three tiles:

| Class        | Grants                                         |
| ------------ | ---------------------------------------------- |
| **Product**  | A discount on specific products or collections |
| **Order**    | A discount on the whole order subtotal         |
| **Shipping** | A discount on shipping cost                    |

Each enabled class gets its own config card, and a single redeemed code carries all of them. "20% off the Treat & Restore collection plus free shipping" is one reward, one code.

### Product discount card

* **Discount type**: **Percentage**, **Fixed amount**, or **Specific price** (sets each targeted item to a fixed unit price).
* **Max items discounted**: cheapest eligible items are discounted first; leave blank for unlimited.
* **Maximum total discount**: a cap across all discounted items; leave blank for no cap.
* **Cart groups**, **Redemption rules**, and **Discount applies to** control which items get the discount and when the code can be used; see [Cart groups, redemption rules & rejection messages](/dollarback-store-credit/spending-store-credit-and-rewards/cart-groups-and-redemption-rules).

### Order discount card

* **Discount type**: **Percentage** or **Fixed amount**.
* **Maximum discount** (percentage only): the most the discount can take off; leave blank for no cap.

### Shipping discount card

* **Discount type**: **Percentage** or **Fixed amount**. 100% = free shipping (the default for a new shipping card).
* **Maximum discount** (percentage only): the most you'll take off the shipping rate.
* **Applies to**: **All shipping methods** or **Specific shipping methods**, chosen from your store's shipping rates.

Every class card also carries its own cart groups and redemption rules, so eligibility is configured per class.

## Choose where the reward is available

The **Available in** checkboxes decide which side of DollarBack can hand this reward out:

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-f6968bbe0ea8e528917f22fefc28a0bb32e95cfb%2Fdb-reward-available-in-annotated.png?alt=media" alt="Available in section with Reward marketplace and Cashback triggers both checked."><figcaption><p>Choose whether customers can buy the reward with credit, earn it from a cashback program, or both.</p></figcaption></figure>

* **Reward marketplace**: customers can spend store credit to redeem it.
* **Cashback triggers**: cashback configs can issue it as an earned reward; see [Reward discount codes instead of store credit](/dollarback-store-credit/earning-cashback-programs/reward-discount-codes-instead-of-store-credit).

Both are on by default. A reward set to Cashback only disappears from the marketplace but stays selectable in your programs; the row's subtitle shows "Marketplace only" or "Cashback only" so you can tell at a glance.

## Status and ordering

* The toggle on each row switches between **Active** and **Draft**. Draft rewards are hidden from customers but keep their configuration.
* Drag rewards to set their order. When several product-discount rewards could apply to the same cart, the one nearest the top wins.

Saving happens through the save bar; a reward needs a title and at least one discount in an enabled class before it will save. The **Customer preview** panel on the right shows exactly what the shopper will read for the reward you're editing, including its "Redeem terms" once you add rules.

## Word your rewards: Reward marketplace text

You don't type the description of each reward. DollarBack builds it from the reward's settings ("20% off Treat & Restore + Free shipping") and builds the unlock conditions the same way ("you spend at least $50 on Skincare"). The words it uses come from one shared page: **DollarBack admin → Customize**, under **Shared**, the **Reward marketplace text** card → **Customize**.

That wording is used by every place a customer sees a reward: the checkout reward marketplace, the customer account reward marketplace, the floating widget's Offers tab, the loyalty page, and the earned-reward messages on the product page, cart, checkout and thank-you page (their `{reward}` variable). Edit it once and every surface changes. The widgets' own editors only hold their labels (headings, buttons, cost and expiry labels).

The page has five groups of templates. Each field shows its default as a placeholder, so a blank field means "use the default".

| Group                  | What it controls                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | Variables                                                                                                                                                               |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Reward phrasing**    | One template per reward type: order discount (percent, fixed amount), product discount (percent, fixed amount, specific price), free shipping (all methods, specific methods, capped), shipping discount (percent, fixed amount, each with a specific-methods version). The right template is picked from the reward's discount type. Also: the **Default resource label** (used for `{resource}` when a product discount covers every item, default "all products"), the **Ceiling** suffixes for a maximum amount ("up to {price}") or maximum items ("on up to {count} items"), the **Join between rewards** (" + ") and the **Terms group heading** ("To get {reward}") shown above each discount's conditions when one reward grants several discounts. | `{value}` (percent), `{price}` (in the customer's currency), `{resource}` (product, collection or variant names), `{methods}` (shipping methods), `{count}`, `{reward}` |
| **Condition phrasing** | How each redemption rule condition reads: subtotal, quantity, and distinct-products conditions, each in a whole-cart version ("{group} subtotal is {op} {amount}") and a specific-products version ("you spend {op} {amount} on {group}"). The **Whole-cart label** ("your cart") fills `{group}` when a condition targets the entire cart.                                                                                                                                                                                                                                                                                                                                                                                                                  | `{group}`, `{op}`, `{amount}`, `{count}`                                                                                                                                |
| **Operator words**     | The word used for `{op}`: at least, more than, at most, fewer than, exactly.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | (none)                                                                                                                                                                  |
| **Joining conditions** | The text between conditions that must all be met (" and "), and the wrapper for conditions where any one unlocks the reward ("any of: {list}").                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | `{list}`                                                                                                                                                                |

A **Preview** on the right shows a sample reward and its condition in your wording, and updates as you type. Translate the page like a widget: add a language tab and use **Translate with AI** or edit each string; see [Translate your widgets](/dollarback-store-credit/widgets-and-storefront/translate-your-widgets). A customer whose language has no translation sees your base wording, and any field you left blank falls back to the English default.

The wording only changes what customers read. It doesn't change what the reward does: the discount and its rules are set on the reward itself. DollarBack's own admin texts, emails and integration events describe rewards with the default English wording, not this page.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-4bf8dda619b9abe25008dcd890911061ff52f086%2Fdb-f4-reward-copy-editor-annotated.png?alt=media" alt="The Reward marketplace text page in Customize, with the Reward phrasing templates and the Preview of a sample reward."><figcaption><p>Reward marketplace text: one set of templates words every reward on every surface. The preview shows the result as you type.</p></figcaption></figure>

## What customers see

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-4de0d0b5862f197e32dfd53b226b168aef8d3072%2Fdb-cx-widget-redeem.png?alt=media" alt="Widget Redeem rewards view with Your Credit $22.33, a My codes link, and the reward cards 15% off your next order up to $50.00 and 10% off Cleanse &#x26; Prep on up to 3 items, each with Redeem terms, how long it is valid, Cost $20.00 and a Redeem button." width="380"><figcaption><p>In the floating widget, each reward shows what it gives, its terms, how long the code is valid and its credit cost.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-8202e6f85da69c52563f798eb77b807555b20e83%2Fdb-cx-widget-redeem-code.png?alt=media" alt="Widget Redeem rewards view right after the customer redeemed Free shipping: the message Here&#x27;s your code, enjoy shopping! and a code that starts with RDM-, with a copy button." width="380"><figcaption><p>When a customer clicks Redeem, the widget shows the new code at once, with a button to copy it.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-ee2db1fcedb56ccde2338385fbee303263ac09ad%2Fdb-cx-account-profile.png?alt=media" alt="Customer account profile page with a Loyalty card block (Add to Google Wallet, Add to Apple Wallet), a referral block with Copy Code, and a Redeem rewards block: Available credit $12.33, two rewards at $20.00 marked Add $7.67 more to redeem, Free shipping at $5.00 with a Redeem button, and View history." width="560"><figcaption><p>On the account profile page, a reward that costs more than the customer's credit shows how much more they need.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-3785d1c0927a24c540c644dc399bdf77d3552c63%2Fdb-cx-email-discount-code.png?alt=media" alt="Email with the subject Your Dollarback Skincare Co reward: Free shipping, the reward name Free shipping, the code in a dashed box, Expires: Never, and a Shop now button." width="560"><figcaption><p>Your customers also get the code in the Discount code earned email, with the reward, its expiry and a Shop now button.</p></figcaption></figure>

## How redemption works behind the scenes

Understanding the mechanics saves support tickets later:

* **Credit is debited first, then the code is minted.** When a customer claims a reward, DollarBack charges the credit cost immediately (at claim time, not when the code is used at checkout) and then creates a unique discount code. If the code can't be created, the credit cost is refunded to the customer's balance automatically.
* **Unused value is lost.** If the code's value exceeds the customer's cart total, standard Shopify behavior applies: the remainder isn't banked for later.
* **There is no automatic rollback.** If a code is never used, or the order it was used on is cancelled, the credit is not refunded automatically. Returning it is a deliberate action you take.

You can do that yourself, without support: the **Reward redemptions** block on the customer's page in Shopify admin lists their unused redemptions and refunds one in a couple of clicks, returning the exact credit they spent and deleting the code. See [Admin blocks on the customer & order pages](/dollarback-store-credit/analytics-data-and-account/admin-blocks-customer-and-order-pages).

{% hint style="warning" %}
**A code follows the reward's current settings.** Issued codes are not frozen copies. If you edit a reward, codes customers already hold give the edited discount from then on. If you delete a reward, codes already issued for it stop giving a discount.
{% endhint %}

{% hint style="warning" %}
Every reward code (marketplace redemptions and earned discount-code rewards alike) hangs off one shared Shopify discount whose code is `RDM-(DO NOT DELETE)`. Never delete this discount in your Shopify admin. If it's deleted, every code your customers hold stops working at once.

A second, automatic discount named **Redemption code validator (DO NOT DELETE)** checks each reward code at checkout and shows your rejection messages when a code doesn't qualify. Don't delete it either. See [DollarBack items in your Shopify admin](/dollarback-store-credit/getting-started/how-dollarback-works#dollarback-items-in-your-shopify-admin).
{% endhint %}

## Verify it works

1. Sign in to your storefront as a test customer with enough credit for your cheapest reward.
2. Open the reward marketplace (account pages or the floating widget's rewards view) and claim a reward.
3. Confirm the balance drops by the credit cost, then apply the code at checkout and confirm the discount applies.
4. In **DollarBack admin → Analytics → Activity**, check the **Discount codes** view shows the Redeemed row.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-58480a0818c82d031c298f1b7785b462f3877f8a%2Fdb-activity-discount-codes-annotated.png?alt=media" alt="Discount codes tab in Analytics, Activity with rows marked Redeemed, Earned and Used, and one code that shows on two rows."><figcaption><p>A marketplace claim shows as a <strong>Redeemed</strong> row on the <strong>Discount codes</strong> tab. When the code is used, a <strong>Used</strong> row follows.</p></figcaption></figure>

## Common issues

* A claimed code doesn't work at checkout: the customer sees one of your [rejection messages](/dollarback-store-credit/spending-store-credit-and-rewards/cart-groups-and-redemption-rules) explaining why; also see [A reward discount code isn't working](/dollarback-store-credit/troubleshooting-and-faq/reward-discount-code-isnt-working).
* A code won't apply alongside another discount: check the **Combinations** card; see [Discount combination rules](/dollarback-store-credit/spending-store-credit-and-rewards/discount-combination-rules).
* Customers can't see the marketplace: check the reward is **Active** and available in the **Reward marketplace**, then see [A widget isn't showing on my store](/dollarback-store-credit/troubleshooting-and-faq/widget-isnt-showing).

## Related articles

* [Cart groups, redemption rules & rejection messages](/dollarback-store-credit/spending-store-credit-and-rewards/cart-groups-and-redemption-rules)
* [Discount combination rules](/dollarback-store-credit/spending-store-credit-and-rewards/discount-combination-rules)
* [How customers spend their credit](/dollarback-store-credit/spending-store-credit-and-rewards/how-customers-spend-their-credit)
* [Reward discount codes instead of store credit](/dollarback-store-credit/earning-cashback-programs/reward-discount-codes-instead-of-store-credit)


# Cart groups, redemption rules & rejection messages

Every discount card on a [marketplace reward](/dollarback-store-credit/spending-store-credit-and-rewards/set-up-the-reward-marketplace) carries its own eligibility engine: **cart groups** name the parts of the cart you care about, **redemption rules** decide when the code can be used, and **rejection messages** are what the customer reads at checkout when it can't. This page covers all three.

## Cart groups: name the parts of the cart

A cart group is a named selection of cart lines. Groups do two jobs: they scope *conditions* ("the customer must have $50 of serums in the cart") and, for product discounts, they scope the *target* ("the discount applies to the serums").

* Click **Add cart group** on a discount card.
* **Name** the group (e.g. "Premium products"). Customers see this name in reward descriptions and checkout messages, so write it for shoppers, not for yourself.
* **Select by**: **Products**, **Collections**, or **Variants**, then pick the items. Switching the kind clears the previous selection. A group with nothing selected matches every line.

The list always starts with **All (default)**, the built-in group that matches the entire cart. With no groups of your own, discounts and conditions simply work cart-wide.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-9e0c77329fb141b6d735df5af539e5e8aaaf3953%2Fdb-reward-cart-groups-annotated.png?alt=media" alt="Cart groups section with the All (default) row, a group named Cleanse &#x26; Prep selected by Collections with 1 selected, and an Add cart group button."><figcaption><p>Each discount card has its own cart groups. Name them for shoppers, because the name shows at checkout.</p></figcaption></figure>

## Discount applies to (product discounts)

A product discount with no cart groups applies to all products. Once you've created groups, the **Discount applies to** selector chooses which group's lines actually receive the discount: **All products** or one named group.

Groups and targets are independent: a condition can test one group while the discount targets another. "Spend $50 on Cleanse & Prep, get 20% off Treat & Restore" is two groups, one condition, one target.

## Redemption rules: when the code can be used

With no rules, a code can always be redeemed. Rules gate it. Each **rule** is a small card holding one or more **conditions**; click **Add rule** to create one, **Add condition** to grow it.

Each condition has four parts:

| Part         | Options                                                                                              |
| ------------ | ---------------------------------------------------------------------------------------------------- |
| **Scope**    | **Whole cart**, or any cart group you've created                                                     |
| **Property** | **Subtotal**, **Quantity**, or **Distinct products**                                                 |
| **Operator** | **is at least (≥)**, **is more than (>)**, **is at most (≤)**, **is fewer than (<)**, **equals (=)** |
| **Value**    | The threshold. Subtotals are measured in your store currency.                                        |

Two AND/OR switches control how things combine:

* **Within a rule**: AND means every condition in the rule must pass; OR means at least one must.
* **Between rules**: when you have several rules, a second AND/OR pill decides whether all rules must pass or any one of them is enough.

That two-level structure covers most real gating. A minimum order value is one rule with one condition (Whole cart · Subtotal · is at least · 50). "Either $100 in the cart OR 3 serums" is two rules joined by OR.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-725ea00dd1239d5ea46e22c65fd7187df6262a6f%2Fdb-reward-redemption-rules-annotated.png?alt=media" alt="Redemption rules with one AND rule holding two conditions, Cleanse &#x26; Prep subtotal is at least 200 and distinct products is at least 3, plus Add condition, Add rule, and Discount applies to set to Cleanse &#x26; Prep."><figcaption><p>This rule asks for at least $200 and at least 3 different products from Cleanse &#x26; Prep before the code works.</p></figcaption></figure>

### Worked example

To require $50 of skincare before a "20% off serums" code works:

1. Create cart group "Skincare" (a collection) and cart group "Serums" (selected products).
2. Set **Discount applies to** → Serums.
3. Add a rule with one condition: Scope **Skincare** · **Subtotal** · **is at least (≥)** · **50**.

The customer preview's "Redeem terms" section restates your rules in plain language, so you can sanity-check what shoppers will be told.

## Rejection messages: what customers see when a code doesn't apply

When a code fails its rules at checkout, Shopify shows the shopper a message you control. The **Rejection messages** panel (right column of the Reward marketplace page) holds one template per failure case. These are global: every reward shares them.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-3c15c49b658556f39460d5d8343cf5fc02db48d0%2Fdb-reward-rejection-messages-annotated.png?alt=media" alt="Rejection messages panel with six message fields: Minimum spend not met, Minimum quantity not met, Minimum unique products not met, Expired code, No eligible items, Other requirement not met." width="560"><figcaption><p>Edit the message a shopper sees when a reward code fails its rules. One set serves every reward.</p></figcaption></figure>

| Case                                | Default message                                           | When it shows                                                                 |
| ----------------------------------- | --------------------------------------------------------- | ----------------------------------------------------------------------------- |
| **Minimum spend not met**           | Spend {short} more from {group} to use {reward}.          | A subtotal condition failed                                                   |
| **Minimum quantity not met**        | Add {short} more item(s) from {group} to use {reward}.    | An item-count condition failed                                                |
| **Minimum unique products not met** | Add {short} more product(s) from {group} to use {reward}. | A distinct-products condition failed                                          |
| **Expired code**                    | This code expired on {expiry}.                            | The code's baked-in expiry has passed                                         |
| **No eligible items**               | Your cart has no items eligible for {reward}.             | The cart has no products the reward applies to                                |
| **Other requirement not met**       | {reward} can't be applied to your cart yet.               | Fallback for conditions without a "needs more" amount (e.g. "at most" limits) |

Variables fill in automatically: `{code}` `{reward}` `{expiry}` `{required}` `{have}` `{short}` `{group}`. The most useful are `{short}` (how much is still needed), `{group}` (the cart group's customer-facing name), and `{reward}` (the reward's title). This is why group names matter: "Add 2 more product(s) from Skincare" reads well; "(unnamed group)" doesn't.

## Tips

* **Name every group.** Group names surface in reward descriptions and rejection messages.
* **Prefer "at least" conditions.** They produce helpful "add {short} more" messages; "at most" and "equals" fall back to the generic message.
* **Keep rules per class in mind.** Cart groups and rules live on each discount card, so a reward granting a product and an order discount can gate each differently.
* **Test the unhappy path.** Claim a reward with a cart that fails the rules and read the checkout message a customer would see.

## Related articles

* [Set up the reward marketplace](/dollarback-store-credit/spending-store-credit-and-rewards/set-up-the-reward-marketplace)
* [Discount combination rules](/dollarback-store-credit/spending-store-credit-and-rewards/discount-combination-rules)
* [A reward discount code isn't working](/dollarback-store-credit/troubleshooting-and-faq/reward-discount-code-isnt-working)
* [Reward discount codes instead of store credit](/dollarback-store-credit/earning-cashback-programs/reward-discount-codes-instead-of-store-credit)


# Discount combination rules

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

*This article's section starts at 1:52 in the video.*

Combination rules decide whether the discount codes DollarBack issues (marketplace redemptions and earned discount-code rewards) can stack with your other Shopify discounts at checkout. This page explains the three combination classes and the one nuance that matters most: the setting is store-wide.

## Where the setting lives

1. Open **DollarBack admin → Home**, select the **Voucher Marketplace** tab and click **Manage rewards**.
2. Scroll to the **Combinations** card below the reward list.
3. Choose which of your other discounts these rewards can stack with at checkout. Three checkboxes map to Shopify's discount combination classes:

| Checkbox               | When checked                                                   | Example                                                                 |
| ---------------------- | -------------------------------------------------------------- | ----------------------------------------------------------------------- |
| **Order discounts**    | A reward code can apply on top of another order-level discount | A customer stacks a $5-off reward with your 10%-off sitewide sale code  |
| **Product discounts**  | A reward code can apply alongside product-level discounts      | A 20%-off-collection reward combines with an automatic product markdown |
| **Shipping discounts** | A reward code can apply together with shipping discounts       | A product-discount reward combines with a free-shipping promotion       |

4. Save. Leave a class unchecked and Shopify blocks that combination at checkout. The customer must choose one discount or the other.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-42d60263e6738d87d2a3c3f03363c8fa3eabff3e%2Fdb-reward-combinations-card-annotated.png?alt=media" alt="Combinations card with Order discounts, Product discounts and Shipping discounts all checked."><figcaption><p>The Combinations card sets which of your other discounts every DollarBack reward code can stack with.</p></figcaption></figure>

## One setting for every reward (no per-reward stacking)

{% hint style="warning" %}
Combination rules are store-wide. All DollarBack codes are issued against one shared Shopify discount, and the combination classes are set on that shared discount, so individual rewards cannot have their own independent stacking rules. You cannot make one reward stackable and another exclusive.
{% endhint %}

Two consequences worth planning around:

* **Changes apply to all outstanding codes immediately.** Every code already sitting in customers' hands picks up the new rules the moment you save; codes claimed under the old rules are not grandfathered.
* **Earned rewards follow the same rules.** The setting applies to every redemption and earned reward, so cashback configs that pay out discount codes inherit whatever you set here.

If your marketplace mixes generous and modest rewards, set the combination rules for the most generous one. That's the reward whose stacking behavior costs you the most.

## Verify it works

1. With a combination class unchecked (say, **Product discounts**), have a test customer apply a reward code and a product discount in the same checkout. Shopify should refuse the combination.
2. Check the class, save, and repeat. Both discounts should now apply together.
3. Re-test with a code that was claimed *before* the change to confirm outstanding codes follow the new rules.

## Common issues

* A reward code is rejected when another discount is in the cart: this is usually an unchecked combination class, not a broken code. See [A reward discount code isn't working](/dollarback-store-credit/troubleshooting-and-faq/reward-discount-code-isnt-working).
* A code stopped stacking after you changed settings: remember the change hit all outstanding codes immediately.
* The code doesn't work at all, with or without other discounts: confirm the shared `RDM-(DO NOT DELETE)` discount still exists in your Shopify admin. See [Set up the reward marketplace](/dollarback-store-credit/spending-store-credit-and-rewards/set-up-the-reward-marketplace).

## Related articles

* [Set up the reward marketplace](/dollarback-store-credit/spending-store-credit-and-rewards/set-up-the-reward-marketplace)
* [Reward discount codes instead of store credit](/dollarback-store-credit/earning-cashback-programs/reward-discount-codes-instead-of-store-credit)
* [How customers spend their credit](/dollarback-store-credit/spending-store-credit-and-rewards/how-customers-spend-their-credit)
* [A reward discount code isn't working](/dollarback-store-credit/troubleshooting-and-faq/reward-discount-code-isnt-working)


# Hide store credit at checkout

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

*This article's section starts at 5:28 in the video.*

By default, store credit is always available as a payment option at checkout. If you'd rather customers only spend credit on larger orders (protecting margin on small baskets), you can hide the option until the cart crosses a threshold. When you're done here, store credit will appear at checkout only when your condition is met.

## How it works

The rule is enforced by a Shopify payment-customization function that DollarBack manages for you. When the cart doesn't meet your condition, the function removes store credit from the list of payment options. The customer's balance is untouched; they can't spend it on that order.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-d2df4a9de3811a5251f2e77f9453c0134b2d2afe%2Fdb-cx-checkout-apply-store-credit.png?alt=media" alt="Checkout payment section with the Apply store credit option ticked and the amount $20.00." width="520"><figcaption><p>This is the option the rule shows or hides: when the cart meets your condition, your customers see Apply store credit at checkout.</p></figcaption></figure>

## Set a visibility condition

1. Open **DollarBack admin → Settings** and find the **Store Credit Visibility** section.
2. Choose one of the two modes:

   | Mode                  | Effect                                                             |
   | --------------------- | ------------------------------------------------------------------ |
   | **Always show**       | Store credit is always available as a payment option (the default) |
   | **Show on condition** | Store credit only appears when the cart meets a specific threshold |
3. If you chose **Show on condition**, build the rule with the three condition fields:

   * **Amount type**: **Cart Total** (includes taxes and shipping) or **Cart Subtotal** (products only).
   * **Operator**: `>`, `<`, `>=`, or `<=`.
   * **Value**: the threshold amount, in your store's base currency. When a customer checks out in another currency, the threshold is converted at the checkout's exchange rate.

   For example, *Cart Total >= 50* shows store credit only on carts of $50 or more.
4. Save.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-d923f9d606de61daa79bef211444203b3aefd3c7%2Fdb-store-credit-visibility-condition-annotated.png?alt=media" alt="Store Credit Visibility card with Show on condition selected and a visibility condition of Cart Total, >=, 50."><figcaption><p>Choose Show on condition, then set the cart amount that must be reached before store credit appears at checkout.</p></figcaption></figure>

{% hint style="warning" %}
**A Value of 0 never hides store credit**, whatever the operator. Enter the real threshold amount.
{% endhint %}

{% hint style="info" %}
The condition controls paying with store credit directly at checkout. It does not affect reward marketplace codes; a customer can still apply a redeemed discount code on any order.
{% endhint %}

## Verify it works

Test both sides of the threshold, using *Cart Total >= 50* as the example:

1. As a test customer with a credit balance, check out a $30 cart. Store credit should be absent from the payment options.
2. Raise the cart to $90 and return to checkout. Store credit should now appear with the available balance.
3. If you were only testing, switch back to **Always show** and save.

## Common issues

* Customers report credit missing at checkout: check whether a visibility condition is quietly filtering it before digging further; see [Store credit isn't available at checkout](/dollarback-store-credit/troubleshooting-and-faq/store-credit-isnt-available-at-checkout).
* The option shows/hides on the wrong carts: confirm whether your rule uses **Cart Total** or **Cart Subtotal**; taxes and shipping make the two diverge.
* The condition doesn't seem to apply at all: check that **Value** isn't 0 (a 0 threshold never hides store credit), then re-save the setting and re-test in a fresh checkout session.

## Related articles

* [How customers spend their credit](/dollarback-store-credit/spending-store-credit-and-rewards/how-customers-spend-their-credit)
* [Store Credit Visibility setting](/dollarback-store-credit/settings/store-credit-visibility)
* [Store credit isn't available at checkout](/dollarback-store-credit/troubleshooting-and-faq/store-credit-isnt-available-at-checkout)
* [Set up the reward marketplace](/dollarback-store-credit/spending-store-credit-and-rewards/set-up-the-reward-marketplace)


# Credit expiry & reminders

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

Expiring credit gives customers a reason to come back, but only if they know the deadline. This page covers where expiry windows are set, how to schedule reminder emails before credit lapses, and what customers see along the way.

## Where expiry windows are set

Expiry is attached to credit when it's issued, so you set it wherever credit is created. Everywhere, you have the same choice: **never**, **a number of days** after the credit is issued, or **a fixed date and time** (read in your store's time zone).

| Credit source         | Where the expiry lives                                                                                                                                                                                                                      |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Cashback programs     | Each program's **Credit expires** setting: Never, After a number of days, or On a date. See [Set up purchase cashback](/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback#credit-expires)                          |
| Referral program      | The referral config's **Referrer reward expires** setting, with the same three options                                                                                                                                                      |
| Bulk CSV imports      | The import's **Credit expires** setting, or an `ExpiryDays` or `ExpiresAt` column per row (credits only; debits have no expiry). See [Bulk import credit (CSV)](/dollarback-store-credit/analytics-data-and-account/bulk-import-credit-csv) |
| Shopify Flow deposits | The **Deposit Store Credit v2** action's **Expires After** (days) or **Expires At** (a date) field                                                                                                                                          |
| Merchant API          | `expiryInDays` or `expiresAt` on the credit endpoint                                                                                                                                                                                        |

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-0a748b23b194bb058681ec95e34e1d7a7e3f9cc6%2Fdb-purchase-reward-expiry-annotated.png?alt=media" alt="Reward section of a purchase program with Credit expires set to On a date, a date field set to Nov 28, 2026 and a time field set to 23:59 EST." width="560"><figcaption><p>In a cashback program, <strong>Credit expires</strong> sits next to the reward value. Here it is set to a fixed date and time.</p></figcaption></figure>

**Days or a date?** A number of days gives every customer the same window, counted from when their credit lands. A fixed date makes every credit expire at the same moment, which suits a campaign with a hard deadline ("Black Friday credit expires Feb 28"). A fixed date must be at least an hour in the future when you set it.

Because expiry is stamped per credit entry, changing a config's expiry later only affects credit issued from then on; existing balances keep the expiry they were issued with. A 90-day window is a common starting point: long enough to feel fair, short enough to drive a return visit.

## Set reminder thresholds

Reminders are configured once, in **DollarBack admin → Notifications**, under **Expiry Notification Schedule**:

1. Add the intervals at which you want customers warned, each measured in days before expiry. You can schedule up to 5 notifications, each between 1 and 365 days before expiry; the defaults are 7, 3, and 1 days.
2. A two-touch schedule like 14 days and 3 days works well: an early heads-up with time to shop, and a last call that creates urgency.
3. Save.

Each threshold sends the reminder email to every customer whose credit reaches that many days from expiring. Reminders are per credit: each credit gets its own reminders, and a credit that has already been spent in full gets none. The same schedule drives the Klaviyo, Omnisend and Shopify Flow events below, so set it even if you send your emails from Klaviyo.

{% hint style="warning" %}
**Set the schedule before the credit is issued.** DollarBack books a credit's reminders at the moment the credit is issued, using the schedule saved at that time. Changing the schedule later only affects credit issued from then on; credit already in customers' balances keeps the reminders it was booked with. A threshold that is already in the past when the credit is issued (for example a 7-day reminder on credit that expires in 5 days) is skipped for that credit.
{% endhint %}

{% hint style="info" %}
If the Notifications page says transactional emails are turned off for your store, contact support to switch them on. The schedule can't be saved until they are.
{% endhint %}

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-a5d7af9560275ce1ef78ada70c043396bfc0aba6%2Fdb-notifications-emails-disabled.png?alt=media" alt="Yellow banner titled Customer emails are disabled, saying transactional emails are off for the store and support can turn them on."><figcaption><p>If you see this banner, contact support to turn on customer emails. The reminder schedule appears after that.</p></figcaption></figure>

## The expiry reminder email

The **Store Credit Expiry Reminder** template is sent when store credit is about to expire. Its default subject is:

> {formattedAmount} in store credit expires {expiresAt}

The template supports the `{expiresAt}`, `{formattedExpiresAt}` and `{remainingDays}` variables alongside the universal ones (`{firstName}`, `{formattedAmount}`, and so on), so the email can say exactly how much credit expires and when. You can restyle it, change the subject, or disable it entirely; see [Customize email templates](/dollarback-store-credit/notifications/customize-email-templates).

## Trigger your own automations

When a reminder threshold is reached, DollarBack also sends an event to your connected integrations: `store_credit_expiring` in Klaviyo and Omnisend (also sent under its old name, **Store Credit Expiry Threshold**), and the **Store Credit Expiring** trigger in Shopify Flow. It carries `amount` (the part of that credit still unspent), `formattedAmount`, `expiresAt`, `formattedExpiresAt`, and `remainingDays`. Use it to run your own win-back flow, send an SMS, or tag the customer. Reward discount codes get the same treatment through `discount_code_expiring` (old name **Discount Code Expiry Threshold**) and the **Discount Code Expiring** Flow trigger.

There is no separate event when credit actually lapses. For a last-chance message, add a 1-day threshold and act on that. See [Klaviyo integration](/dollarback-store-credit/integrations/klaviyo-integration) and [Shopify Flow: triggers & actions](/dollarback-store-credit/integrations/shopify-flow-triggers-and-actions).

## What customers see

* The floating widget and account balance history show the credit with its expiry note.
* The thank-you page mentions the expiry alongside the credit just earned.
* The reminder emails arrive at each threshold you configured.
* When credit expires, it disappears from the spendable balance; there's no grace period.

## Verify it works

1. In **DollarBack admin → Notifications**, make sure the **Expiry Notification Schedule** has a threshold shorter than your test window (say, 3 days), and save.
2. Then credit a test customer with a short window, for example a bulk import row with 5-day expiry.
3. Sign in as that customer and confirm the widget shows the credit with its expiry note.
4. Confirm the reminder email arrives on schedule (with a 5-day window and a 3-day threshold, about 2 days after the credit is issued).

The order matters: reminders are booked when the credit is issued, so a threshold you add after issuing the test credit never fires for it.

## Common issues

* Reminder emails aren't arriving: confirm the template is enabled, and that the credit was issued after you saved the schedule (a schedule change doesn't apply to credit issued before it). Also see [Emails aren't arriving](/dollarback-store-credit/troubleshooting-and-faq/emails-arent-arriving).
* Credit never expires: the issuing config's **Credit expires** is probably set to **Never**; expiry only applies to credit issued after you set it.
* An order earned no credit near a fixed expiry date: if the credit would be issued after the date (because of a holding period, or because the order came in after the date), the customer gets none. See [Credit expires](/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback#on-a-date).
* A customer says credit vanished: check the credit log for an expiry entry; see [Credit logs & scheduled rewards](/dollarback-store-credit/analytics-data-and-account/credit-logs-and-scheduled-rewards).

## Related articles

* [When credit is issued](/dollarback-store-credit/earning-cashback-programs/when-credit-is-issued)
* [Customize email templates](/dollarback-store-credit/notifications/customize-email-templates)
* [Monthly store credit balance reminders](/dollarback-store-credit/notifications/monthly-store-credit-balance-reminders), for credit that never expires
* [Shopify Flow: triggers & actions](/dollarback-store-credit/integrations/shopify-flow-triggers-and-actions)
* [Bulk import credit (CSV)](/dollarback-store-credit/analytics-data-and-account/bulk-import-credit-csv)


# Refunds, cancellations & order edits

{% hint style="info" %}
**Plan:** order edit tracking needs a plan that includes **Auto-adjust on refunds and edits** (see **Billing** in DollarBack admin). On other plans the setting is shown locked (*"Upgrade your plan to use this feature"*).
{% endhint %}

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

Orders change after they're placed: items are added, refunds are issued, whole orders are cancelled. This page explains how DollarBack keeps earned cashback in sync when that happens, and what does (and doesn't) happen to credit a customer already spent.

## Turn on order edit tracking

Reconciliation is off by default. Refunds, cancellations and order edits adjust issued cashback only when both of these are true:

* Your plan includes **Auto-adjust on refunds and edits**.
* **Enable order edit tracking** is turned on in Settings.

To turn it on:

1. Open **DollarBack admin → Settings** and find the **Advanced** section.
2. Turn on **Enable order edit tracking**; it recalculates cashback automatically when orders are edited, refunded, or cancelled.
3. Save.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-61fbd45d9ca697b2d773c6dc19d40a5df90aa492%2Fdb-settings-order-edit-tracking-annotated.png?alt=media" alt="Advanced settings card with Enable order edit tracking checked, Give store credit to B2B buyers on company locations unchecked, and an Exclude customers by tag field."><figcaption><p>Enable order edit tracking is in the Advanced card in Settings.</p></figcaption></figure>

With the setting off, or on a plan without **Auto-adjust on refunds and edits**, cashback stays whatever it was when the order first triggered; refunds and edits won't touch it. Credit still in a holding period is the exception; see [Orders still in the holding period](#orders-still-in-the-holding-period).

## How reconciliation works: the diff

When a tracked order changes, DollarBack recalculates what the cashback *should now be* and compares it to what was already awarded. Only the difference moves:

| The order...                           | Diff            | What happens                                            |
| -------------------------------------- | --------------- | ------------------------------------------------------- |
| Grows (item added, upsell edit)        | Positive        | The extra cashback is issued as new pending credit      |
| Shrinks (partial refund, item removed) | Negative        | The difference is clawed back (see order below)         |
| Is cancelled / fully refunded          | Negative (full) | The order's entire cashback is clawed back the same way |

Clawbacks don't email the customer. The **Store Credit Debited** email is only for debits you start yourself (API, CSV import, Flow).

For a negative diff, the clawback runs in a fixed order:

1. **Pending credit for that configuration is offset first.** If an earlier edit left extra cashback waiting for the order to settle, that pending amount is reduced before anything else.
2. **Then the live balance is debited** for whatever remains, which can take a balance to zero if the customer already had less than the clawback.
3. **Any shortfall becomes owed credit.** A balance can't go below zero, so if the customer had already spent the credit, the rest is recorded as an amount they owe and is automatically deducted from their future cashback until it's paid down. You can see, adjust, or clear this on the **Store credit owed** card on their customer page in Shopify admin; see [Admin blocks on the customer & order pages](/dollarback-store-credit/analytics-data-and-account/admin-blocks-customer-and-order-pages).

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-876961002de617cd72fa11f07f02f06e46a63762%2Fdb-customer-store-credit-owed-annotated.png?alt=media" alt="The Store credit owed admin block on a Shopify customer page with the text &#x22;This customer owes nothing.&#x22;, a currency picker set to USD, a Set amount owed field and a Save button." width="560"><figcaption><p>A shortfall shows on the <strong>Store credit owed</strong> card on the customer's page in Shopify admin. You can change or clear it there.</p></figcaption></figure>

When an order is cancelled, any reward discount codes it earned (from a cashback program that rewards codes instead of credit) are also deleted, so they stop working at checkout. Each one is recorded in the credit log. A partial refund doesn't remove a code.

Every movement lands in the credit log, so you can trace exactly what was issued and clawed back per order; see [Credit logs & scheduled rewards](/dollarback-store-credit/analytics-data-and-account/credit-logs-and-scheduled-rewards).

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-9b349c33c3b891323b5b68c4504717e08424faa6%2Fdb-p2-es-activity-scheduled-annotated.png?alt=media" alt="Analytics, Activity page with the tabs Credits earned, Credit spent, Scheduled, Discount codes, Referrals and Clawbacks. Scheduled and Clawbacks are marked."><figcaption><p>In <strong>Analytics → Activity</strong>, clawbacks have their own tab. Credit still in a holding period is on the <strong>Scheduled</strong> tab.</p></figcaption></figure>

## Orders still in the holding period

If you set a [holding period](/dollarback-store-credit/settings/trigger-and-timing), a refund, edit, or cancellation during the hold doesn't create a clawback. Nothing has reached the customer's balance yet, so there's nothing to take back. Instead, when the hold ends, DollarBack recalculates the reward against the order as it is then: its current items and totals, with the programs and settings saved on the order when it was placed.

* A partial refund or a removed item during the hold reduces the credit that's released.
* A cancelled order releases nothing. Its row on the **Scheduled** view shows **Denied**.
* This happens whether or not **Enable order edit tracking** is on, and whatever your plan.

{% hint style="warning" %}
**Once the hold ends, the released credit is final.** For an order that had a holding period, a refund, cancellation or edit after the credit is released doesn't claw it back, even with **Enable order edit tracking** on. The holding period exists to cover your refund and return window, so set it at least as long as that window. See [Trigger and timing](/dollarback-store-credit/settings/trigger-and-timing).
{% endhint %}

## Two rules that never bend

* **Credited entries are an immutable audit trail.** DollarBack never rewrites a past credit entry; corrections always appear as new debit or credit entries. Your log is a complete history, not a running total that gets edited in place.
* **Tier multipliers are snapshotted per order.** The multiplier in effect when the order earned cashback is stored with it and reused for any later recalculation. Changing your tier setup later never retroactively changes past orders' cashback, in either direction.

## If you downgrade to a plan without order editing

Moving to a plan without **Auto-adjust on refunds and edits** switches reconciliation off the moment the new plan takes effect. There is no grace period and no notice period.

* **The setting locks, but its value is kept.** **Enable order edit tracking** greys out with a lock icon. If you upgrade again later, it comes back exactly as you left it.
* **Edits, refunds, and cancellations stop adjusting cashback.** From the switch onwards, an order's cashback stays whatever it was when the order first triggered, the same as a store that never turned the feature on. If a refunded customer keeps their credit, that's why. You can still debit balances manually from the customer page.
* **Nothing that already happened is reversed.** Credit issued, clawbacks taken, and owed amounts recorded while your plan included it all stay on the ledger.
* **Credit still in a holding period is still checked when it's released.** When the hold ends, DollarBack recalculates it against the order as it is then, with or without order edit tracking, so a refund during the hold still reduces it (see [Orders still in the holding period](#orders-still-in-the-holding-period)).
* **Upgrading again isn't retroactive.** Reconciliation resumes for edits made after the upgrade. An order edited or refunded while your plan didn't include it is only reconciled if it is edited again afterwards; that later edit recalculates against the order's full current state, so it catches up any earlier changes on that order.

If you rely on refund clawbacks, and most stores with a returns window do, keep a plan that includes **Auto-adjust on refunds and edits**; see [Plans, usage & overage billing](/dollarback-store-credit/analytics-data-and-account/plans-usage-and-overage-billing).

## What happens to credit the customer spent

{% hint style="warning" %}
Redeemed reward codes are **not** automatically refunded. If a customer spent credit to claim a marketplace reward and the order they used the code on is cancelled, the credit cost stays deducted.
{% endhint %}

You can return that credit yourself:

* **The code is still unused:** open the customer's page in Shopify admin and use the **Reward redemptions** block. It lists the customer's unused marketplace redemptions. Click **Refund** on one, choose when the returned credit expires in **Credit expires in** (0 means it never expires), and confirm. The customer gets back the credit they spent. See [Admin blocks on the customer & order pages](/dollarback-store-credit/analytics-data-and-account/admin-blocks-customer-and-order-pages).
* **The code was already used:** used codes aren't listed in the block. Add the credit back manually instead, for example with a [bulk CSV import](/dollarback-store-credit/analytics-data-and-account/bulk-import-credit-csv).

{% hint style="warning" %}
**A refund from the Reward redemptions block can't be undone.** The code is permanently deleted, so the customer can't use it any more.
{% endhint %}

Store credit applied directly as payment at checkout follows Shopify's standard refund flow, like any other payment method on the order.

## Verify it works

1. With order edit tracking on, place a test order that earns cashback and confirm the credit in the log.
2. Refund part of the order. The log should show a clawback debit for the difference. With a holding period set, there's no clawback row; check instead that the credit released when the hold ends is the smaller amount.
3. Edit another test order to add an item. The log should show an incremental pending credit for the increase.

## Common issues

* Cashback didn't adjust after a refund: order edit tracking was probably off when the refund happened, or the store's plan didn't include **Auto-adjust on refunds and edits**; see [A customer didn't receive cashback](/dollarback-store-credit/troubleshooting-and-faq/customer-didnt-receive-cashback) for the wider decision tree.
* An order was refunded after its holding period ended and the credit stayed: expected. Credit released after a hold is final; see [Orders still in the holding period](#orders-still-in-the-holding-period).
* A clawback looks smaller than expected: check whether part of it was absorbed by pending credit before the balance was touched.
* A customer wants credit back for an unused reward code: refund it from the **Reward redemptions** block on their customer page (see above).

## Related articles

* [When credit is issued](/dollarback-store-credit/earning-cashback-programs/when-credit-is-issued)
* [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated)
* [Set up the reward marketplace](/dollarback-store-credit/spending-store-credit-and-rewards/set-up-the-reward-marketplace)
* [Credit logs & scheduled rewards](/dollarback-store-credit/analytics-data-and-account/credit-logs-and-scheduled-rewards)


# Referral Program

Referrer rewards, referee discounts, attribution, and sharing.

* [Set up your referral program](/dollarback-store-credit/referral-program/set-up-your-referral-program)
* [Referrer rewards vs referee discounts](/dollarback-store-credit/referral-program/referrer-rewards-vs-referee-discounts)
* [How referral rewards are calculated & tracked](/dollarback-store-credit/referral-program/how-referral-rewards-are-calculated-and-tracked)
* [Referral conditions & limits](/dollarback-store-credit/referral-program/referral-conditions-and-limits)
* [Run multiple referral configs](/dollarback-store-credit/referral-program/run-multiple-referral-configs)
* [How customers share referral links](/dollarback-store-credit/referral-program/how-customers-share-referral-links)
* [Referral codes & bulk sync](/dollarback-store-credit/referral-program/referral-codes-and-bulk-sync)
* [Ultimate Discounts integration](/dollarback-store-credit/referral-program/ultimate-discounts-integration)


# Set up your referral program

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

*This article's section starts at 0:00 in the video.*

By the end of this guide you'll have a live referral program: existing customers get a shareable code, their friends get a discount at checkout, and the referrer earns store credit when the friend's order comes through.

## Prerequisites

* DollarBack is installed and your storefront widgets are active. Customers see their referral code inside the floating widget, their account pages, and the loyalty page, so at least one of those surfaces should be live. See [How customers share referral links](/dollarback-store-credit/referral-program/how-customers-share-referral-links).
* You don't need any cashback program running; referrals work on their own.

## Step 1. Create your first config

1. Go to **DollarBack admin → Referral Program**.
2. Click **Add Config**. A new configuration card appears (labeled **Config 1**).
3. Give it an **Internal Title**, e.g. "Give $10, get 10%". This name is only visible to you in the admin.
4. Set a **Code Prefix** of up to 5 characters (e.g. `REF`). Every customer's referral code starts with this prefix, followed by random letters and digits, 15 characters in all (e.g. `REFA7K2Q9XM4TB1`).

{% hint style="warning" %}
The **Code Prefix** cannot be changed once the config is saved, because codes are generated from it in bulk. Pick it deliberately.
{% endhint %}

5. Leave **Customer Tags** empty for your first config. Tags are how you target a config at a specific group of referrers (say, VIPs). A config with no tags is the fallback: it applies to every customer that no tagged config matches. See [Run multiple referral configs](/dollarback-store-credit/referral-program/run-multiple-referral-configs).
6. Set **Who can see the referral program**. See [Who can see the referral program](#who-can-see-the-referral-program) below.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-363437a99ae854c2b579b0113257126ca4996a85%2Fdb-referral-config-editor-top-annotated.png?alt=media" alt="Expanded referral config VIP with Internal Title, Who can see the referral program set to Logged-in customers, a greyed-out Code Prefix VIP, and Customer Tags with 1 selected."><figcaption><p>Open a config to set its name, who sees it, the code prefix and the customer tags.</p></figcaption></figure>

### Who can see the referral program

This decides who sees the referral program in the floating widget and on the loyalty page:

| Option                            | Shown to                                                                                                              |
| --------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| **Everyone**                      | All shoppers. Guests see the program with a prompt to sign in, because a referral link belongs to a customer account. |
| **Logged-in customers** (default) | Only shoppers signed in to a customer account                                                                         |

A customer who already has a referral code from this config always sees their own program, whatever this setting says.

{% hint style="info" %}
Visibility controls **what shoppers see** in the widgets. It doesn't change who can use a referral code: a friend's code works at checkout whatever this setting says.
{% endhint %}

## Step 2. Set the referrer reward

Under **Referrer Reward**, choose what the person doing the referring earns:

| Field              | Options                            | Example             |
| ------------------ | ---------------------------------- | ------------------- |
| **Cashback Type**  | Percentage of Order · Fixed Amount | Percentage of Order |
| **Cashback Value** | Number                             | 10 (%)              |

The referrer is always paid in **store credit**: Shopify-native credit they can spend at checkout. For a "Give $10, get 10%" program, this side is the "get 10%".

## Step 3. Set the referee discount

Under **Referee Discount**, choose what the referred friend gets when they use the code:

| Field                   | Options                            | Example      |
| ----------------------- | ---------------------------------- | ------------ |
| **Discount Type**       | Percentage of Order · Fixed Amount | Fixed Amount |
| **Discount Value**      | Number                             | 10 ($)       |
| **Minimum Order Value** | Number                             | 30 ($)       |

The referee's reward is a **discount code** applied at checkout, the same code the referrer shares. The **Minimum Order Value** is the smallest order the code will work on.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-589da712cefe7057849dd2f1c58cda6e48fc3936%2Fdb-referral-reward-and-discount-annotated.png?alt=media" alt="Referrer Reward with Cashback Type Fixed Amount and Cashback Value $10, and Referee Discount with Discount Type Fixed Amount, Discount Value $10 and Minimum Order Value $35."><figcaption><p>The referrer earns store credit. The friend gets a discount at checkout when the order reaches the minimum.</p></figcaption></figure>

## Step 4. Set conditions and limits

Under **Usage Limits**:

* **Allow discounts for new customers only**: on for a classic refer-a-friend program; existing customers can't use a referral code on their own account.
* **Maximum discount code uses per referee**: how many times one referred customer can use the discount. Set to 1 for first-order-only. Only orders that earned the referrer a reward count as uses.
* **Referrer reward expires**: **Never**, **After a number of days** (counted from when the reward is issued), or **On a date** (one date and time, in your store's time zone, for every reward this config issues).

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-86678fa000ba7fbc846c50028049a5747a4ca045%2Fdb-referral-usage-limits-annotated.png?alt=media" alt="Usage Limits section with the Allow discounts for new customers only switch off, a uses field set to 1 and Referrer reward expires set to Never."><figcaption><p>Usage limits decide who can use the code, how often, and how long the referrer's credit lasts.</p></figcaption></figure>

Each condition is covered in depth, with pass/fail examples, in [Referral conditions & limits](/dollarback-store-credit/referral-program/referral-conditions-and-limits).

## Step 5. Check the combination rules

The **Combination Rules** section controls which other discounts the referral discount can stack with at checkout: **Product Discounts**, **Shipping Discounts**, **Order Discounts**. These toggles apply to **all** referral configs, not just this one.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-0af04621d6c2781fd31a9dc99a310a70d9eb6112%2Fdb-referral-combination-rules-annotated.png?alt=media" alt="Combination Rules card with Product Discounts, Shipping Discounts and Order Discounts switched on."><figcaption><p>Combination Rules apply to every referral config at once.</p></figcaption></figure>

## Step 6. Switch the config on

A new config starts **Disabled** (the badge next to its title). Click the switch at the top right of the config card so the badge reads **Enabled**.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-4bca50e0344f4d91e474daefc18f8a00a4de7b6a%2Fdb-p2-rt-referral-new-config-annotated.png?alt=media" alt="New referral config Config 3 with a yellow Disabled badge, its switch off, an empty Code Prefix field and the note Code prefix cannot be changed once the config is saved." width="560"><figcaption><p>A new config shows a Disabled badge until you turn on its switch. The Code Prefix takes up to 5 characters and locks when you save.</p></figcaption></figure>

{% hint style="warning" %}
A disabled config issues no codes, its codes don't work at checkout, and it pays no referrer rewards. Turn the switch on before you save.
{% endhint %}

## Step 7. Save and let code generation run

Save the config. You'll see **Referral settings saved successfully** and then **Code generation queued successfully!**. DollarBack now generates a referral code for every eligible customer and attaches the whole batch to a shared Shopify discount. While this runs you'll see a **Bulk Operation in Progress** banner ("Referral codes are being generated. Please wait until the operation completes before making changes.") and the editor is locked.

This is expected: the codes are written to Shopify in bulk, and editing the config mid-generation would leave half the codes on old rules. On large customer bases it can take several minutes. You'll see a "Bulk operation completed successfully" toast when it's done. Details in [Referral codes & bulk sync](/dollarback-store-credit/referral-program/referral-codes-and-bulk-sync).

## What customers see

Once the codes are generated, a signed-in customer finds their code in the floating widget, and a friend who uses it gets the referee discount at checkout.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-63a87d8a99ad36410c74be95775d9e7bf5fbe411%2Fdb-cx-widget-referral.png?alt=media" alt="Floating widget Referral tab with the text Refer a friend and earn cashback when they make a purchase, You get $5.00 and They get $5.00, the customer&#x27;s referral code with a copy button, and Share this code with friends to earn rewards." width="380"><figcaption><p>Your customers see both sides of the offer and their own code, with a copy button, in the widget's Referral tab.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-101a6b293c39c0b029c1eefe12dca8275fa37907%2Fdb-cx-checkout-referee-discount.png?alt=media" alt="Checkout order summary with the referral code ALLJRCC1MPAKQBH applied, an Order discount line of −$5.00 on a $62.00 subtotal, and a total of $65.00." width="470"><figcaption><p>When a friend opens a referral link, the code is already applied at checkout and the referee discount shows as an order discount.</p></figcaption></figure>

## Verify it works

1. On your storefront, sign in as a test customer and open the floating widget or account page. A referral code with your prefix should be visible.
2. In an incognito window, add $30+ of product to the cart (to clear the minimum order value) and apply the code at checkout as a brand-new customer. The referee discount should apply.
3. Complete the order. When it reaches your **Give cashback when** trigger (**Settings → Trigger & Timing**), the referrer's store credit lands and the order appears in **DollarBack admin → Analytics → Activity → Referrals**.

## Common issues

* The code doesn't apply at checkout → check that the config is **Enabled**, then the minimum order value and the new-customers-only toggle; see [A referral wasn't tracked](/dollarback-store-credit/troubleshooting-and-faq/referral-wasnt-tracked).
* The referrer got no credit even though the discount applied → the order may not have reached your trigger yet, or it was paid with store credit or gift cards (see **Special Order Types** in Settings); see [How referral rewards are calculated & tracked](/dollarback-store-credit/referral-program/how-referral-rewards-are-calculated-and-tracked).
* No referral code shows on the storefront → generation may still be running, or the widget isn't active; see [A widget isn't showing on my store](/dollarback-store-credit/troubleshooting-and-faq/widget-isnt-showing).

## Related articles

* [Referrer rewards vs referee discounts](/dollarback-store-credit/referral-program/referrer-rewards-vs-referee-discounts)
* [Referral conditions & limits](/dollarback-store-credit/referral-program/referral-conditions-and-limits)
* [How customers share referral links](/dollarback-store-credit/referral-program/how-customers-share-referral-links)
* [How referral rewards are calculated & tracked](/dollarback-store-credit/referral-program/how-referral-rewards-are-calculated-and-tracked)


# Referrer rewards vs referee discounts

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

*This article's section starts at 0:28 in the video.*

Every referral config has two sides that are easy to mix up: what the **referrer** (the customer sharing the code) earns, and what the **referee** (the friend using it) gets. This page explains who receives what, in what form, and when.

## The two sides at a glance

|                          | Referrer reward                                                                  | Referee discount                        |
| ------------------------ | -------------------------------------------------------------------------------- | --------------------------------------- |
| Who gets it              | The customer whose code was used                                                 | The new customer placing the order      |
| What it is               | **Store credit** (Shopify-native, spendable at checkout)                         | A **discount code** applied at checkout |
| Value types              | Percentage of Order · Fixed Amount                                               | Percentage of Order · Fixed Amount      |
| When it's applied/issued | When the referee's order reaches your **Give cashback when** trigger (see below) | Immediately, at the referee's checkout  |
| Currency                 | Converted to the referrer's own currency                                         | The referee's checkout currency         |
| Expiry                   | Set by the config's **Referrer reward expires** setting (never, days, or a date) | Follows the shared referral discount    |
| Where it shows           | Widget balance, account balance, "referral reward credited" email                | The checkout discount line              |

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-589da712cefe7057849dd2f1c58cda6e48fc3936%2Fdb-referral-reward-and-discount-annotated.png?alt=media" alt="Referrer Reward and Referee Discount sections of a referral config."><figcaption><p>Both sides are set in the same referral config: store credit for the referrer, a discount for the friend.</p></figcaption></figure>

## The referrer side: store credit

Under **Referrer Reward** you set a **Cashback Type** (**Percentage of Order** or **Fixed Amount**) and a **Cashback Value**.

* **Percentage of Order** pays a share of the referee's eligible order amount. Say the referee places a $60 order and the reward is 10%: the referrer earns $6 in store credit. What counts as "eligible" follows your global cashback base settings (total vs subtotal, shipping, credit/gift-card deductions); see [How referral rewards are calculated & tracked](/dollarback-store-credit/referral-program/how-referral-rewards-are-calculated-and-tracked).
* **Fixed Amount** pays the same flat credit per successful referral regardless of order size, e.g. $10 per friend.

The reward is store credit, not a coupon: it lands on the customer's Shopify store-credit balance and appears as a payment option at their next checkout, alongside any cashback they've earned.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-1bd403bc87f5f4307f5fa7b9dec41da562bc3ccc%2Fdb-cx-email-referral-reward.png?alt=media" alt="Email with the subject Your referral paid off: $5.00 in credit at Dollarback Skincare Co. The body says Jordan just made their first purchase, shows a $5.00 referral reward added to store credit with the balance now $22.33, and has a Spend my reward button." width="560"><figcaption><p>When the reward lands, the referrer gets the Referral Reward Credited email with the amount and their new balance.</p></figcaption></figure>

**When it's issued:** the reward follows the same trigger as your cashback: **Give cashback when** in **Settings → Trigger & Timing** (**Order Created**, **Order Fulfilled** or **Order Paid**). When the referee's order reaches that event, the credit lands on the referrer's balance. The holding period doesn't apply to referral rewards. See [Trigger & Timing](/dollarback-store-credit/settings/trigger-and-timing).

Refunds, cancellations and order edits on the referee's order adjust the reward only when your plan includes **Auto-adjust on refunds and edits** and **Enable order edit tracking** is on in **Settings → Advanced** (off by default). See [How referral rewards are calculated & tracked](/dollarback-store-credit/referral-program/how-referral-rewards-are-calculated-and-tracked#refunds-cancellations-and-order-edits).

## The referee side: a discount code

Under **Referee Discount** you set a **Discount Type** (**Percentage of Order** or **Fixed Amount**), a **Discount Value**, and a **Minimum Order Value**.

The referee doesn't receive credit or wait for anything: the referral code itself *is* their discount. They paste the referrer's code into the discount field at checkout and the discount applies on the spot, provided the order clears the minimum order value and any other conditions ([Referral conditions & limits](/dollarback-store-credit/referral-program/referral-conditions-and-limits)).

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-101a6b293c39c0b029c1eefe12dca8275fa37907%2Fdb-cx-checkout-referee-discount.png?alt=media" alt="Checkout order summary with the referral code ALLJRCC1MPAKQBH applied, an Order discount line of −$5.00 on a $62.00 subtotal, and a total of $65.00." width="470"><figcaption><p>The friend sees the referee discount as an order discount line at checkout, under the referral code.</p></figcaption></figure>

Because the discount is a code on the order, it's also what makes attribution work: DollarBack knows who referred whom because the code was used. No code on the order, no referral.

**Customers can't refer themselves.** When Shopify knows who the customer is at checkout, a customer who enters their own referral code gets no discount, so the order earns no referral reward.

{% hint style="info" %}
If you run the Dollarlabs Ultimate Discounts app, you can hand the referee side over to one of its discounts instead of the built-in percentage/fixed options. See [Referral + Ultimate Discounts integration](/dollarback-store-credit/referral-program/ultimate-discounts-integration).
{% endhint %}

## Choosing values that work together

A common pattern is asymmetric: a fixed, easy-to-say discount for the friend ("give $10") and a percentage reward for the referrer ("get 10%"), so the referrer's upside grows with bigger referred orders. Whatever you choose, remember the referrer reward is also capped by your global **Maximum cashback per order** setting.

## Verify it works

Place a test referee order with a referral code, then check both sides: the discount line on the referee's checkout, and, once the order reaches your trigger, the referrer's credit in **DollarBack admin → Analytics → Activity → Referrals** and in their widget balance.

## Common issues

* Discount applied but no referrer credit → the order may not have reached your **Give cashback when** trigger yet, or it was paid with store credit or gift cards; see [How referral rewards are calculated & tracked](/dollarback-store-credit/referral-program/how-referral-rewards-are-calculated-and-tracked).
* The code was rejected at checkout → conditions; see [A referral wasn't tracked](/dollarback-store-credit/troubleshooting-and-faq/referral-wasnt-tracked).
* The referrer expected a coupon, got credit → expected behavior; the referrer side is always store credit.

## Related articles

* [Set up your referral program](/dollarback-store-credit/referral-program/set-up-your-referral-program)
* [How referral rewards are calculated & tracked](/dollarback-store-credit/referral-program/how-referral-rewards-are-calculated-and-tracked)
* [Referral conditions & limits](/dollarback-store-credit/referral-program/referral-conditions-and-limits)
* [Referral + Ultimate Discounts integration](/dollarback-store-credit/referral-program/ultimate-discounts-integration)


# How referral rewards are calculated & tracked

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

*This article's section starts at 1:57 in the video.*

This is the reference for the referral engine: how DollarBack decides an order was referred, how much the referrer earns, in which currency, and what happens on refunds and edits. If a referral reward looks wrong, the answer is almost always on this page.

## Attribution: the code must be on the order

A referral counts only when the referee's order used the referrer's discount code. The share link (`/discount/CODE`) applies the code to the friend's cart for them, but attribution still reads the code on the order: if the code isn't on the order, no referral is recorded.

* Each customer's referral code is stored on their customer profile in the `db-referral.code` metafield.
* Legacy programs used the customer's numeric ID as the code; those all-digit codes still attribute correctly.
* When an order comes in with a referral code, DollarBack looks up which customer owns that code; that customer is the referrer.

**One reward per referee order.** Processing is idempotent on the referee's order ID, so replays, webhook retries, or reprocessing can never double-pay a referral.

## Which config applies: referrer tags first, then the fallback

If you run more than one config, DollarBack picks the referrer's config when it issues the reward, from the referrer's tags at that moment. Only configs that are switched on take part.

1. **Tagged configs first.** DollarBack takes the first config, from the top of the Referral page, whose **Customer Tags** include one of the referrer's tags. The order matters only when a referrer carries tags from more than one config.
2. **The config without tags is the fallback.** It applies only when no tagged config matches, wherever it sits in the list.

The chosen config sets the reward type and value, and the reward's expiry. The friend's discount is a separate choice: it comes from the config whose **Code Prefix** the code starts with. See [Run multiple referral configs](/dollarback-store-credit/referral-program/run-multiple-referral-configs).

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-4682ac1cd4f276b076285245ad7352839d256de7%2Fdb-referral-configs-priority-annotated.png?alt=media" alt="Referral page with a VIP config above an All customers config."><figcaption><p>Tagged configs are checked from the top. The config without tags is the fallback.</p></figcaption></figure>

## The reward base: what a percentage is a percentage *of*

The referral reward base mirrors your global cashback settings ([Settings](/dollarback-store-credit/settings)):

1. Start from the **Order Total** or **Order Subtotal**, per your **Base cashback on** setting, adding or removing **shipping** per **Include shipping costs in cashback calculation**.
2. Apply your **Special Order Types** settings. **When a customer pays with store credit** and **When a customer pays with gift cards** each have three options (see the table below).
3. Apply the config's reward: percentage of the remaining base, or the fixed amount.
4. Round up to the nearest whole number if **Round up cashback to the nearest whole number** is on.
5. Cap the result at your **Maximum cashback per order** ceiling (from global settings, converted into the order's currency). Fixed rewards are clamped by the same ceiling.

| Option                                                                                      | What happens to the referral reward                                                                                                      |
| ------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| **No cashback**                                                                             | If the referee used store credit (or a gift card, for the gift-card setting) at all, the reward is **skipped**.                          |
| **Cashback on full order amount**                                                           | Nothing is deducted.                                                                                                                     |
| **Cashback on amount paid with real money only** / **Cashback on non-gift card items only** | The store-credit or gift-card portion is deducted from the base. If those portions cover the **whole** order, the reward is **skipped**. |

See [Special Order Types](/dollarback-store-credit/settings/special-order-types).

### Worked example

Referee's order: $80 subtotal + $10 shipping. They pay $20 with a gift card. Settings: **Order Subtotal**, shipping excluded, gift cards set to **Cashback on non-gift card items only**. Referrer reward: 10%.

* Base: $80 (subtotal, no shipping)
* Minus gift-card portion: $80 − $20 = $60
* Reward: 10% × $60 = **$6.00** store credit, unless your max-cashback ceiling is lower.

## Currency: the referrer earns in their own currency

The reward is converted into the **referrer's** currency using current exchange rates. A referrer whose account is in USD earns USD credit even if the referee paid in EUR. Cross-market referrals work automatically, and two referrers can earn different-looking amounts from identical orders.

## Refunds, cancellations, and order edits

These adjustments run only when both are true:

* Your plan includes **Auto-adjust on refunds and edits**.
* **Enable order edit tracking** is on in **Settings → Advanced**. It is **off by default**. See [how to turn it on](/dollarback-store-credit/spending-store-credit-and-rewards/refunds-cancellations-and-order-edits#turn-on-order-edit-tracking).

If either is off, the referrer keeps the reward as issued.

When they're on and the referee's order changes, the reward is **recomputed as a diff** against what was already granted:

* **Negative diff** (refund, cancellation, downsized edit): the difference is **clawed back**: the referrer's balance is debited.
* **Positive diff** (order edited upward): the difference is parked as **pending credit**.
* **Pending referral credit is released on payment**: when a payment on the order settles in full.
* The full referral history is stored on the order, so the audit trail in the logs always reconciles.

{% hint style="warning" %}
Clawbacks debit the referrer's live balance. If they've already spent the credit, their balance can go into deficit until they earn more.
{% endhint %}

## Where to see it all

**DollarBack admin → Analytics → Referrals** shows **Referred revenue**, **Referred orders**, **Active referrers** and **Referral payout**, plus your top referrers. The per-order log is in **Analytics → Activity → Referrals**: each row links the referrer, the referee and the Shopify order. See [Referral analytics](/dollarback-store-credit/analytics-data-and-account/referral-analytics).

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-0f5e8e2a83dc9f5324bc7da3d968355ef6e2ac7f%2Fdb-p2-rt-activity-referrals-annotated.png?alt=media" alt="Analytics Activity page on the Referrals tab, with the columns Date, Referrer, Reward, Referee, Order, Order total, Type and Campaign. Customer names are hidden."><figcaption><p>Each row is one rewarded referral. Campaign shows the config that paid the reward.</p></figcaption></figure>

Customers get their own view of the same thing. The credit history in the floating widget, on the loyalty page and in the account balance block carries a **Referral** filter, so a referrer can separate what their referrals have paid them from ordinary cashback. Clawbacks appear there too, which is worth knowing before a customer asks you about one.

## Verify it works

Place a test order with a referral code as a new customer, in a different currency market if you have one. Once the order reaches your trigger, open **Analytics → Activity → Referrals** and confirm the row links both profiles and the order, and that the commission equals the expected percentage of the deducted base, converted to the referrer's currency.

## Common issues

* No reward recorded → was the code actually on the order, and has the order reached your **Give cashback when** trigger? See [A referral wasn't tracked](/dollarback-store-credit/troubleshooting-and-faq/referral-wasnt-tracked).
* Reward smaller than expected → credit/gift-card deductions, subtotal-vs-total base, or the max-cashback ceiling.
* No reward on an order paid partly with store credit or a gift card → that setting is **No cashback**, or those payments covered the whole order, so the reward was skipped.
* Reward appeared, then a debit → the referee's order was refunded, cancelled, or edited down while order edit tracking was on; see [Refunds, cancellations & order edits](/dollarback-store-credit/spending-store-credit-and-rewards/refunds-cancellations-and-order-edits).

## Related articles

* [Referrer rewards vs referee discounts](/dollarback-store-credit/referral-program/referrer-rewards-vs-referee-discounts)
* [Run multiple referral configs](/dollarback-store-credit/referral-program/run-multiple-referral-configs)
* [Settings](/dollarback-store-credit/settings)
* [Referral analytics](/dollarback-store-credit/analytics-data-and-account/referral-analytics)


# Referral conditions & limits

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

*This article's section starts at 0:53 in the video.*

Referral configs have a set of gates that decide whether a referee's checkout accepts the code, plus an expiry that decides how long the referrer's reward lasts. This page walks each one with a failing case and a passing case, so you can predict exactly what a customer will see.

## Prerequisites

* A referral config saved and generated. See [Set up your referral program](/dollarback-store-credit/referral-program/set-up-your-referral-program).

## The gates

| Gate                | Field                                                     | What it blocks                                                  |
| ------------------- | --------------------------------------------------------- | --------------------------------------------------------------- |
| Config switched on  | The **Enabled** / **Disabled** switch on the config card  | Every code of a disabled config                                 |
| Minimum order value | **Minimum Order Value** (Referee Discount section)        | Codes on carts below the threshold                              |
| New customers only  | **Allow discounts for new customers only** (Usage Limits) | Existing customers using a referral code                        |
| Max uses            | **Maximum discount code uses per referee** (Usage Limits) | A referred customer reusing the discount                        |
| Own code            | None; always on                                           | A customer applying their own referral code                     |
| Expiration          | **Referrer reward expires** (Usage Limits)                | The referrer's reward expiring after N days, or on a fixed date |

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-86678fa000ba7fbc846c50028049a5747a4ca045%2Fdb-referral-usage-limits-annotated.png?alt=media" alt="Usage Limits section of a referral config."><figcaption><p>On screen, the uses field shows only its help text, not its name. The expiry field is labelled Referrer reward expires.</p></figcaption></figure>

{% hint style="info" %}
With the [Ultimate Discounts integration](/dollarback-store-credit/referral-program/ultimate-discounts-integration) on, DollarBack doesn't run these checkout gates. The discount you connect decides who gets it.
{% endhint %}

## Minimum order value

Say the config requires a $30 minimum.

* **Fails:** the referee carts a $18 item and enters the code. Checkout rejects the discount because the order is under $30.
* **Passes:** they add a second item, bringing the cart to $42, and the same code now applies.

The minimum is checked at checkout against the cart subtotal (before shipping), converted into the checkout currency.

## New customers only

With **Allow discounts for new customers only** on:

* **Fails:** a customer who has ordered from you before enters a friend's code; the discount doesn't apply to their account.
* **Passes:** a genuinely new customer (no prior orders on that account) uses the same code and gets the discount.

Turn this off if you want referrals to work as a general share-a-discount program where existing customers can also redeem a friend's code.

{% hint style="info" %}
"New" is judged per customer account. A returning shopper checking out with a brand-new email counts as new, which is worth knowing when you're testing.
{% endhint %}

## Maximum uses per referee

**Maximum discount code uses per referee** caps how many times one referred customer can use the discount.

* **Fails:** with the limit at 1, the referee tries the code on a second order; it's rejected.
* **Passes:** their first order with the code, or a higher limit (e.g. 3) that hasn't been reached yet.

This is a per-referee cap; it does not limit how many different friends can use one referrer's code.

The counter counts **rewarded orders**: it goes up only when an order with the code earns the referrer a reward. Two results of that:

* An order whose reward was skipped (for example, paid with store credit while **No cashback** is set) doesn't use up the limit.
* The count goes up when the order reaches your **Give cashback when** trigger. With **Order Fulfilled** or **Order Paid**, a referee can use the code again before their first order reaches that event.

## Own code

A customer can't use their own referral code. When Shopify knows who the customer is at checkout and the entered code is that customer's own code, the discount doesn't apply.

* **Fails:** a signed-in referrer enters their own code on their own order; no discount.
* **Passes:** a friend enters the same code on their order.

## Expiration

**Referrer reward expires** sets how long earned referral credit stays spendable, working like any other store-credit expiry: **Never**, **After a number of days** from when the reward is issued, or **On a date** (every reward from this config expires at that moment, in your store's time zone).

* **Fails (expires):** with a 30-day expiry, a referrer who leaves the credit untouched for 31 days loses it; the expiry shows in their balance history.
* **Passes:** the same credit spent within the window works like any store credit at checkout.

Expiry reminders and the expiry email follow your credit-expiry setup. See [Credit expiry & reminders](/dollarback-store-credit/spending-store-credit-and-rewards/credit-expiry-and-reminders).

## Verify it works

Run the failing case for each gate on a test account before you launch: an under-minimum cart, an existing account, a second use beyond the limit, your own code. Each should be rejected at checkout; fixing the condition should make the same code pass. This is the fastest way to be sure the config does what you think it does.

## Common issues

* "The code doesn't work" reports → almost always one of the gates; test in the order above. See [A referral wasn't tracked](/dollarback-store-credit/troubleshooting-and-faq/referral-wasnt-tracked).
* Code applies but no reward is issued → conditions passed at checkout, but the reward was skipped in calculation (e.g. fully credit-paid order); see [How referral rewards are calculated & tracked](/dollarback-store-credit/referral-program/how-referral-rewards-are-calculated-and-tracked).
* A friend gets the wrong discount or limits → the discount and its conditions come from the config whose **Code Prefix** the code starts with; see [Run multiple referral configs](/dollarback-store-credit/referral-program/run-multiple-referral-configs).

## Related articles

* [Set up your referral program](/dollarback-store-credit/referral-program/set-up-your-referral-program)
* [Referrer rewards vs referee discounts](/dollarback-store-credit/referral-program/referrer-rewards-vs-referee-discounts)
* [How referral rewards are calculated & tracked](/dollarback-store-credit/referral-program/how-referral-rewards-are-calculated-and-tracked)
* [Credit expiry & reminders](/dollarback-store-credit/spending-store-credit-and-rewards/credit-expiry-and-reminders)


# Run multiple referral configs

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

*This article's section starts at 0:00 in the video.*

One referral program rarely fits everyone: you might want VIPs to earn 20% while everyone else earns 10%. DollarBack supports multiple referral configs, targeted by customer tags, with one config without tags as the fallback. This page shows how to add a second config and predict which one applies.

## Prerequisites

* A first referral config live. See [Set up your referral program](/dollarback-store-credit/referral-program/set-up-your-referral-program).
* The customer tag you'll target (e.g. `vip`) already applied to the right customers in Shopify admin.

## Step 1. Add the second config

1. Go to **DollarBack admin → Referral Program** and click **Add Config**.
2. Set an **Internal Title** ("VIP referrers") and a distinct **Code Prefix** of up to 5 characters (e.g. `VIP`). Prefixes can't be changed after saving. The prefix is also how checkout knows which config's discount to give, so each config needs its own (see [Save rules](#save-rules)).
3. In **Customer Tags**, select the tag(s) this config targets, e.g. `vip`.
4. Set its own referrer reward, referee discount, and usage limits; each config carries a full set.
5. Switch the config on. A new config starts **Disabled**; click the switch on the config card so the badge reads **Enabled**.
6. Save. Code generation runs for the newly matched customers; the editor locks while it does ([Referral codes & bulk sync](/dollarback-store-credit/referral-program/referral-codes-and-bulk-sync)).

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-4bca50e0344f4d91e474daefc18f8a00a4de7b6a%2Fdb-p2-rt-referral-new-config-annotated.png?alt=media" alt="New referral config Config 3 with a yellow Disabled badge, its switch off, an empty Code Prefix field and the note Code prefix cannot be changed once the config is saved." width="560"><figcaption><p>A new config starts Disabled. Give it its own Code Prefix of up to 5 characters before you save.</p></figcaption></figure>

## Step 2. Set the priority order (only for overlapping tags)

The banner on the page says: "Drag and drop configs to set priority. If a customer matches multiple configs (overlapping tags), the config at the top takes precedence."

The order matters only among **tagged** configs, and only for a customer who carries tags from more than one of them. A tag can belong to one config only, so this happens when, say, a customer is tagged both `vip` and `wholesale` and each tag has its own config. Put the config you want to win for those customers higher.

The config without tags is the fallback. It applies only when no tagged config matches, so its position in the list doesn't matter.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-4682ac1cd4f276b076285245ad7352839d256de7%2Fdb-referral-configs-priority-annotated.png?alt=media" alt="Referral page with the priority banner, a VIP config tagged VIP above an All customers config, and an Add Config button."><figcaption><p>Tagged configs are checked from the top. The config without tags is the fallback, wherever it sits.</p></figcaption></figure>

## Which config wins

For any given **referrer**, DollarBack first looks for a switched-on config whose **Customer Tags** match one of the referrer's tags, from the top. If none matches, it uses the switched-on config without tags.

| Priority | Config        | Tags   | A `vip` customer gets | An untagged customer gets |
| -------- | ------------- | ------ | --------------------- | ------------------------- |
| 1        | VIP referrers | `vip`  | ✓ this one            | (none)                    |
| 2        | Everyone      | (none) | (none)                | ✓ this one                |

Three things are decided at different moments:

| What                                     | Decided by                                            | When                                                   |
| ---------------------------------------- | ----------------------------------------------------- | ------------------------------------------------------ |
| The customer's code (and its prefix)     | The config the customer matched                       | When the code is created. It never changes after that. |
| The friend's discount and its conditions | The config whose **Code Prefix** the code starts with | At the friend's checkout                               |
| The referrer reward and its expiry       | The config the referrer matches by tags               | When the reward is issued                              |

So if a customer's tags change after their code was created, they keep their code. Their friends still get the discount of the config that code's prefix belongs to, while the referrer's reward follows their new tags. The customer account and thank-you blocks hide a code whose prefix doesn't match the customer's current config.

{% hint style="warning" %}
Selection follows the **referrer's** tags, not the referee's. Conditions like new-customers-only still apply to the referee.
{% endhint %}

Each config carries its own settings, except **Combination Rules**: those toggles are shared across all configs.

## Save rules

The page won't save until these hold:

* Every config has an **Internal Title** ("Internal Title is required") and a **Code Prefix** of 1 to 5 characters.
* Only one config has no tags ("Only one configuration can be without tags").
* Each tag is used in one config only ("Tags must be unique across configs").
* No prefix is the same as, or the start of, another prefix (for example `VIP` and `VIPX`): "This prefix conflicts with another configuration."
* Percentage rewards and discounts are 100% or less, and **Maximum discount code uses per referee** is at least 1.
* With the Ultimate Discounts integration on, every config has a discount selected ([Referral + Ultimate Discounts integration](/dollarback-store-credit/referral-program/ultimate-discounts-integration)).

## Removing a config

Click the delete icon on a config card, then save. DollarBack deletes the referral codes of that config, so they stop working at checkout.

{% hint style="warning" %}
You can't undo this. Don't remove a config whose codes customers are still sharing. To pause it, switch it off instead.
{% endhint %}

## Verify it works

Sign in as a tagged (`vip`) customer who had no referral code before. Their widget and account should show a code with the VIP prefix and the VIP reward messaging. An untagged customer should still see the general code. Place a test referee order against each code and confirm in **Analytics → Activity → Referrals** that each row shows the expected config in the **Campaign** column.

## Common issues

* A VIP customer still has the general code → they got their code before the VIP config existed or before they were tagged. Codes don't change after creation; their reward still follows the VIP config. Or the customer isn't actually tagged, or the VIP config is **Disabled**.
* A customer matches no config → they hold no code and can't refer; make sure a config without tags exists if everyone should participate.
* Reward amounts look inconsistent across referrers → they're on different configs; check the attribution rows in [Referral analytics](/dollarback-store-credit/analytics-data-and-account/referral-analytics).

## Related articles

* [Set up your referral program](/dollarback-store-credit/referral-program/set-up-your-referral-program)
* [How referral rewards are calculated & tracked](/dollarback-store-credit/referral-program/how-referral-rewards-are-calculated-and-tracked)
* [Referral codes & bulk sync](/dollarback-store-credit/referral-program/referral-codes-and-bulk-sync)
* [Referral conditions & limits](/dollarback-store-credit/referral-program/referral-conditions-and-limits)


# How customers share referral links

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

*This article's section starts at 4:25 in the video.*

A referral program only works if customers can find their code without hunting for it. This page maps every storefront surface where a customer's referral code and share link appear, so you can decide which ones to enable and know what customers see on each.

## Prerequisites

* A live referral config. Codes exist only after generation completes ([Set up your referral program](/dollarback-store-credit/referral-program/set-up-your-referral-program)).
* The relevant widgets activated in your theme and checkout. See [Activate widgets in your theme](/dollarback-store-credit/getting-started/activate-widgets-in-your-theme).

## What customers actually share

Each customer holds one referral code: the config's **Code Prefix** followed by random letters and digits, 15 characters in all with no hyphen (e.g. `REFA7K2Q9XM4TB1`). The share surfaces wrap it in a link of the form `https://your-store.com/discount/CODE`, plus a pre-written share message. Opening the link applies the code to the friend's cart, so they don't have to type it at checkout.

{% hint style="warning" %}
Attribution is code-based: the referral counts only if the code is still on the order when the friend checks out ([How referral rewards are calculated & tracked](/dollarback-store-credit/referral-program/how-referral-rewards-are-calculated-and-tracked)).
{% endhint %}

## The share surfaces

| Surface                       | Where                                          | What the customer sees                                                                                  |
| ----------------------------- | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| Floating cashback widget      | Site-wide launcher                             | Their referral code and link in the widget's referral view, alongside balance and ways to earn          |
| Customer account blocks (×3)  | Orders page · order status page · profile page | The referral offer, a **Copy Code** button that copies the share link, and a WhatsApp share             |
| Loyalty page referral block   | Your loyalty page                              | The code, a copy button, and share buttons: email, Facebook, X, WhatsApp                                |
| Thank-you page referral block | Right after checkout                           | Logged-in customers: a **Copy Code** button that copies their code. Guests: a **Login to share** button |

### Floating widget

The referral view inside the floating widget is the always-available surface: any page, any time. Customers must be signed in to see their personal code; signed-out visitors see a login prompt. Styling and labels are editable in **DollarBack admin → Customize** ([The floating cashback widget](/dollarback-store-credit/widgets-and-storefront/the-floating-cashback-widget)).

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-63a87d8a99ad36410c74be95775d9e7bf5fbe411%2Fdb-cx-widget-referral.png?alt=media" alt="Floating widget Referral tab with the text Refer a friend and earn cashback when they make a purchase, You get $5.00 and They get $5.00, the customer&#x27;s referral code with a copy button, and Share this code with friends to earn rewards." width="380"><figcaption><p>In the widget's Referral tab, your signed-in customers see what each side gets and their code, with a copy button.</p></figcaption></figure>

### Customer account blocks

Three referral blocks live in the new customer accounts area (the orders index, the order status page, and the profile page), so the code is in reach exactly where customers check on an order. If your Shopify Markets use a separate domain per market (for example `your-store.de` and `your-store.fr`), the link in these blocks uses the domain of the customer's market. Markets that use a subfolder on your main domain get the primary domain. Each block shows the offer, a **Copy Code** button, and a **WhatsApp** share that opens pre-filled with the message and link. **Copy Code** copies the share link, or your own share message if you set one. The blocks don't show a referral history. Labels and message templates are customizable ([Customer account blocks](/dollarback-store-credit/widgets-and-storefront/customer-account-blocks)).

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-91513b6229a194fa00fadca7749d31d66577d938%2Fdb-cx-account-order-status.png?alt=media" alt="Order status page for Order #1033 with the message You earned $2.33 as store credit for this order, then a referral block titled Refer a friend and get $5.00 kickback with a Copy Code button and a WhatsApp button." width="560"><figcaption><p>On the order status page, your customers see the referral block with Copy Code and WhatsApp right under their order.</p></figcaption></figure>

The WhatsApp button matters more here than the copy button does. Customers reach these pages from an order confirmation email, usually on a phone, and a share sheet is a far shorter path to an actual referral than copying a code and finding somewhere to paste it.

### Loyalty page

The loyalty page's referral block is the richest surface: headline, the program pitch (what the friend gets, what the referrer earns), the code with a copy button, and one-tap share buttons for email, Facebook, X, and WhatsApp that open pre-filled with the share message and link. All of the copy is editable, including the separate logged-in and logged-out variants ([Set up the loyalty page](/dollarback-store-credit/widgets-and-storefront/set-up-the-loyalty-page)).

### Thank-you page

The moment right after a purchase is peak goodwill, so the thank-you block invites the buyer to refer. A logged-in customer gets a **Copy Code** button that copies their code (or your own share message, if you set one). A guest sees a prompt to sign in and a **Login to share** button, because a referral code belongs to a customer account. Each state has its own imagery and copy ([Checkout & thank-you widgets](/dollarback-store-credit/widgets-and-storefront/checkout-and-thank-you-widgets)).

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-70a494abf387067b4c03519ba37902ee1f7f2dac%2Fdb-cx-thank-you-referral.png?alt=media" alt="Thank-you page headed Thank you, Maya! with a referral block titled Refer a friend and get $5.00 kickback, a line about earning $5.00 when a friend makes a purchase, and a Copy Code button." width="520"><figcaption><p>A signed-in customer gets a Copy Code button on the thank-you page. The code itself is not printed.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-5115efa24614dc4c85dbcea18b98d55639aaabc5%2Fdb-cx-thank-you-referral-guest.png?alt=media" alt="Thank-you page headed Thank you, Jordan! with a referral block that says Login to your account to show the referral code that you can share with friends, and a Login to share button." width="520"><figcaption><p>A guest sees a prompt to sign in and a Login to share button instead.</p></figcaption></figure>

## Verify it works

Sign in as a test customer and walk the loop: open the widget, an account page, the loyalty page, and place a small order to see the thank-you block. The same code should appear on every surface. Tap a share button (WhatsApp is easiest on a phone) and confirm the message arrives with the working link and code.

## Common issues

* No code shows anywhere → code generation may still be running for a new config, or the customer matches no config; see [Referral codes & bulk sync](/dollarback-store-credit/referral-program/referral-codes-and-bulk-sync).
* A block is missing from a page → the widget or block isn't enabled in the theme/checkout editor; see [A widget isn't showing on my store](/dollarback-store-credit/troubleshooting-and-faq/widget-isnt-showing).
* Friends clicked the link but no referral was recorded → the code wasn't on the order when they checked out (for example, they removed it), or the order hasn't reached your **Give cashback when** trigger yet; see [A referral wasn't tracked](/dollarback-store-credit/troubleshooting-and-faq/referral-wasnt-tracked).

## Related articles

* [Set up your referral program](/dollarback-store-credit/referral-program/set-up-your-referral-program)
* [Set up the loyalty page](/dollarback-store-credit/widgets-and-storefront/set-up-the-loyalty-page)
* [Customer account blocks](/dollarback-store-credit/widgets-and-storefront/customer-account-blocks)
* [Checkout & thank-you widgets](/dollarback-store-credit/widgets-and-storefront/checkout-and-thank-you-widgets)


# Referral codes & bulk sync

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

*This article's section starts at 0:53 in the video.*

This page explains what actually happens behind the scenes when DollarBack generates referral codes: where the codes live in Shopify, what the sync status banners mean, and why the editor locks while a generation run is in progress.

## Where referral codes live

Every customer's referral code is a discount code in Shopify. That's what lets the referee redeem it at checkout and what makes attribution work. But the codes are not thousands of separate discounts: they're **pooled onto one shared Shopify discount**, listed in **Shopify admin → Discounts** as `DBR-(DO NOT DELETE)`. Each customer's code is attached to that single parent as an additional code.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-fa59a008d7165b0b2ae79277456383b3cabc13ea%2Fdb-p2-rt-dbr-discount-annotated.png?alt=media" alt="Shopify admin Discounts list with an active DBR-(DO NOT DELETE) discount of type order-discount and the method 8 codes."><figcaption><p>In Shopify admin, go to Discounts to see the shared referral discount. The list shows it as DBR-(DO NOT DELETE), with the number of codes that it holds.</p></figcaption></figure>

Each code is the config's **Code Prefix** followed by random letters and digits, 15 characters in all (e.g. `REFA7K2Q9XM4TB1`). Once a customer has a code, it doesn't change: later runs reuse it.

If you use the Ultimate Discounts integration, each customer's code is attached instead to the discount selected in their config: same pooling model, different parent ([Referral + Ultimate Discounts integration](/dollarback-store-credit/referral-program/ultimate-discounts-integration)).

Each code is also stored on its owner's customer profile (the `db-referral.code` metafield), which is how DollarBack maps a redeemed code back to the referrer. Older installations issued codes that were the customer's numeric ID; those legacy codes keep working.

{% hint style="warning" %}
Don't delete or edit the `DBR-(DO NOT DELETE)` discount directly in Shopify admin; every customer's referral code hangs off it. If it is deleted, the Referral page switches every config to **Disabled**. Manage the program from **DollarBack admin → Referral Program** only.
{% endhint %}

## When bulk generation runs

A bulk generation/sync run kicks off when codes need to be created or re-attached at scale:

* You save a **new config**: codes are generated for every customer the config matches.
* You add a config targeting a **tag**: codes are generated for the tagged customers.
* The code pool needs a **re-sync**, for example after connecting an Ultimate Discounts integration discount, so existing codes attach to the new parent.
* You **remove a config** and save: DollarBack deletes that config's codes.

New customers who sign up later get their code individually; bulk runs are for the existing customer base.

## Reading the status, and why the editor locks

While a run is in progress the Referral page shows a **Bulk Operation in Progress** banner: "Referral codes are being generated. Please wait until the operation completes before making changes." (with a count when multiple operations are running). The config editor is locked until it finishes. When it completes you'll see a "Bulk operation completed successfully" toast.

The lock is deliberate. A bulk run writes codes to the shared Shopify discount in batches over several minutes. If you could edit the config mid-run (change the prefix, retarget the tags, swap the parent discount), part of the customer base would end up with codes generated under the old rules and part under the new, and attribution would fray. Locking guarantees every code in a run is consistent. On large stores, expect a run to take minutes rather than seconds; there's nothing to do but let it finish.

Related guardrail: the **Code Prefix** field is permanently locked after the first save ("Code prefix cannot be changed once the config is saved"), because changing it would orphan every code already generated with the old prefix.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-363437a99ae854c2b579b0113257126ca4996a85%2Fdb-referral-config-editor-top-annotated.png?alt=media" alt="Expanded referral config VIP with a greyed-out Code Prefix field showing VIP."><figcaption><p>After the first save, the Code Prefix field is greyed out.</p></figcaption></figure>

{% hint style="info" %}
If you migrated from an older DollarBack referral setup, you may see a **Legacy Config Detected** banner: your settings were auto-migrated to the new format. The migrated config starts **Disabled**. Review it, switch it on, and save to complete the migration. Saving may trigger a bulk run.
{% endhint %}

## Verify it works

After the completion toast: pick a customer in Shopify admin and confirm their referral code exists on their profile, then check the storefront (widget or account page) shows the same code. Applying that code on a test checkout should pull up the referee discount.

## Common issues

* Editor is greyed out → a bulk operation is running; wait for the completion toast.
* A customer has no code → the run may still be processing, or they match no config; see [Run multiple referral configs](/dollarback-store-credit/referral-program/run-multiple-referral-configs).
* Codes stopped working store-wide and every config shows **Disabled** → the `DBR-(DO NOT DELETE)` discount was probably deleted in Shopify admin. Switch your configs back on and save: saving creates a new shared discount and queues code generation. See [A referral wasn't tracked](/dollarback-store-credit/troubleshooting-and-faq/referral-wasnt-tracked).

## Related articles

* [Set up your referral program](/dollarback-store-credit/referral-program/set-up-your-referral-program)
* [Run multiple referral configs](/dollarback-store-credit/referral-program/run-multiple-referral-configs)
* [Referral + Ultimate Discounts integration](/dollarback-store-credit/referral-program/ultimate-discounts-integration)
* [How referral rewards are calculated & tracked](/dollarback-store-credit/referral-program/how-referral-rewards-are-calculated-and-tracked)


# Ultimate Discounts integration

Out of the box, the referee side of a referral is a simple percentage or fixed discount. If you run **Dollarlabs: Ultimate Discounts**, you can hand the referee discount over to one of its discounts instead. That brings the app's more advanced discount logic to your referral program while DollarBack keeps handling codes, attribution, and referrer rewards.

## Prerequisites

* A live referral config. See [Set up your referral program](/dollarback-store-credit/referral-program/set-up-your-referral-program).
* The **Dollarlabs: Ultimate Discounts** app installed on your store, with at least one discount configured in it that uses the required function type (the integration lists only compatible discounts).

## What changes when the integration is on

|                                                                                    | Integration off                                          | Integration on                                                       |
| ---------------------------------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------------------- |
| Referee discount                                                                   | DollarBack's built-in **Discount Type / Discount Value** | The connected Ultimate Discounts discount                            |
| Referral codes                                                                     | Pooled on DollarBack's shared discount                   | Attached to the discount selected in each config                     |
| Checkout gates (minimum order value, new customers only, max uses, own-code block) | Checked by DollarBack                                    | Not checked by DollarBack; the connected discount's own rules decide |
| Referrer reward                                                                    | DollarBack store credit                                  | Unchanged; still DollarBack store credit                             |
| Attribution & analytics                                                            | DollarBack                                               | Unchanged                                                            |

## Step 1. Enable the integration

1. Go to **DollarBack admin → Referral Program** and find the **Dollarlabs: Ultimate Discounts** integration section.
2. If the app isn't installed yet, you'll see an **Install App** button; the integration requires the app to be present (status shows **Installed** once it is).
3. Turn on **Enable Integration** ("Enable integration to offer advanced referee discounts").

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-ea0351fb287a55f9eadb143d9048e299cd488e27%2Fdb-ultimate-discounts-card-annotated.png?alt=media" alt="Dollarlabs: Ultimate Discounts integration card with an Installed badge and the Enable Integration switch off." width="560"><figcaption><p>When Ultimate Discounts is installed, the Referral page shows this card with the Enable Integration switch.</p></figcaption></figure>

## Step 2. Connect a discount to each config

1. With the integration enabled, every config card gets its own **Select Referee Discount** selector under **Referee Discount** (showing "— Select a discount —" until you choose).
2. In each config, pick the Ultimate Discounts discount that should apply to that config's referred orders. The summary confirms your choice: "Using \[discount title] from Dollarlabs discount app". Every config needs a discount: until each one has one, the page won't save and shows "Please select a discount from the connected discount app".
3. If the list is empty you'll see: "No discounts found, make sure discounts with the required function are configured." Create a compatible discount in Ultimate Discounts first, then reopen the selector.
4. Save. Referral codes need to attach to the connected discount, so a bulk sync may run and lock the editor until it completes. See [Referral codes & bulk sync](/dollarback-store-credit/referral-program/referral-codes-and-bulk-sync).

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-c15a5da710c04df765b1cac8ea3c36a3044c756e%2Fdb-p2-rt-ud-select-discount-annotated.png?alt=media" alt="Referee Discount section with a Select Referee Discount list showing — Select a discount —, an info banner, and the Discount Type and Discount Value fields." width="560"><figcaption><p>With the integration on, each config gets a Select Referee Discount list. The banner explains that Discount Type and Discount Value only describe the offer in your widgets.</p></figcaption></figure>

While the integration is on, the **Minimum Order Value** field is hidden. **Discount Type** and **Discount Value** stay, but only to describe the offer in your storefront widgets: "The actual discount applied at checkout comes from the selected discount in the integration app."

{% hint style="warning" %}
**Allow discounts for new customers only** and **Maximum discount code uses per referee** stay visible, but DollarBack doesn't check them at checkout in this mode. Set any limits you need on the connected discount.
{% endhint %}

## Step 3. Verify at checkout

1. Grab a customer's referral code from the storefront (widget or account page).
2. In an incognito window, build a qualifying cart as a new customer and apply the code at checkout.
3. The discount that applies should be the connected Ultimate Discounts discount. Check that the discount line matches its rules rather than the old built-in value.
4. Complete the order and, once it reaches your **Give cashback when** trigger, confirm the referrer's reward lands in **Analytics → Activity → Referrals**: the referrer side is untouched by the integration.

{% hint style="warning" %}
Don't delete the connected discount inside Ultimate Discounts while the integration is live; the referral codes are attached to it. Disconnect or switch the discount in DollarBack first.
{% endhint %}

## Common issues

* The page won't save → a config has no discount selected; open each config and pick one.
* The selector shows no discounts → the discounts in Ultimate Discounts don't use the required function; recreate the discount with a compatible type.
* Codes apply the old built-in discount → the sync to the integration discount may still be running, or the save didn't complete; check for the bulk-operation banner.
* Referral code rejected at checkout → in this mode only the connected discount's own rules apply; test the discount by itself in Ultimate Discounts, then see [A referral wasn't tracked](/dollarback-store-credit/troubleshooting-and-faq/referral-wasnt-tracked).

## Related articles

* [Set up your referral program](/dollarback-store-credit/referral-program/set-up-your-referral-program)
* [Referrer rewards vs referee discounts](/dollarback-store-credit/referral-program/referrer-rewards-vs-referee-discounts)
* [Referral codes & bulk sync](/dollarback-store-credit/referral-program/referral-codes-and-bulk-sync)
* [Referral conditions & limits](/dollarback-store-credit/referral-program/referral-conditions-and-limits)


# Loyalty Tiers

Tier ladders, multipliers, evaluation windows, syncing, and tier segments.

* [Loyalty tiers overview](/dollarback-store-credit/loyalty-tiers/loyalty-tiers-overview)
* [Build your tiers](/dollarback-store-credit/loyalty-tiers/build-your-tiers)
* [Evaluation windows](/dollarback-store-credit/loyalty-tiers/evaluation-windows)
* [Link cashback programs to tiers](/dollarback-store-credit/loyalty-tiers/link-cashback-programs-to-tiers)
* [Tiers with multiple currencies](/dollarback-store-credit/loyalty-tiers/tiers-with-multiple-currencies)
* [Sync tiers to customers](/dollarback-store-credit/loyalty-tiers/sync-tiers-to-customers)
* [What happens when a customer changes tier](/dollarback-store-credit/loyalty-tiers/what-happens-when-a-customer-changes-tier)
* [See tier customers as a Shopify segment](/dollarback-store-credit/loyalty-tiers/see-tier-customers-as-a-shopify-segment)


# Loyalty tiers overview

{% hint style="info" %}
**Plan:** Pro plan and above.
{% endhint %}

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

*This article's section starts at 0:36 in the video.*

Tiers rank your customers into loyalty levels: the more they shop, the better their level and the more they earn. This page explains what tiers add to your program and what your customers see once they're live.

## What tiers do

When tiers are active, they decide who earns purchase cashback and how much. They don't sit on top of your store-wide purchase programs; they replace them:

| Lever                   | What it does                                                                                                                                                 |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Linked programs**     | Each tier lists the purchase cashback programs its members earn from. A customer earns purchase cashback only from the programs linked to their tier.        |
| **Cashback multiplier** | Each tier can boost the purchase cashback its members earn. A ×1.5 multiplier turns 5% cashback into 7.5% for that tier, with no need to duplicate programs. |

{% hint style="warning" %}
While tiers are active, a customer earns **no purchase cashback** if they have no tier yet, if their tier is switched off, or if their tier has no linked programs. Link your purchase programs to **every** tier, including your entry tier, before you turn tiers on. See [Link cashback programs to tiers](/dollarback-store-credit/loyalty-tiers/link-cashback-programs-to-tiers).
{% endhint %}

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-78fc1608ddaf681dbf86dbc2eed2e5af92e4b52b%2Fdb-tiers-page-overview-annotated.png?alt=media" alt="Customer Tiers page with an Active switch, Evaluation Window All time, tiers 1. Gold, 2. Silver and 3. Bronze, and a Tiers Summary card."><figcaption><p>The Tiers page holds the on/off switch, the evaluation window, your ladder in priority order, and a summary.</p></figcaption></figure>

You define each tier with conditions (money spent, orders placed, cashback earned or redeemed, and more), and DollarBack assigns customers automatically based on their activity inside an evaluation window you choose. Customers move up as they shop and can move back down when the window resets.

## The plan gate

Tiers are available on the **Pro plan and above**; the Advanced plan is no longer required for tiers. On lower plans, the **Tiers** page in the DollarBack menu shows the feature locked with an **Upgrade plan** button. Everything else in DollarBack works without tiers; they are an optional layer, not a prerequisite. See [Choose a plan & start your trial](/dollarback-store-credit/getting-started/choose-a-plan-and-start-your-trial).

## What customers see

Once tiers are enabled and synced, they appear across your storefront touchpoints:

* **Floating cashback widget**: a tier section (labeled **Your Tier** by default) shows the customer's current tier, its multiplier badge (for example, **1.5×**), the requirements left to unlock the next tier, and, for recurring windows, when progress resets ("Resets on {date}").
* **Loyalty page**: a tiers section lays out the full ladder so shoppers can see every level and what it takes to reach it. See [Set up the loyalty page](/dollarback-store-credit/widgets-and-storefront/set-up-the-loyalty-page).
* **Product page and cart messages**: cashback messages can reflect tier states, so a top-tier customer sees their boosted rate.
* **Google Wallet pass**: the loyalty card shows the customer's current tier alongside their balance.

All tier labels and texts in the widget are customizable and translatable from **Customize** in the DollarBack menu.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-b08cecfb57ed82ad04e9b62aad66585684865702%2Fdb-cx-widget-home.png?alt=media" alt="Floating widget Home tab for a signed-in customer: Your Credit $22.33, a tier card Bronze marked CURRENT with Next: Silver • Spend $250.00, a Referral Program card and a Redeem rewards card." width="380"><figcaption><p>On the widget's Home tab, your customers see their current tier and what the next tier asks for.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-e87f2a69833e90740fd01ccf11317dc554c4722b%2Fdb-cx-widget-offers-tiers.png?alt=media" alt="Floating widget Offers tab with a Your Tier list: Gold with a 2× badge and To unlock: Spend $1,000.00, Silver with a 1.5× badge and To unlock: Spend $250.00, both locked, and Bronze marked CURRENT. Each tier has a View rewards link." width="380"><figcaption><p>The Offers tab shows the whole ladder. Locked tiers show their multiplier and what it takes to unlock them.</p></figcaption></figure>

## How it fits together

1. [Build your tiers](/dollarback-store-credit/loyalty-tiers/build-your-tiers): conditions, multipliers, and ordering.
2. [Evaluation windows](/dollarback-store-credit/loyalty-tiers/evaluation-windows): the timeframe customer activity is measured over.
3. [Link cashback programs to tiers](/dollarback-store-credit/loyalty-tiers/link-cashback-programs-to-tiers): choose which purchase programs each tier earns from.
4. [Sync tiers to customers](/dollarback-store-credit/loyalty-tiers/sync-tiers-to-customers): push your setup to every customer.
5. [What happens when a customer changes tier](/dollarback-store-credit/loyalty-tiers/what-happens-when-a-customer-changes-tier): the emails, Flow and marketing events, and earning changes that follow each move.

## Related articles

* [Build your tiers](/dollarback-store-credit/loyalty-tiers/build-your-tiers)
* [Evaluation windows](/dollarback-store-credit/loyalty-tiers/evaluation-windows)
* [Sync tiers to customers](/dollarback-store-credit/loyalty-tiers/sync-tiers-to-customers)
* [What happens when a customer changes tier](/dollarback-store-credit/loyalty-tiers/what-happens-when-a-customer-changes-tier)
* [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated)


# Build your tiers

{% hint style="info" %}
**Plan:** Pro plan and above.
{% endhint %}

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

*This article's section starts at 4:40 in the video.*

By the end of this page you'll have a working tier ladder live for every customer, each tier with its own qualification conditions, linked cashback programs and cashback multiplier.

## Prerequisites

* Pro plan or above ([Choose a plan & start your trial](/dollarback-store-credit/getting-started/choose-a-plan-and-start-your-trial))
* At least one purchase cashback program created ([Set up purchase cashback](/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback)). Once tiers are active, customers earn purchase cashback only from the programs linked to their tier.

## Step 1: Create your first tier

1. Go to **Tiers** in the DollarBack menu.
2. Click **Add first tier** and name it.
3. Under **Conditions**, add what a customer must do to qualify. A customer must meet **all** active conditions on a tier to qualify for it. Available condition types:

| Condition             | Measures                                                                                                              |
| --------------------- | --------------------------------------------------------------------------------------------------------------------- |
| **Money Spent**       | Total of the customer's fulfilled orders inside the evaluation window, in your base currency, after refunds and edits |
| **Orders Placed**     | Number of fulfilled orders inside the window                                                                          |
| **Cashback Earned**   | Store credit earned inside the window                                                                                 |
| **Cashback Redeemed** | Store credit spent inside the window                                                                                  |
| **Customer Tags**     | Shopify customer tags (has any/all, doesn't have any/all)                                                             |
| **Referrals Done**    | Completed referrals, counted over the customer's whole lifetime                                                       |

Only **fulfilled** orders count. An order that isn't fulfilled yet doesn't add to **Money Spent** or **Orders Placed**. Money is always measured in your store's base currency; see [Tiers with multiple currencies](/dollarback-store-credit/loyalty-tiers/tiers-with-multiple-currencies).

**Money Spent**, **Orders Placed**, **Cashback Earned** and **Cashback Redeemed** take an operator and a value. The operator can be **at least (≥)**, **at most (≤)**, or **exactly (=)**. **Referrals Done** has no operator: you set **Minimum referrals (lifetime)**, and the customer qualifies at that number or more. It ignores the evaluation window.

4. Optionally tick **Set as key metric** on a condition. A key metric is shown prominently in your storefront widgets as the customer's progress toward the next tier, so pick what you want them chasing. You can set more than one. The checkbox only appears on a condition that is switched on in every active tier.
5. Set the **Cashback multiplier** for the tier. The purchase cashback a member earns is multiplied by this value; `1` means no boost.
6. Under **Cashback Configs**, click **Select configs** and pick the purchase programs this tier earns from. A tier with no linked programs earns no purchase cashback. See [Link cashback programs to tiers](/dollarback-store-credit/loyalty-tiers/link-cashback-programs-to-tiers).
7. Set **Who can see this tier**. It decides who sees the tier in your storefront widgets. See [Who can see this tier](#who-can-see-this-tier) below.
8. Check the tier's own switch in its header. A new tier starts **Active**. Switch it off to make it **Inactive**: nobody is assigned an inactive tier, and its members move to the next tier they qualify for at their next check or the next sync. Until then they earn no purchase cashback.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-3b74afc255e4c44dd964819e4f0b52b9b3446e82%2Fdb-tier-card-gold-annotated.png?alt=media" alt="Gold tier card with Tier name Gold, Cashback multiplier 2 x, Who can see this tier Logged-in customers, and an active Money Spent condition of at least $1000 set as key metric." width="560"><figcaption><p>Each tier has a name, a multiplier and conditions. Switch on the conditions that a customer must meet.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-c748b3a17aa332e9a32d8c56291d951da36ac82c%2Fdb-p2-rt-referrals-done-annotated.png?alt=media" alt="Referrals Done condition switched on, with a Minimum referrals (lifetime) field set to 0." width="560"><figcaption><p>Referrals Done has no operator. Set the minimum number of referrals; it counts the whole lifetime, not the evaluation window.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-f9a41d60f61d09b1a194fb550b36bdaf00ff27f9%2Fdb-p2-rt-tier-header-switch-annotated.png?alt=media" alt="Gold tier header with the Inactive badge and the tier switch off." width="560"><figcaption><p>Each tier has its own switch in its header. Switched off, the badge reads Inactive and nobody is assigned the tier.</p></figcaption></figure>

### Who can see this tier

This decides who sees the tier in the floating widget and on the loyalty page:

| Option                            | Tier shown to                                                                                |
| --------------------------------- | -------------------------------------------------------------------------------------------- |
| **Everyone**                      | All shoppers                                                                                 |
| **Logged-in customers** (default) | Only shoppers signed in to a customer account                                                |
| **Guests only**                   | Only shoppers who aren't signed in, e.g. to show the ladder as a reason to create an account |

{% hint style="info" %}
Visibility controls **what shoppers see**, not **who holds the tier**. A hidden tier is still assigned, and its members still earn from its linked programs at its multiplier. Purchase programs have the same setting; see [Who can see this offer](/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback#who-can-see-this-offer).
{% endhint %}

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-e87f2a69833e90740fd01ccf11317dc554c4722b%2Fdb-cx-widget-offers-tiers.png?alt=media" alt="Floating widget Offers tab with a Your Tier list: Gold with a 2× badge and To unlock: Spend $1,000.00, Silver with a 1.5× badge and To unlock: Spend $250.00, both locked, and Bronze marked CURRENT. Each tier has a View rewards link." width="380"><figcaption><p>Your signed-in customers see the visible tiers in the widget. Each locked tier shows its multiplier and its key metric after To unlock.</p></figcaption></figure>

## Step 2: Add the rest of the ladder

Click **Add another tier** and repeat. A simple, proven 3-tier ladder based on money spent:

| Tier   | Condition (Money Spent) | Cashback multiplier |
| ------ | ----------------------- | ------------------- |
| Gold   | at least $500           | ×2                  |
| Silver | at least $200           | ×1.5                |
| Bronze | at least $0             | ×1                  |

With this ladder, a 5% cashback program linked to all three tiers pays 5% to Bronze, 7.5% to Silver, and 10% to Gold: one program, three earn rates.

## Step 3: Order tiers by priority

Drag tiers to reorder them. The page reminds you: "Drag to reorder · tiers are evaluated top to bottom." A customer lands in the **first** tier from the top whose conditions they fully meet, so always place your best tier first. In the example above, Gold sits on top; a customer who has spent $650 matches Gold and stops there.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-78fc1608ddaf681dbf86dbc2eed2e5af92e4b52b%2Fdb-tiers-page-overview-annotated.png?alt=media" alt="Customer Tiers page with an Active switch, Evaluation Window All time, tiers 1. Gold, 2. Silver and 3. Bronze, and a Tiers Summary card."><figcaption><p>Drag tiers into priority order, best tier on top. The Tiers page also holds the on/off switch, the evaluation window and a summary.</p></figcaption></figure>

{% hint style="warning" %}
If a lower tier sits above a higher one, big spenders will match the lower tier first and never reach the top. Check the order before you save.
{% endhint %}

## Step 4: Enable and sync

1. Turn the **Customer Tiers** toggle to **Active**. This enables tiers globally across widgets and earning.
2. Click **Save**.
3. A banner appears: "Your tier settings have been saved. Sync to push the changes to all customers." Click **Sync now**. This re-checks every customer at once. Without it, existing customers only get a tier one at a time, when their next order is fulfilled. See [Sync tiers to customers](/dollarback-store-credit/loyalty-tiers/sync-tiers-to-customers).

{% hint style="warning" %}
From now on, purchase cashback follows the tiers. A customer who has no tier yet earns no purchase cashback until they are assigned one, and the **Include customer tags** and **Exclude customer tags** fields on store-credit purchase programs stop applying. Check that every tier has linked programs before you turn tiers on.
{% endhint %}

## Verify it works

After the sync finishes, open your storefront as a logged-in customer and open the floating widget's tier section: you should see their assigned tier, its multiplier badge, and the requirements for the next tier. Then place a test order and check the credit log. The earned amount should reflect the tier's multiplier.

## Common issues

* **Tiers page shows "Upgrade plan"**: tiers require the Pro plan or above.
* **A customer's tier didn't update after saving**: you likely skipped the sync. See [Sync tiers to customers](/dollarback-store-credit/loyalty-tiers/sync-tiers-to-customers).
* **A customer earned no cashback after tiers went live**: they may have no tier yet, or their tier has no linked programs. Check their **Customer Tier** metafield and the tier's **Cashback Configs**.
* **Cashback amount doesn't show the multiplier**: the multiplier applies to orders placed after the customer had the tier; past orders are never recalculated. See [Customer didn't receive cashback](/dollarback-store-credit/troubleshooting-and-faq/customer-didnt-receive-cashback).

## Related articles

* [Evaluation windows](/dollarback-store-credit/loyalty-tiers/evaluation-windows)
* [Link cashback programs to tiers](/dollarback-store-credit/loyalty-tiers/link-cashback-programs-to-tiers)
* [Sync tiers to customers](/dollarback-store-credit/loyalty-tiers/sync-tiers-to-customers)
* [Tiers with multiple currencies](/dollarback-store-credit/loyalty-tiers/tiers-with-multiple-currencies)


# Evaluation windows

{% hint style="info" %}
**Plan:** Pro plan and above.
{% endhint %}

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

*This article's section starts at 3:27 in the video.*

The evaluation window is the timeframe DollarBack looks at when deciding a customer's tier. Choose it carefully: it controls how customers climb and whether they can ever fall back down.

## The window options

Set the window in the **Evaluation Window** section of **DollarBack admin → Tiers**. It applies to all tiers at once.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-bc9bd4230bd1ac6542897f0af9c3b0cdeb82405d%2Fdb-tiers-evaluation-window-annotated.png?alt=media" alt="Evaluation Window card with the dropdown set to All time." width="560"><figcaption><p>The evaluation window applies to the whole ladder.</p></figcaption></figure>

| Option                | Counts activity from                                  | Customers move down?                     |
| --------------------- | ----------------------------------------------------- | ---------------------------------------- |
| **All time**          | The customer's entire history                         | No; progress only accumulates            |
| **Last 365 days**     | 365 days before today, sliding forward each day       | Yes; activity ages out one day at a time |
| **Current month**     | The 1st of the current calendar month                 | Yes; counters restart every month        |
| **Current year**      | January 1 of the current year                         | Yes; counters restart every year         |
| **Custom rolling…**   | A number of days you choose, sliding forward each day | Yes; activity ages out one day at a time |
| **Custom recurring…** | A recurring window you define                         | Yes; counters restart at each rollover   |

### Rolling or recurring?

The two custom options sound alike and behave very differently. The difference is whether the window *slides* or *resets*.

**Custom rolling** takes a single **Last … days** value — any number from 1 up, defaulting to 30 when you pick it. The window slides forward every day, so it always covers the same length of recent history: on 10 September a 90-day window counts activity back to 12 June, and tomorrow it counts back to 13 June. Nobody's counter ever restarts; instead, an order drops out of the calculation on the day it turns 91. Use it when you want tiers to reflect a customer's recent trading rather than the calendar, without a cliff edge where everyone resets at once. **Last 365 days** is the same thing with the value fixed at a year.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-cb6968e36f9d530672df6405be81fb5437173336%2Fdb-p2-rt-eval-rolling-annotated.png?alt=media" alt="Evaluation Window set to Custom rolling, with a Last field of 30 days and the help text Rolling window that slides daily." width="560"><figcaption><p>Custom rolling adds a Last … days field. It starts at 30.</p></figcaption></figure>

**Custom recurring** takes a **Start month**, a **Day**, and a **Repeat every** value in months. Everyone's counter restarts together at each rollover. A window that starts on the 1st and repeats every 12 months gives customers a year to qualify and requalify, which is useful when a calendar-year reset feels arbitrary. Repeat every 3 months gives you quarterly tiers.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-a8d9a4bff981524f418f611de63967093a6a7129%2Fdb-p2-rt-eval-recurring-annotated.png?alt=media" alt="Evaluation Window set to Custom recurring, with Start month January, Day 1 and an empty Repeat every field in months." width="560"><figcaption><p>Custom recurring adds Start month, Day and Repeat every. Every customer's counter restarts on the same dates.</p></figcaption></figure>

{% hint style="info" %}
A rolling window is gentler on customers and harder to explain: there's no "your tier resets in January" message to send, because each customer's window is personal to the day. A recurring window is blunter but easier to market, and it gives you a natural moment to run a "requalify now" campaign. Pick for the story you want to tell, not just the arithmetic.
{% endhint %}

## How customers move up

Tier evaluation is automatic. DollarBack re-evaluates a customer against your ladder when their numbers change: about a minute after one of their orders is **fulfilled**, right after a referral reward is paid to them, and when their customer account is created. If they now meet all conditions of a higher tier, they move up; there is nothing for you to run.

Only fulfilled orders count toward tier conditions. An order that is placed but not yet fulfilled doesn't move anyone, and the check runs when it is fulfilled.

The upgrade applies to future orders. The order that pushed a customer over a threshold is calculated at the tier they held when they placed it; multipliers are snapshotted per order (see [Link cashback programs to tiers](/dollarback-store-credit/loyalty-tiers/link-cashback-programs-to-tiers)).

## How customers move down

Customers move down when the activity behind their tier leaves the window — at a rollover with the resetting windows (new month, new year, or the next recurrence of a custom recurring window), or gradually with the rolling ones as old orders age out. Either way, when DollarBack next re-evaluates that customer:

* A customer who no longer meets their tier's conditions drops to the highest tier they still qualify for.
* A customer who meets no tier's conditions has their tier removed entirely.

You don't need to run anything for this. With every window except **All time**, DollarBack re-syncs all your customers automatically, so customers who stop shopping still move down:

* **Last 365 days** and **Custom rolling…** re-sync once a day.
* **Current month**, **Current year** and **Custom recurring…** re-sync when the window resets.

The automatic re-syncs run at 00:00 and 12:00 UTC, so a re-sync happens at the first of those runs after the window moves on. Between re-syncs, a customer's own activity (a fulfilled order, a referral reward) and a [tier sync](/dollarback-store-credit/loyalty-tiers/sync-tiers-to-customers) also re-evaluate them.

With **All time** there is no reset and no automatic re-sync, so tiers are effectively permanent promotions: customers can only accumulate their way up. Pick a rolling or recurring window if you want tiers to reward *recent* loyalty and lapse when a customer stops shopping.

{% hint style="warning" %}
Switching windows (say, All time → Current month) can demote a large share of your customers at the next sync or automatic re-sync, because most will have far less activity inside the new, shorter window. Every customer who moves can get a tier email and sends the Flow and marketing events, so one window change can send many emails at once. Preview the impact on a few known customers before saving, and read [Before you change the ladder](/dollarback-store-credit/loyalty-tiers/what-happens-when-a-customer-changes-tier#before-you-change-the-ladder-many-customers-can-move-at-once) to pause the tier emails first.
{% endhint %}

## When re-evaluation happens

| Trigger                                              | Scope                                                                  |
| ---------------------------------------------------- | ---------------------------------------------------------------------- |
| Order fulfilled                                      | That customer, about a minute later                                    |
| Referral reward processed                            | That customer                                                          |
| Customer account created                             | That customer                                                          |
| Automatic re-sync (every window except **All time**) | All customers, at the 00:00 or 12:00 UTC run after the window moves on |
| **Sync now** after saving settings                   | All customers                                                          |

For recurring windows, the widget can show customers when their progress resets ("Resets on {date}"), so the deadline is visible rather than a surprise.

## Verify it works

Pick a customer whose order history you know. With **All time** selected, note their tier in the widget or their customer metafield. Switch to **Current month**, save, and [sync](/dollarback-store-credit/loyalty-tiers/sync-tiers-to-customers). A customer with old spend but no orders this month should drop, confirming the window drives assignment.

## Common issues

* **A loyal customer suddenly lost their tier**: a recurring window rolled over and their in-window activity no longer qualifies. Widen the window or lower thresholds.
* **Tier didn't change after editing the window**: settings changes reach existing customers at the next sync or automatic re-sync. Run **Sync now** to apply them at once. See [Sync tiers to customers](/dollarback-store-credit/loyalty-tiers/sync-tiers-to-customers).
* **A customer's order didn't move their tier**: the order isn't fulfilled yet. Only fulfilled orders count.
* **Customer expected credit at their new, higher rate on the qualifying order**: the multiplier applies from the next order; per-order snapshots are never recalculated.

## Related articles

* [Build your tiers](/dollarback-store-credit/loyalty-tiers/build-your-tiers)
* [Sync tiers to customers](/dollarback-store-credit/loyalty-tiers/sync-tiers-to-customers)
* [Link cashback programs to tiers](/dollarback-store-credit/loyalty-tiers/link-cashback-programs-to-tiers)
* [What happens when a customer changes tier](/dollarback-store-credit/loyalty-tiers/what-happens-when-a-customer-changes-tier)
* [Loyalty tiers overview](/dollarback-store-credit/loyalty-tiers/loyalty-tiers-overview)


# Link cashback programs to tiers

{% hint style="info" %}
**Plan:** Pro plan and above.
{% endhint %}

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

*This article's section starts at 5:31 in the video.*

When tiers are active, a customer earns purchase cashback only from the programs linked to their tier. This page shows how to link programs to each tier and explains the one rule that surprises merchants: multipliers are locked in per order.

## Prerequisites

* A tier ladder built and enabled ([Build your tiers](/dollarback-store-credit/loyalty-tiers/build-your-tiers))
* The purchase cashback programs you want your tiers to earn from already created ([Set up purchase cashback](/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback))

## Link programs to a tier

1. Go to **Tiers** in the DollarBack menu and open the tier.
2. In the tier's **Cashback Configs** section, click **Select configs**.
3. Pick the purchase programs this tier earns from and click **Done**.
4. Repeat for every tier, then **Save** and click **Sync now** in the banner that appears ([Sync tiers to customers](/dollarback-store-credit/loyalty-tiers/sync-tiers-to-customers)).

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-e2756b627e7dd8293d548f1fea51be170b29fa72%2Fdb-tier-cashback-configs-annotated.png?alt=media" alt="Cashback Configs section of the Gold tier with a 4 configs assigned button and chips Birthday reward, Follow on Linkedin, 10$ API reward and Cleanse &#x26; Prep." width="560"><figcaption><p>The Cashback Configs section lists the programs linked to this tier. Only the purchase programs among them are limited to this tier's members. When no program is assigned, the button reads Select configs.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-181a97ff35b3ecc13bffb5d2149942331fdfc6a0%2Fdb-tier-select-configs-modal-annotated.png?alt=media" alt="Select Cashback Configs modal with four ticked programs, each with badges for value, type and reward kind, and a Done button." width="560"><figcaption><p>Tick the purchase programs that this tier should own, click Done, then save the page. The list also shows birthday, social and custom programs, but tiers don't limit them.</p></figcaption></figure>

From then on, that program only earns for members of the tiers it's linked to. Customers in other tiers don't earn from it, and storefront widgets won't advertise it to them. In the widget's tier ladder it appears as one of the rewards the tier unlocks.

{% hint style="info" %}
Linking only affects **purchase** programs. The **Select configs** list also shows birthday, social and other programs, but linking one of them to a tier has no effect: it keeps paying every eligible customer, whatever their tier, and the widget keeps showing it in its own section, not in the tier card.
{% endhint %}

A purchase program you want everyone to earn from must be linked to every tier. While tiers are active, a purchase program that isn't linked to any tier pays nobody, and a customer with no tier, or whose tier is switched off or has no linked programs, earns no purchase cashback at all.

{% hint style="warning" %}
While tiers are active, the **Include customer tags** and **Exclude customer tags** fields on your store-credit purchase programs are ignored (the editor greys them out); the tier decides who earns. The store-wide **Exclude customers by tag** setting still applies.
{% endhint %}

## How exclusive programs combine with multipliers

Both tier levers apply together. Say your top tier has a ×2 multiplier and an exclusive "10% back on the premium collection" program:

* A top-tier member buying a $58 serum from that collection earns 10% × $58 × 2 = **$11.60**.
* A mid-tier member buying the same serum earns nothing from that program; it isn't linked to their tier. They still earn from the programs linked to their own tier, at their tier's multiplier.

All the usual calculation rules (winner-takes-all per line, caps, rounding) still apply. See [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated).

## The multiplier is snapshotted per order

When an order comes in, DollarBack records the customer's tier multiplier **on that order** and uses the recorded value forever after:

* **Changing a tier's multiplier later never changes past orders' cashback.** Raise Gold from ×2 to ×3 and only new orders earn at ×3.
* **A customer changing tiers never changes past orders either.** The order that promotes someone to Gold is itself calculated at their previous tier's rate; the Gold rate starts with their next order.
* **Refunds and order edits reconcile with the original snapshot.** If a Gold-at-×2 order is later partially refunded, even after you changed the multiplier or the customer changed tiers, the clawback is computed at the original ×2, so the numbers always match what was actually credited.

This is deliberate: credited amounts are an audit trail, and re-resolving multipliers retroactively would silently rewrite customers' history.

## Verify it works

Sign in as a member of the tier and confirm the linked program shows in their widget; place a test order and check the credit log shows the program plus the tier-multiplied amount. Then sign in as a customer from another tier and confirm the program is absent for them.

## Common issues

* **A customer outside the tier earned from the program**: they may have been synced into the tier since you last checked, or the program is also assigned elsewhere. Check their current tier and the config assignments.
* **Multiplier change didn't affect an order placed yesterday**: this is expected, because snapshots are permanent. Only orders placed after the change use the new value.
* **Customer earned no purchase cashback at all**: check they have a tier, that the tier is switched on, and that it has linked programs. Then confirm their tier assignment is synced and walk [Customer didn't receive cashback](/dollarback-store-credit/troubleshooting-and-faq/customer-didnt-receive-cashback).

## Related articles

* [Build your tiers](/dollarback-store-credit/loyalty-tiers/build-your-tiers)
* [Sync tiers to customers](/dollarback-store-credit/loyalty-tiers/sync-tiers-to-customers)
* [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated)
* [Evaluation windows](/dollarback-store-credit/loyalty-tiers/evaluation-windows)


# Tiers with multiple currencies

{% hint style="info" %}
**Plan:** Pro plan and above.
{% endhint %}

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

*Multi-currency conversion is touched on at 5:03 in the video.*

If your store sells in more than one currency through Shopify Markets, DollarBack still measures **Money Spent** in your store's base currency. The market-currency amounts you see on the Tiers page are mainly what your storefront widgets show shoppers who browse in that currency. DollarBack converts them for you, or you can set each one by hand.

## How spend is measured

**Money Spent** always uses your base currency. DollarBack reads each fulfilled order's current total in your store's currency, as Shopify records it, and compares the sum with the base-currency **Amount**. So a customer who shops in EUR on a USD store qualifies for "Money Spent at least $200" when their fulfilled orders add up to $200 in your Shopify reports. The EUR amount on the tier doesn't change who qualifies.

**Cashback Earned** and **Cashback Redeemed** are measured in the currency of the customer's store credit account. When a customer's store credit is held in a market currency (for example EUR), their earned or redeemed total is compared with the EUR amount on the tier.

## Prerequisites

* A tier ladder with at least one money-based condition (Money Spent, Cashback Earned, or Cashback Redeemed); see [Build your tiers](/dollarback-store-credit/loyalty-tiers/build-your-tiers)
* More than one market currency active in Shopify Markets

## Where currency thresholds live

Open **DollarBack admin → Tiers** and edit a money-based condition. You enter the threshold in your store's base currency, say `$200` on a USD store. When other market currencies exist, a **Market currencies** button (with the count) appears under the condition once the base amount is above 0; click it to expand one row per market currency.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-4894a4a99e7b5133e7cde09db915c7fa25611078%2Fdb-tier-market-currencies-annotated.png?alt=media" alt="Money Spent condition with Amount (USD) 1000 and expanded Market currencies rows for Canadian Dollar (CAD) and Euro (EUR), each greyed and marked Auto." width="560"><figcaption><p>Each market currency follows the base amount on Auto. Switch a row to Manual to set a fixed number.</p></figcaption></figure>

## Auto vs Manual per currency

Each market-currency row has its own **Auto** / **Manual** toggle. The in-app helper says: "Auto values are converted from USD using Shopify rates. Toggle to "Manual" to set a custom amount." (with your base currency in place of USD).

| Mode       | Behavior                                                                                                                                                                                             | Use when                                                           |
| ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| **Auto**   | DollarBack converts your base amount with Shopify's exchange rate at the moment you type it, and saves that number. It is a one-time conversion: the saved amount doesn't follow later rate changes. | You don't mind uneven numbers (e.g. $200 → €183.42).               |
| **Manual** | You type a fixed amount for that currency.                                                                                                                                                           | You want clean, marketable numbers per market (e.g. exactly €200). |

The two modes mix freely: a USD-base store can leave CAD on Auto and set EUR manually.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-393179d8c61be15ad455bc9fa704eaf4ca356201%2Fdb-p2-rt-currency-manual-annotated.png?alt=media" alt="Expanded Market currencies with Canadian Dollar on Auto and greyed out, and Euro switched to Manual with an editable amount of 875.33." width="560"><figcaption><p>Click Auto on a row to switch it to Manual. Only a Manual row lets you type an amount.</p></figcaption></figure>

**Example.** Base currency USD, Silver at Money Spent at least $200, EUR set to Manual €200. A shopper browsing in EUR sees "Spend €200" in the widget. They reach Silver when their fulfilled orders total $200 in your base currency, whatever that is in euros on the day.

{% hint style="warning" %}
**Manual amounts are not remembered as Manual.** When you reload the Tiers page, every market-currency row shows **Auto** again, with a fresh conversion from today's rate. Your saved manual amount is kept as long as you don't change the base **Amount**. If you change the base **Amount**, every row that shows **Auto** is converted again, which replaces your manual amounts. After you edit a base amount, switch those rows to **Manual** and re-enter your numbers before you save.
{% endhint %}

To refresh Auto amounts after exchange rates move, re-enter the base **Amount** and save.

## After changing thresholds

Threshold edits behave like any other tier settings change: **Save**, then click **Sync now** in the banner so existing customers are re-evaluated against the new base-currency numbers. See [Sync tiers to customers](/dollarback-store-credit/loyalty-tiers/sync-tiers-to-customers). Widgets show tier requirements in the shopper's market currency, using the amounts saved for that currency.

## Verify it works

Browse your storefront through a non-base market (for example your `/fr-fr/` presence with EUR prices) as a signed-in customer, and open the widget's tier section: the requirement for the next tier should show in EUR, matching the amount saved for EUR.

## Common issues

* **The widget shows an old or uneven amount in one currency**: Auto amounts are converted once, when you set the base amount. Switch the row to **Manual** and enter the number you want, then save.
* **My manual amount changed back**: you edited the base **Amount** while that row showed **Auto**. Re-enter the manual amount and save.
* **A customer spent the market amount but didn't move up**: qualification uses the base currency. Check their fulfilled order totals in your store's currency.
* **Edited a Manual amount but customers didn't move**: for **Money Spent**, market-currency amounts only change what the widget shows. For **Cashback Earned** and **Cashback Redeemed**, they apply to customers whose store credit is in that currency, after you save and click **Sync now**.

## Related articles

* [Build your tiers](/dollarback-store-credit/loyalty-tiers/build-your-tiers)
* [Sync tiers to customers](/dollarback-store-credit/loyalty-tiers/sync-tiers-to-customers)
* [Evaluation windows](/dollarback-store-credit/loyalty-tiers/evaluation-windows)
* [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated)


# Sync tiers to customers

{% hint style="info" %}
**Plan:** Pro plan and above.
{% endhint %}

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

*This article's section starts at 7:28 in the video.*

Saving tier settings doesn't reassign everyone at once; a sync pushes your changes to every customer. This page covers when to sync, what happens while it runs, and how to confirm the result.

## Why sync is required

Day to day, DollarBack re-evaluates customers one at a time as their activity changes (an order, a referral, a new account). But when you change the rules themselves (thresholds, multipliers, tier order, the evaluation window, config assignments), every existing customer needs to be re-checked against the new ladder at once. That's the sync.

After you click **Save** on the Tiers page, a banner titled **Sync required to apply changes** tells you exactly this: "Your tier settings have been saved. Sync to push the changes to all customers."

You don't strictly have to sync. Without it, customers still move to the new ladder one at a time, at their own next check (about a minute after one of their orders is fulfilled, or after a referral reward), and everyone moves at the next automatic re-sync if your [evaluation window](/dollarback-store-credit/loyalty-tiers/evaluation-windows) isn't **All time**. The sync just applies the change to everyone now.

## Run the sync

1. Go to **DollarBack admin → Tiers**, make your changes and click **Save**.
2. In the **Sync required to apply changes** banner, click **Sync now**. The button is only in that banner, which appears after a save. If you closed the banner, the page has no other **Sync now** button until you save again.
3. The sync runs in the background across your whole customer base. While it runs, the page shows **Sync in Progress** and warns: "Tiers are being synced. Please wait before making changes." Editing is blocked until it completes so a half-applied ladder can't produce mixed results.

You don't need to keep the page open; the job continues server-side.

## How long it takes

Duration scales with your customer count. Stores with a few thousand customers typically finish within minutes; very large customer bases take longer because customers are processed in background batches. If the **Sync in Progress** state persists unusually long, refresh the page before assuming something is stuck; the status updates as the background job reports in.

{% hint style="warning" %}
Make all your tier edits first, then sync once. Each sync walks your entire customer base, and you can't edit while one is running.
{% endhint %}

Every customer the sync moves gets the tier email for their move, and sends the Flow and marketing events, just like a single move. A big ladder change can send many emails at once. See [What happens when a customer changes tier](/dollarback-store-credit/loyalty-tiers/what-happens-when-a-customer-changes-tier#before-you-change-the-ladder-many-customers-can-move-at-once) before you sync.

## Verify a customer's tier

**In the widget (customer side).** Open your storefront signed in as the customer and open the floating widget's tier section: it shows their current tier, its multiplier badge, and progress toward the next tier. The loyalty page's tier section reflects the same assignment.

**In the admin (merchant side).** DollarBack stores each customer's tier name on their Shopify customer record in the **Customer Tier** metafield (`dollarback_tiers.customer_tier`). Open **Shopify admin → Customers**, pick the customer, and check the metafields section of their profile to see the assigned tier. To see everyone in a tier at once, click **View customers** on the tier; see [See tier customers as a Shopify segment](/dollarback-store-credit/loyalty-tiers/see-tier-customers-as-a-shopify-segment). The **Tiers Summary** on the Tiers page shows your configured ladder (conditions, multipliers, and assigned programs) for cross-checking why a customer landed where they did.

## Verify it works

Pick a customer whose spend you know puts them in a specific tier. After the sync completes, confirm both views above agree: the widget shows the expected tier, and the customer's metafield carries the same value. Then place a test order with that account and check the credit log. The earned amount should reflect the tier's multiplier.

## Common issues

* **Customer's tier didn't change after saving settings**: the sync hasn't been run (or hasn't finished). Click **Sync now** in the **Sync required to apply changes** banner. If you closed the banner, save a change again to bring it back.
* **There's no Sync now button**: it only appears in the banner after you save.
* **Tier is right in admin but the widget looks stale**: storefront data can be cached briefly; hard-refresh, and if the widget itself isn't rendering see [Widget isn't showing](/dollarback-store-credit/troubleshooting-and-faq/widget-isnt-showing).
* **Tier is correct but an order earned at the old rate**: multipliers are snapshotted per order; orders placed before the tier change keep their original rate. See [Link cashback programs to tiers](/dollarback-store-credit/loyalty-tiers/link-cashback-programs-to-tiers).
* **Can't edit tiers**: a sync (or bulk code generation) is still running; wait for it to finish.

## Related articles

* [Build your tiers](/dollarback-store-credit/loyalty-tiers/build-your-tiers)
* [Evaluation windows](/dollarback-store-credit/loyalty-tiers/evaluation-windows)
* [What happens when a customer changes tier](/dollarback-store-credit/loyalty-tiers/what-happens-when-a-customer-changes-tier)
* [Link cashback programs to tiers](/dollarback-store-credit/loyalty-tiers/link-cashback-programs-to-tiers)
* [See tier customers as a Shopify segment](/dollarback-store-credit/loyalty-tiers/see-tier-customers-as-a-shopify-segment)
* [The floating cashback widget](/dollarback-store-credit/widgets-and-storefront/the-floating-cashback-widget)


# What happens when a customer changes tier

{% hint style="info" %}
**Plan:** Pro plan and above.
{% endhint %}

When DollarBack moves a customer to a new tier, it does more than update a label. The move changes how the customer earns, and it sends emails and events that your other tools can react to. This page lists everything that happens, and when.

## When DollarBack checks a customer's tier

DollarBack re-checks one customer at a time when their activity changes:

| What happened                                 | When the check runs                                                           |
| --------------------------------------------- | ----------------------------------------------------------------------------- |
| An order is **fulfilled**                     | About a minute after fulfilment. Tier conditions count fulfilled orders only. |
| A **referral reward** is paid to the customer | Right after the reward                                                        |
| A new **customer account** is created         | Right away                                                                    |

It also re-checks **every** customer at once:

* when you click **Sync now** on the Tiers page (see [Sync tiers to customers](/dollarback-store-credit/loyalty-tiers/sync-tiers-to-customers)), and
* automatically, when your [evaluation window](/dollarback-store-credit/loyalty-tiers/evaluation-windows) moves on. A rolling window (**Last 365 days** or **Custom rolling…**) re-syncs every night. **Current month**, **Current year** and **Custom recurring…** re-sync when the window resets. **All time** never re-syncs on its own.

Tiers must be **Active** on the Tiers page. While tiers are off, no checks run and nobody moves.

## What changes for the customer

### Earning

From the moment the move is saved, purchase cashback follows the new tier:

* The customer earns only from the purchase programs **linked to the new tier**. See [Link cashback programs to tiers](/dollarback-store-credit/loyalty-tiers/link-cashback-programs-to-tiers).
* The new tier's **Cashback multiplier** applies.
* A customer who **loses** every tier earns no purchase cashback until they qualify again.

The rate is fixed per order when the order is processed. An order placed before the move keeps the old tier's programs and multiplier. This includes the order that moved the customer up: its cashback is worked out at order time, and the tier check runs after it is fulfilled.

### Storefront

The floating widget and the loyalty page show the new tier, its multiplier and the progress toward the next tier the next time the customer loads a page. Storefront data can be cached for a short time.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-b08cecfb57ed82ad04e9b62aad66585684865702%2Fdb-cx-widget-home.png?alt=media" alt="Floating widget Home tab for a signed-in customer: Your Credit $22.33, a tier card Bronze marked CURRENT with Next: Silver • Spend $250.00, a Referral Program card and a Redeem rewards card." width="380"><figcaption><p>The widget's Home tab shows your customer's current tier and the next tier to reach.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-e87f2a69833e90740fd01ccf11317dc554c4722b%2Fdb-cx-widget-offers-tiers.png?alt=media" alt="Floating widget Offers tab with a Your Tier list: Gold with a 2× badge and To unlock: Spend $1,000.00, Silver with a 1.5× badge and To unlock: Spend $250.00, both locked, and Bronze marked CURRENT. Each tier has a View rewards link." width="380"><figcaption><p>The Offers tab marks the current tier. After a move, the CURRENT badge follows the customer to the new tier.</p></figcaption></figure>

### Wallet pass

If the customer has a [wallet pass](/dollarback-store-credit/integrations/wallet-passes) installed, DollarBack refreshes it so the pass shows the new tier.

## Emails

DollarBack sends one email per move, if [customer emails](/dollarback-store-credit/notifications/email-notifications-overview) are turned on for your store and the customer has an email address:

| Move                                 | Email                                           |
| ------------------------------------ | ----------------------------------------------- |
| First tier ever                      | **Tier Reached**                                |
| Up from a tier they held             | **Tier Upgraded**                               |
| Down to a lower tier they still hold | **Tier Downgraded**                             |
| Out of every tier                    | **Tier Lost** (sent instead of Tier Downgraded) |

All four templates are on by default. Turn any of them off, or change the text, in its editor under **Notifications**. See [Customize email templates](/dollarback-store-credit/notifications/customize-email-templates).

## Flow and marketing events

Every move also sends an event, whether or not an email goes out:

| Move                       | Shopify Flow trigger         | Klaviyo, Omnisend and Mailchimp event |
| -------------------------- | ---------------------------- | ------------------------------------- |
| Up, or a first tier        | **Customer Tier Upgraded**   | `tier_upgraded`                       |
| Down, or out of every tier | **Customer Tier Downgraded** | `tier_downgraded`                     |

Each event carries the new **tier** (empty when the customer lost their tier), the **previous tier** (empty for a first tier) and the **reason**. Use them to tag customers, start a welcome flow for a new tier, or win back customers who dropped. See [Shopify Flow triggers and actions](/dollarback-store-credit/integrations/shopify-flow-triggers-and-actions), [Klaviyo](/dollarback-store-credit/integrations/klaviyo-integration), [Omnisend](/dollarback-store-credit/integrations/omnisend-integration) and [Mailchimp](/dollarback-store-credit/integrations/mailchimp-integration).

## Before you change the ladder: many customers can move at once

A sync re-checks your whole customer base. If you raise a threshold, remove a tier or shorten the evaluation window, many customers can move in one sync, and each one who moves gets the tier email and sends the Flow and marketing events above. The automatic window re-syncs work the same way: a **Current month** window, for example, can move many customers down on the 1st of each month.

To avoid a burst of unexpected emails:

1. Before you save a big change, decide whether customers should hear about it. If not, open **Notifications**, open the tier templates, and switch them off.
2. Make all your tier edits, save, and run **Sync now** once.
3. When the sync is finished, switch the templates back on.

Check your Klaviyo, Omnisend, Mailchimp and Flow automations on `tier_upgraded` and `tier_downgraded` too. They react to every move, including the moves a sync makes.

## Verify it works

1. Pick a test customer who is just below a tier threshold.
2. Place an order with that customer and fulfil it.
3. After a few minutes, check the customer's **Customer Tier** metafield in Shopify admin, or open the widget signed in as the customer. It shows the new tier.
4. Check that the tier email arrived, and that your Flow or marketing tool received the event.
5. Place a second order. Its cashback uses the new tier's programs and multiplier.

## Common issues

* **The customer moved, but the order that got them there earned at the old rate.** That is expected: the rate is fixed when the order is processed, before the tier check.
* **No tier email arrived.** Check that customer emails are turned on for your store, that the template is on, and that the customer has an email address.
* **Many customers got a "Tier Downgraded" email on the same day.** A sync or an evaluation window reset moved them. See [Before you change the ladder](#before-you-change-the-ladder-many-customers-can-move-at-once).
* **The tier didn't change after an order.** Tier conditions count fulfilled orders. An order that is paid but not fulfilled doesn't move anyone yet.

## Related articles

* [Loyalty tiers overview](/dollarback-store-credit/loyalty-tiers/loyalty-tiers-overview)
* [Evaluation windows](/dollarback-store-credit/loyalty-tiers/evaluation-windows)
* [Sync tiers to customers](/dollarback-store-credit/loyalty-tiers/sync-tiers-to-customers)
* [Email notifications overview](/dollarback-store-credit/notifications/email-notifications-overview)


# See tier customers as a Shopify segment

{% hint style="info" %}
**Plan:** Pro plan and above.
{% endhint %}

Every tier on the Tiers page has a **View customers** button. It opens Shopify's own customer list, filtered to everyone currently in that tier, as a saved customer segment. From there you can email the tier, give it a discount, or export it, all with Shopify's built-in tools.

## Open a tier's segment

1. Go to **DollarBack admin → Tiers**.
2. In the tier's row, click **View customers**. (The button appears once the tier has a name.)
3. DollarBack opens **Shopify admin → Customers → Segments** on a segment named `DollarBack · <tier name> tier`, for example `DollarBack · Gold tier`.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2b86525c26da80fe4d906d53da0236764813d48a%2Fdb-tier-header-view-customers-annotated.png?alt=media" alt="Gold tier header with a View customers link, a 2x badge, an Active badge and a switch." width="560"><figcaption><p>View customers is on the header row of each tier.</p></figcaption></figure>

The first click creates the segment. Later clicks open the same one, so you don't end up with duplicates.

## How the segment works

DollarBack writes each customer's current tier name to a customer metafield, **Customer Tier** (`dollarback_tiers.customer_tier`). The segment is a plain filter on that field:

```
metafields.dollarback_tiers.customer_tier = 'Gold'
```

Because it's a live Shopify segment, it keeps itself up to date: when a customer moves up or down a tier, they leave one segment and join the other. There's nothing to re-export.

You can build the same filter yourself in **Customers → Segments → Create segment**, and combine it with any other Shopify condition. For example, Gold customers who haven't ordered in 90 days:

```
metafields.dollarback_tiers.customer_tier = 'Gold' AND last_order_date < -90d
```

## What you can do with it

* **Email the tier** with Shopify Messaging: pick the segment as the recipients of a campaign, e.g. an early-access announcement for your top tier.
* **Give the tier a discount**: in **Shopify admin → Discounts**, set the customer eligibility to the segment.
* **Export the list**: open the segment and use Shopify's **Export** to download the customers as CSV.
* **Use it in Shopify Flow**: Flow can check the same **Customer Tier** metafield on a customer. To react the moment someone joins or leaves a tier, use DollarBack's **Customer Tier Upgraded** and **Customer Tier Downgraded** Flow triggers instead; see [Flow and marketing events](/dollarback-store-credit/loyalty-tiers/what-happens-when-a-customer-changes-tier#flow-and-marketing-events).

## Renaming a tier

The segment is matched by the tier's name. If you rename a tier, the next **View customers** click creates a new segment under the new name. The segment for the old name stays in Shopify; delete it from **Customers → Segments** if you no longer need it.

{% hint style="warning" %}
After a rename, the new segment can stay empty. Customers who were already in the tier can keep the **old** name in their **Customer Tier** metafield, because DollarBack still recognises their tier and has nothing to change. After you rename a tier, save and click **Sync now**, then open a member's profile and check the metafield. If it still shows the old name, contact us. Until then, the segment for the old name still lists those customers.
{% endhint %}

## Verify it works

Pick a customer whose tier you know. Open their profile in **Shopify admin → Customers** and check the **Customer Tier** metafield shows that tier's name. Then click **View customers** on that tier and confirm the customer is in the list.

## Common issues

* **The segment is empty or is missing customers**: a customer only appears once their **Customer Tier** metafield has a value. Check the metafield on a missing customer's profile. If it's blank, make sure you've run the sync after your last tier change (see [Sync tiers to customers](/dollarback-store-credit/loyalty-tiers/sync-tiers-to-customers)), and contact us if it stays blank.
* **"View customers" is greyed out**: a sync (or bulk code generation) is still running. Wait for it to finish.
* **A customer is in the wrong segment**: tier changes after you edit the rules only apply once you sync. See [Sync tiers to customers](/dollarback-store-credit/loyalty-tiers/sync-tiers-to-customers).

## Related articles

* [Build your tiers](/dollarback-store-credit/loyalty-tiers/build-your-tiers)
* [Sync tiers to customers](/dollarback-store-credit/loyalty-tiers/sync-tiers-to-customers)
* [Monthly store credit balance reminders](/dollarback-store-credit/notifications/monthly-store-credit-balance-reminders)
* [Shopify Flow: triggers & actions](/dollarback-store-credit/integrations/shopify-flow-triggers-and-actions)


# Widgets & Storefront

Every customer-facing surface and how to customize it.

* [Widget map: what shows where](/dollarback-store-credit/widgets-and-storefront/widget-map-what-shows-where)
* [Product page & cart cashback messages](/dollarback-store-credit/widgets-and-storefront/product-page-and-cart-cashback-messages)
* [The floating cashback widget](/dollarback-store-credit/widgets-and-storefront/the-floating-cashback-widget)
* [Open the widget from a menu link](/dollarback-store-credit/widgets-and-storefront/open-the-widget-from-a-menu-link)
* [Set up the loyalty page](/dollarback-store-credit/widgets-and-storefront/set-up-the-loyalty-page)
* [Checkout & thank-you widgets](/dollarback-store-credit/widgets-and-storefront/checkout-and-thank-you-widgets)
* [Customer account blocks](/dollarback-store-credit/widgets-and-storefront/customer-account-blocks)
* [Icons & images](/dollarback-store-credit/widgets-and-storefront/icons-and-images)
* [Translate your widgets](/dollarback-store-credit/widgets-and-storefront/translate-your-widgets)


# Widget map: what shows where

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

\_This article's section starts at 0:00 in the video.\_

DollarBack can appear in 15 places across your store, from the product page to the checkout, the thank-you page, and your customers' account pages. This page is the index: what each touchpoint shows, where it lives, and where to go to set it up.

All touchpoints are managed from **DollarBack admin → Customize**, which groups them the same way this page does.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-49799c7171b68379efd41adc7b6a97535dd5218f%2Fdb-customization-index-annotated.png?alt=media" alt="The DollarBack Customize widgets page with the Storefront group showing cards for Product page cashback, Cart page cashback and Cashback widget, each with an Active badge and a Customize button."><figcaption><p>Every DollarBack touchpoint has a card on the Customize page, grouped by where it shows on your store.</p></figcaption></figure>

## Storefront (theme blocks and app embeds)

Widgets your customers see while browsing. Activated in the Shopify theme editor, customized in DollarBack.

* **Product page cashback message**: a line on each product page showing what that product earns. → [Product page & cart cashback messages](/dollarback-store-credit/widgets-and-storefront/product-page-and-cart-cashback-messages)
* **Cart cashback message**: the same message for the whole cart, including order-goal progress. → [Product page & cart cashback messages](/dollarback-store-credit/widgets-and-storefront/product-page-and-cart-cashback-messages)
* **Floating cashback widget**: a site-wide launcher that opens a panel with balance, ways to earn, tiers, referrals, a Redeem view for rewards, and history. → [The floating cashback widget](/dollarback-store-credit/widgets-and-storefront/the-floating-cashback-widget)
* **Loyalty page**: a full storefront page for your rewards program. → [Set up the loyalty page](/dollarback-store-credit/widgets-and-storefront/set-up-the-loyalty-page)

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-b08cecfb57ed82ad04e9b62aad66585684865702%2Fdb-cx-widget-home.png?alt=media" alt="The floating panel on the storefront for a signed-in customer: Your Credit $22.33 with a history icon in the header, a Bronze tier card marked Current with Next: Silver, Spend $250.00, a Referral Program card that says You get $5.00, They get $5.00, a Redeem rewards card, and Home, Offers and Referral tabs." width="380"><figcaption><p>The floating cashback widget as a signed-in customer sees it.</p></figcaption></figure>

## Checkout and post-purchase

Blocks added in the Shopify checkout editor. The two checkout blocks require Shopify Plus; the thank-you blocks work on all plans.

* **Checkout cashback**: tells the customer what this order will earn, right in checkout. → [Checkout & thank-you widgets](/dollarback-store-credit/widgets-and-storefront/checkout-and-thank-you-widgets)
* **Checkout reward marketplace**: lets customers redeem credit for rewards without leaving checkout. → [Checkout & thank-you widgets](/dollarback-store-credit/widgets-and-storefront/checkout-and-thank-you-widgets)
* **Thank-you cashback**: confirms the credit just earned, with its expiry note. → [Checkout & thank-you widgets](/dollarback-store-credit/widgets-and-storefront/checkout-and-thank-you-widgets)
* **Thank-you referral**: invites the customer to share their referral link while the purchase is fresh. → [Checkout & thank-you widgets](/dollarback-store-credit/widgets-and-storefront/checkout-and-thank-you-widgets)

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-8f6e4fa77b227e9e8a875d57882ecc11bc17a4ed%2Fdb-cx-checkout-cashback-banner.png?alt=media" alt="The checkout order summary with a green banner, You will earn $2.50 as cashback on this order!, above four items, the discount code field, and the subtotal, shipping and total." width="470"><figcaption><p>The Checkout cashback block tells your customers what the order will earn.</p></figcaption></figure>

## Customer account

Blocks on the new customer account pages (order list, order status, profile).

* **Order status cashback**: credit earned on that specific order, on the order status page. → [Customer account blocks](/dollarback-store-credit/widgets-and-storefront/customer-account-blocks)
* **All orders cashback**: the store credit balance on the order list page, with a **Reward history** button that opens filterable history. → [Customer account blocks](/dollarback-store-credit/widgets-and-storefront/customer-account-blocks)
* **Referral blocks (three placements)**: referral code and share UI on the order list, order status, and profile pages. → [Customer account blocks](/dollarback-store-credit/widgets-and-storefront/customer-account-blocks)
* **Account reward marketplace**: redeem rewards from the profile page. → [Customer account blocks](/dollarback-store-credit/widgets-and-storefront/customer-account-blocks)
* **Wallet pass**: a Google or Apple Wallet loyalty card on the customer's phone, updated when DollarBack issues or deducts credit or the tier changes. → [Customer account blocks](/dollarback-store-credit/widgets-and-storefront/customer-account-blocks)

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-ee2db1fcedb56ccde2338385fbee303263ac09ad%2Fdb-cx-account-profile.png?alt=media" alt="The customer account Profile page with three blocks: Loyalty card with Add to Google Wallet and Add to Apple Wallet buttons; a referral block with Copy Code and WhatsApp buttons; and Redeem rewards with Available credit $12.33, two rewards that cost $20.00 marked Add $7.67 more to redeem, a Free shipping reward that costs $5.00 with a Redeem button, and a View history button." width="560"><figcaption><p>The Profile page with the wallet pass, referral and account reward marketplace blocks.</p></figcaption></figure>

## Third-party cart drawers

* **Cart drawer cashback**: the cart message rendered inside Rebuy, Upcart, Monster, AMP, or your theme's native drawer. → [Cart drawer integrations](/dollarback-store-credit/integrations/cart-drawer-integrations)

## The full matrix

| Touchpoint                  | Surface                                                 | What it shows                                                                                                                                                                                                                                                                                                                                        | You can customize                                                                                                                                                             |
| --------------------------- | ------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Product page message        | PDP theme block                                         | Cashback earnable on this product; order-goal not-yet-reached / top-tier-reached states; discount-code reward messages                                                                                                                                                                                                                               | Message text per state, background/text color, size, weight, padding, tooltip, custom CSS                                                                                     |
| Cart message                | Cart page / drawer theme block                          | Cashback for the current cart; order-goal not-yet-reached / top-tier-reached states; discount reward messages; loading state                                                                                                                                                                                                                         | Message templates per state, colors, typography, padding, tooltip, custom CSS                                                                                                 |
| Floating cashback widget    | App embed (site-wide)                                   | Launcher opening a panel with Home, Offers (ways to earn: signup / newsletter / birthday / social forms, tiers and progress) and Referral tabs (Offers and Referral only when they have content), a Redeem view for rewards, history with an All / Store credit / Discount codes / Referral filter, and an optional card linking to the loyalty page | Launcher label and icon, all labels and tab names, login prompts, Home card order, loyalty-page card, panel width, 5 color roles, border radius, custom CSS                   |
| Loyalty page                | Full storefront page                                    | Hero, how-it-works steps, ways to earn, tiers, referral block with share buttons (Facebook, X, WhatsApp, email), reward history, FAQ                                                                                                                                                                                                                 | Every section's copy (logged in/out variants), hero image, section hiding, full branding tokens (colors, type, radii), sign-in/registration URLs, custom CSS (`db-loyalty-*`) |
| Checkout cashback           | Checkout block (Shopify Plus)                           | Cashback the order will earn; order-goal progress; discount reward notices                                                                                                                                                                                                                                                                           | Offers title, message templates per state, scope phrase                                                                                                                       |
| Checkout reward marketplace | Checkout block (Shopify Plus), signed-in customers only | Balance plus your marketplace rewards, with a shortfall note on rewards the customer can't afford yet; redeem, **Apply to cart** and copy-code actions                                                                                                                                                                                               | Heading, collapsed summary, maximum offers, balance, cost, expiry and shortfall labels, button labels, success/error messages (reward wording is shared)                      |
| Thank-you cashback          | Thank-you block                                         | Credit earned on the order just placed, expiry note, discount-code rewards earned                                                                                                                                                                                                                                                                    | Offers title, title, cashback/expiry/loading messages, discount reward messages                                                                                               |
| Thank-you referral          | Thank-you block                                         | Referral invite with a **Copy Code** button for signed-in customers; a **Login to share** prompt for guests                                                                                                                                                                                                                                          | Heading, body message, button and clipboard text, image (per state)                                                                                                           |
| Order status cashback       | Order status block (**Store Credit Earned**)            | Credit earned on that order                                                                                                                                                                                                                                                                                                                          | Cashback earned message                                                                                                                                                       |
| All orders cashback         | Order list block (**Store Credit Earned**)              | Balance banner with a **Reward history** button that opens history with filters                                                                                                                                                                                                                                                                      | Heading, body message, button label, popup title, history filter, tag and detail labels                                                                                       |
| Referral blocks (×3)        | Order list / order status / profile                     | Referral code, copy button and WhatsApp share                                                                                                                                                                                                                                                                                                        | Heading, body message, copy-button and clipboard text                                                                                                                         |
| Account reward marketplace  | Profile block                                           | Your marketplace rewards (with a shortfall note on the ones the customer can't afford yet), redemption history, balance                                                                                                                                                                                                                              | Headings, balance label, shortfall note, empty states, button labels, success/error messages (reward wording is shared)                                                       |
| Wallet pass                 | Profile block + phone wallet (Google or Apple)          | Loyalty card: balance, member name, tier, QR code; updates when DollarBack issues or deducts credit or the tier changes (store credit spent at checkout does not update it)                                                                                                                                                                          | Issuer and program name, launch URL, per-platform images and colors, notification texts with variables, Google campaign broadcast                                             |
| Cart drawer cashback        | Rebuy · Upcart · Monster · AMP · theme drawer           | Cashback message inside the third-party drawer, mirroring the cart message                                                                                                                                                                                                                                                                           | Per-drawer enablement; inherits the cart message templates                                                                                                                    |

Every text field in this table can also be translated per language; see [Translate your widgets](/dollarback-store-credit/widgets-and-storefront/translate-your-widgets). The wording of the rewards themselves and their unlock conditions isn't in any one widget: it is shared by every reward marketplace and edited once in **Customize → Reward marketplace text**; see [Word your rewards](/dollarback-store-credit/spending-store-credit-and-rewards/set-up-the-reward-marketplace#word-your-rewards-reward-marketplace-text). The icons and illustrations on the widget and loyalty page are swappable independently of all of this; see [Icons & images](/dollarback-store-credit/widgets-and-storefront/icons-and-images). Theme developers who want to render cashback messaging in their own markup can use the [storefront window API](/dollarback-store-credit/developer-tools/storefront-window-api).

## Common issues

* A widget is activated but nothing appears on the storefront; see [A widget isn't showing on my store](/dollarback-store-credit/troubleshooting-and-faq/widget-isnt-showing).
* Store credit doesn't appear as a payment option at checkout; see [Store credit isn't available at checkout](/dollarback-store-credit/troubleshooting-and-faq/store-credit-isnt-available-at-checkout).

## Related articles

* [Activate widgets in your theme](/dollarback-store-credit/getting-started/activate-widgets-in-your-theme)
* [Product page & cart cashback messages](/dollarback-store-credit/widgets-and-storefront/product-page-and-cart-cashback-messages)
* [The floating cashback widget](/dollarback-store-credit/widgets-and-storefront/the-floating-cashback-widget)
* [Translate your widgets](/dollarback-store-credit/widgets-and-storefront/translate-your-widgets)


# Product page & cart cashback messages

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

*This article's section starts at 1:02 in the video.*

These two theme blocks put a cashback line where buying decisions happen: on the product page and in the cart. When you're done here, both show the right message for every state (standard cashback, order-goal progress, top goal reached, and discount-code rewards) in your brand's colors.

## At a glance

| Touchpoint           | Surface                        | What it shows                                                                                                                | You can customize                                                                         |
| -------------------- | ------------------------------ | ---------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
| Product page message | PDP theme block                | Cashback earnable on this product; order-goal not-yet-reached / top-tier-reached states; discount-code reward messages       | Message text per state, background/text color, size, weight, padding, tooltip, custom CSS |
| Cart message         | Cart page / drawer theme block | Cashback for the current cart; order-goal not-yet-reached / top-tier-reached states; discount reward messages; loading state | Message templates per state, colors, typography, padding, tooltip, custom CSS             |

## Prerequisites

* At least one live cashback program; see [Quick start](/dollarback-store-credit/getting-started/quick-start-launch-your-first-cashback-program).
* The theme blocks added to your theme; see [Activate widgets in your theme](/dollarback-store-credit/getting-started/activate-widgets-in-your-theme).

## Step 1. Add the blocks in your theme

1. In the Shopify theme editor, open a product page template and add the **Cashback Rewards: Product** block where you want the message (most stores place it near the price or the add-to-cart button).
2. Open your cart template (or the section your theme uses for the cart) and add the **Cashback Rewards: Cart** block.
3. Save. The blocks render with default messages immediately wherever a cashback program applies.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-55d1c6d1610a59bc38b85a78e21c3a538fc4bbc6%2Fdb-theme-editor-product-block-annotated.png?alt=media" alt="The Shopify theme editor on the Default product template, with the Product information section expanded and the Cashback Rewards: Product block listed under Details."><figcaption><p>Add the Cashback Rewards: Product block to the product information section of your product template, near the price or the add-to-cart button.</p></figcaption></figure>

If you use a third-party cart drawer (Rebuy, Upcart, and others), the cart message can render inside it too. See [Cart drawer integrations](/dollarback-store-credit/integrations/cart-drawer-integrations).

## What customers see

On a store with a 5% purchase reward on one collection, your customers see lines like these. The program title and "select items" are links that open the floating widget.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2f0979e79640da3b7e21882a98d7892e12879fd9%2Fdb-cx-product-page-message.png?alt=media" alt="A product page for Morning Dew Gel Cleanser at $24.00 with the message You will get $1.20 cashback due to Cleanse &#x26; Prep to select items, and an info icon, above the quantity selector and the Add to cart button." width="470"><figcaption><p>On the product page, your customers see what this product earns, just above Add to cart.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-217fdb114d4ccb9415ec58021107e96edfa94acb%2Fdb-cx-cart-message.png?alt=media" alt="The cart summary with the message You will get $2.50 cashback due to Cleanse &#x26; Prep to select items, and an info icon, above Discount, Estimated total $287.00 USD and the Check out button." width="410"><figcaption><p>In the cart, your customers see what the whole cart earns, above the estimated total.</p></figcaption></figure>

## Step 2. Customize the messages

Go to **DollarBack admin → Customize** and open **Product page cashback** or **Cart page cashback**. Both editors have the same four sections: **Messages**, **Appearance**, **Tooltip**, and **Advanced**, with a live preview beside them.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-a3a76e6a9e985b57f176c64663e2a6eef9bc0e1b%2Fdb-pdp-editor-messages-annotated.png?alt=media" alt="The Product page cashback editor with the Messages tab open, the Cashback message and Earned reward fields with their variable lists, and a Preview card showing an Offers box."><figcaption><p>Each message has its own template. The variables it accepts are listed under the field, and the preview is on the right.</p></figcaption></figure>

Each state has its own template. Variables in curly braces are replaced per customer and cart. The **Messages** tab has these fields, in this order:

| Message field                                   | When it shows                                                                                                             | Variables                                                                                                                                                                                                   |
| ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Cashback message**                            | The standard state, when a cashback rate applies                                                                          | `{amount}`, `{title}`, `{earnRule}`, `{appliesTo}` (product page also supports `{startDate}`, `{endDate}`)                                                                                                  |
| **Earned reward**                               | The matching program pays a discount code instead of store credit                                                         | `{reward}` (the reward, worded by the shared [Reward marketplace text](/dollarback-store-credit/spending-store-credit-and-rewards/set-up-the-reward-marketplace#word-your-rewards-reward-marketplace-text)) |
| **Reward not yet unlocked**                     | A discount-code reward needs a minimum quantity or spend that isn't reached yet                                           | `{remaining}`, `{required}`, `{inCart}`, `{reward}`, `{earnRule}`, `{appliesTo}`                                                                                                                            |
| **In-cart progress note (for {inCart})**        | Added where `{inCart}` appears, only when the cart already has matching items                                             | `{count}`                                                                                                                                                                                                   |
| **Earned reward — conditions**                  | Added after the reward, only when the reward has unlock conditions                                                        | `{conditions}`                                                                                                                                                                                              |
| **Redeem terms label**                          | The clickable label the conditions collapse behind                                                                        | (none)                                                                                                                                                                                                      |
| **Message when top order-goal tier is reached** | The top goal tier of an order-goal program is reached                                                                     | `{amount}`, `{title}`, `{appliesTo}` (product page also supports `{startDate}`, `{endDate}`)                                                                                                                |
| **Message when order-goal not yet reached**     | An order-goal program exists and the goal isn't reached yet                                                               | `{remainingAmount}`, `{nextAmount}`, `{appliesTo}`                                                                                                                                                          |
| **Scope phrase (for {appliesTo})**              | Fills `{appliesTo}` when a reward is limited to specific products or collections. It stays empty for all-products rewards | `{scope}`                                                                                                                                                                                                   |
| **Loading message**                             | Shown briefly while the cashback amount is calculated                                                                     | (none)                                                                                                                                                                                                      |
| **Offers card title**                           | The heading when two or more offers are grouped into a card. A single offer always shows inline                           | (none)                                                                                                                                                                                                      |

`{earnRule}` is the program's title (shown as a link that opens the floating widget, when the widget is on the page). `{appliesTo}` adds the **Scope phrase** for programs limited to specific products or collections. Inside it, `{scope}` is a "select items" link that opens the floating widget, or the list of product and collection names when the floating widget is not on the page.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2929594ab6a011e034470f588f600dbdde48b3b9%2Fdb-p2-wi-pdp-scope-fields-annotated.png?alt=media" alt="The last fields of the Messages tab: Scope phrase (for {appliesTo}) set to to {scope}, Loading message set to Calculating Cashback..., and Offers card title set to Offers."><figcaption><p>The Scope phrase, Loading message and Offers card title fields are at the end of the Messages tab.</p></figcaption></figure>

{% hint style="warning" %}
Keep the leading space in **Scope phrase**. Without it, the phrase joins the word before `{appliesTo}` with no space between them.
{% endhint %}

For example, a progress message like `Add {remainingAmount} more to earn {nextAmount} back` updates live as the customer edits their cart.

## Step 3. Style the block

In **Appearance**, set:

| Control                       | Effect                       |
| ----------------------------- | ---------------------------- |
| Background color / Text color | The message bar's colors     |
| Text size / Text weight       | Typography of the message    |
| Padding                       | Space inside the message bar |

In **Tooltip**, set **Tooltip visibility** to **Visible** to add a small info icon next to the message. You can then set the **Tooltip text** (variables `{amount}`, `{title}`), and the tooltip's **Background color**, **Text color**, **Text size**, **Link color** and **Link size**.

## Step 4. Custom CSS

For anything the controls don't cover, the **Advanced** section has a **Custom CSS** field. Use your browser's inspector to find the class you want to override, then save and refresh the storefront.

{% hint style="warning" %}
Custom CSS is not limited to the block. It is added inside a `<style>` tag on the whole product page (or cart page), so a broad selector can change other parts of your theme.
{% endhint %}

## Verify it works

1. Open a product covered by a cashback program. The product message should show the right amount.
2. Add it to the cart and open the cart page. The cart message should reflect the cart total.
3. If you run an order-goal program, add and remove items to walk the cart through the not-yet-reached and top-tier-reached states.

## Common issues

* The block doesn't appear at all: usually it was never added to the template, or no program matches the product. See [A widget isn't showing on my store](/dollarback-store-credit/troubleshooting-and-faq/widget-isnt-showing).
* The amount looks wrong: messages mirror the calculation engine, including discounts and config competition. See [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated).
* The message shows in English on a translated storefront: add a translation for the widget. See [Translate your widgets](/dollarback-store-credit/widgets-and-storefront/translate-your-widgets).

## Related articles

* [Activate widgets in your theme](/dollarback-store-credit/getting-started/activate-widgets-in-your-theme)
* [The floating cashback widget](/dollarback-store-credit/widgets-and-storefront/the-floating-cashback-widget)
* [Cart drawer integrations](/dollarback-store-credit/integrations/cart-drawer-integrations)
* [Translate your widgets](/dollarback-store-credit/widgets-and-storefront/translate-your-widgets)


# The floating cashback widget

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

*This article's section starts at 5:32 in the video.*

The floating widget is DollarBack's home base on your storefront: a launcher button in the page corner that opens a tabbed panel where customers check their balance, earn credit, track tiers, share referrals, redeem rewards, and read their history. This page covers activating it and customizing every label and color.

## At a glance

| Touchpoint               | Surface               | What it shows                                                                                                                                                                                   | You can customize                                                                                                                        |
| ------------------------ | --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| Floating cashback widget | App embed (site-wide) | Launcher opening a tabbed panel: balance and summary cards, ways to earn (signup / newsletter / birthday / social forms), tiers and progress, referral link, a Redeem view for rewards, history | Launcher label and icon, all labels and tab names, login prompts, Home card order, panel width, 5 color roles, border radius, custom CSS |

## Prerequisites

* At least one live cashback program; the widget shows earning actions only for programs that exist.
* The app embed enabled; see [Activate widgets in your theme](/dollarback-store-credit/getting-started/activate-widgets-in-your-theme).

## Step 1. Turn on the app embed

The widget is an app embed, not a section block: it renders on every page.

1. In the Shopify theme editor, open the app embeds panel.
2. Enable the **Cashback Widget** embed and save.
3. Visit your storefront. The launcher appears in the corner.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-601723340d97b85e76e4897275a4445d708588e5%2Fdb-theme-editor-app-embeds-annotated.png?alt=media" alt="The Shopify theme editor with the App embeds panel filtered to Cashback, showing the Cashback Widget and Cashback Window Variable embeds switched on, and the storefront preview with a Rewards button in the bottom-right corner."><figcaption><p>Turn on the Cashback Widget app embed in the theme editor and save. The launcher then shows in the corner of every page.</p></figcaption></figure>

## What customers see in the panel

The panel has up to three tabs: **Home**, **Offers**, and **Referral** (all three names are customizable). **Home** is always there. **Offers** shows only when there is something to earn (tiers or at least one program the customer can see), and **Referral** shows only when your referral program is on. With one tab left, the panel shows just that tab.

* **Home**: the customer's balance in the header, then a stack of summary cards: **Tier** (current tier and the next one), **Cashback** (the number of offers available, shown when you don't run tiers), **Referral**, **Redeem**, and an optional **Loyalty page** card (see below). Each card shows only when it has something to show, and tapping a card opens its detail.
* **Offers**: the ways to earn. Your tiers and progress (when you run tiers), cashback offers, discount-code rewards, and the earn cards: **Signup Bonus** (with a **Sign up** button for guests), **Newsletter** (**Subscribe**), **Birthday** (**Add Your Birthday** form), and **Social** (**Follow** buttons with trackable links). Guests see a **Login** button on the Birthday and Social cards instead, because those rewards need a customer account. Cards appear only for programs you actually run. If you run a [review reward program](/dollarback-store-credit/integrations/store-credit-for-submitting-review), a **Reviews** section here tells customers what a review earns ("Write a {review} to earn {amount}"). It has no button: the reward is paid when the review comes in.
* **Referral**: the customer's referral code and share options.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-b08cecfb57ed82ad04e9b62aad66585684865702%2Fdb-cx-widget-home.png?alt=media" alt="The floating panel on the storefront for a signed-in customer: Your Credit $22.33 with a history icon in the header, a Bronze tier card marked Current with Next: Silver, Spend $250.00, a Referral Program card that says You get $5.00, They get $5.00, a Redeem rewards card, and Home, Offers and Referral tabs." width="380"><figcaption><p>A signed-in customer sees their balance at the top of Home, then a card for each program you run.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2bc8ced122fe0c2d5cb471ad2f638dc27044f2b7%2Fdb-cx-widget-offers-earn.png?alt=media" alt="The lower part of the Offers tab for a signed-in customer: the Bronze tier marked Current, a Birthday card with an Add button, a Social card to follow on LinkedIn with a Follow button, and a Reviews line, Write a product review to earn $5.00, with no button." width="380"><figcaption><p>Signed-in customers get Add and Follow buttons on the earn cards, and the Reviews line has no button.</p></figcaption></figure>

The reward marketplace is not a tab. A signed-in customer opens it from the **Redeem** card on Home (titled **Redeem rewards** by default), which shows only when you have marketplace rewards. The **Redeem** view lists each reward with its cost and a **Redeem** button. A reward the customer can't afford yet shows a note with the credit still needed (by default "Add {amount} more to redeem"), instead of being hidden. The customer's reward history opens from the history icon in the panel header.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-4de0d0b5862f197e32dfd53b226b168aef8d3072%2Fdb-cx-widget-redeem.png?alt=media" alt="The Redeem rewards view of the floating panel with a Back link and a My codes link, and reward cards for 15% off your next order up to $50.00 and 10% off Cleanse &#x26; Prep on up to 3 items, each with Redeem terms, how long the code is valid, Cost $20.00 and a Redeem button." width="380"><figcaption><p>The Redeem rewards card on Home opens this view, with the cost and a Redeem button on each reward.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-5994b9d9cbca9bf6763341d09b07e16af26caed4%2Fdb-storefront-widget-panel-annotated.png?alt=media" alt="The DollarBack floating panel open on the storefront for a signed-out visitor, showing the Unlock your rewards prompt with a Login button, a Cashback card, and Home and Offers tabs along the bottom." width="560"><figcaption><p>A signed-out visitor sees a sign-in prompt and cards for the programs you run.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-464e923998e7542a1749636c8a5af139fe8067cd%2Fdb-p2-wi-storefront-offers-annotated.png?alt=media" alt="The Offers tab of the floating panel for a signed-out visitor, with a Cashback offer, and Birthday and Social cards that each have a Login button." width="560"><figcaption><p>On the Offers tab, a signed-out visitor sees each way to earn. Cards that need an account show a Login button.</p></figcaption></figure>

Logged-out visitors see login prompts instead of personal data; those prompts are customizable too.

{% hint style="info" %}
**Custom (API)** programs never show in the panel, on the loyalty page, or in the sign-in prompt for guests. Your server decides when they pay, so there's nothing for a customer to act on. See [Custom rewards via API](/dollarback-store-credit/earning-cashback-programs/custom-rewards-via-api).
{% endhint %}

## Step 2. Customize labels and content

Go to **DollarBack admin → Customize → Cashback widget**. The editor has five tabs:

| Tab                 | What it controls                                                                                                                                |
| ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| **Floating Button** | The launcher's **Button label**, **Position** (**Bottom right** or **Bottom left**), and **Icon** (**Wallet**, **Gift**, **Star**, or **Coin**) |
| **Home**            | The **Card Order** of the Home tab, and the **Show loyalty page card** checkbox                                                                 |
| **Appearance**      | Colors, border radius, and panel width (see Step 4)                                                                                             |
| **Content**         | Every text label in the panel, grouped into sections (table below)                                                                              |
| **Advanced**        | **Custom CSS**                                                                                                                                  |

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-f075ba3c36eedd973031bcb2129d8b5ed529a56e%2Fdb-widget-editor-overview-annotated.png?alt=media" alt="The Cashback widget editor with the Content tab open, showing the Header and Login sections, and a Preview card with tabs Widget Panel, Floating Button, Logged Out, No Tiers, Redeem rewards and Membership."><figcaption><p>The Cashback widget editor splits its settings into tabs. Home, Appearance, Content and Advanced are under More views, and the preview on the right updates as you type.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-62bdc90ffa395a70f6380c4bdd993599421a392a%2Fdb-p2-wi-widget-floating-button-annotated.png?alt=media" alt="The Floating Button tab of the Cashback widget editor with the Button label, Position and Icon fields, and the More views menu next to the tab." width="560"><figcaption><p>The editor opens on the Floating Button tab. Set the launcher text, its corner and its icon here.</p></figcaption></figure>

The **Content** tab is grouped into sections, each mapping to part of the panel:

| Section                                                                             | What it controls                                                                                                                                                                                                                                                                                                                                                                                                      |
| ----------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Header                                                                              | The **Credit label** shown above the balance                                                                                                                                                                                                                                                                                                                                                                          |
| Login / Logged out                                                                  | Prompts and buttons shown to guests                                                                                                                                                                                                                                                                                                                                                                                   |
| Navigation tabs                                                                     | The names of the Home / Offers / Referral tabs                                                                                                                                                                                                                                                                                                                                                                        |
| Cashback                                                                            | The cashback offers section title, offer descriptions, and the applies-to toggle                                                                                                                                                                                                                                                                                                                                      |
| Earn credit descriptions                                                            | The copy on the birthday, social and review cards                                                                                                                                                                                                                                                                                                                                                                     |
| Discount rewards                                                                    | The heading and wording of discount-code reward offers. The reward itself is worded by the shared [Reward marketplace text](/dollarback-store-credit/spending-store-credit-and-rewards/set-up-the-reward-marketplace#word-your-rewards-reward-marketplace-text)                                                                                                                                                       |
| Signup labels / Newsletter labels / Birthday labels / Social labels / Review labels | Each earn card's heading and button text                                                                                                                                                                                                                                                                                                                                                                              |
| Tiers / Tier labels / Tier unlock requirements                                      | Tier reset text, badges, progress text, and requirement strings (for example the spend requirement supports `{amount}`)                                                                                                                                                                                                                                                                                               |
| Referral                                                                            | Referral tab headings and share copy                                                                                                                                                                                                                                                                                                                                                                                  |
| Offers count                                                                        | The "offer available" / "offers available" text on the Home **Cashback** card                                                                                                                                                                                                                                                                                                                                         |
| Redeem rewards                                                                      | The Home **Redeem** card, and the Redeem view: title, cost label, **Redeem** button, **Insufficient-balance note** (`{amount}` is the credit still needed), success and empty states. The reward descriptions and their conditions come from the shared [Reward marketplace text](/dollarback-store-credit/spending-store-credit-and-rewards/set-up-the-reward-marketplace#word-your-rewards-reward-marketplace-text) |
| Reward history                                                                      | The history view: title, filters, and detail labels                                                                                                                                                                                                                                                                                                                                                                   |
| Loyalty page card                                                                   | The wording of the Home card that links to your loyalty page                                                                                                                                                                                                                                                                                                                                                          |

Every string in these sections is translatable per language; see [Translate your widgets](/dollarback-store-credit/widgets-and-storefront/translate-your-widgets).

### Credit history filters

The **Reward history** section names the filters on the history popup. There are four: **All**, **Store credit**, **Discount codes**, and **Referral**. The last of these separates referral earnings out of the general store-credit list, so a customer can see what their referrals have actually paid them. Each filter's label is yours to change, along with the popup title, the empty and error states, and the labels on each detail row (program, reason, order, order total, expiry, code).

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-80654e1659ba11e84182cbd06e43ab7f6e903d29%2Fdb-cx-widget-history.png?alt=media" alt="The Reward History view of the floating panel with the filters All, Store credit, Discount codes and Referral, and rows for a referral reward, a review reward, cashback from an order, credit redeemed at checkout, bonus credit and a redeemed reward, each marked Credit or Debit." width="380"><figcaption><p>The history icon in the panel header opens Reward History, where your customers filter by type.</p></figcaption></figure>

### Link to your loyalty page

If you run a [loyalty page](/dollarback-store-credit/widgets-and-storefront/set-up-the-loyalty-page) as well as the widget, the widget can point at it rather than competing with it. On the **Home** tab of the editor, tick **Show loyalty page card**. Then set the wording in the **Loyalty page card** section of the **Content** tab: a **Home card label** and a **Home card detail** line. The card appears on the Home tab for signed-in customers and opens the loyalty page.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-52c9ed9297fb73c43437a9980d39419f72e51417%2Fdb-p2-wi-widget-loyalty-card-annotated.png?alt=media" alt="The Loyalty page section of the Home tab with the Show loyalty page card checkbox, which is not ticked." width="560"><figcaption><p>Tick Show loyalty page card on the Home tab, then write the card text in the Content tab.</p></figcaption></figure>

{% hint style="warning" %}
**Show loyalty page card** is off by default. Until you tick it, the widget does not link to your loyalty page.
{% endhint %}

This is worth doing if your loyalty page carries content the widget doesn't — a rich program explainer, tier benefits laid out in full, or membership. It keeps the widget as the quick check on a balance, and gives customers who want the whole story somewhere to go.

## Step 3. Reorder the Home cards

On the editor's **Home** tab, **Card Order** lists the Home tab's cards, such as **Tier**, **Cashback**, **Referral**, **Redeem**, and **Loyalty page**. Drag them to reorder how they appear on the Home tab. Put the card you most want customers to open first.

## Step 4. Style it

The **Appearance** tab has five color roles plus shape controls. Position is on the **Floating Button** tab.

| Control          | Effect                                      |
| ---------------- | ------------------------------------------- |
| Primary color    | Launcher button, header background, accents |
| Secondary color  | Subtle backgrounds                          |
| Panel background | The panel's background                      |
| Text color       | Body text throughout the panel              |
| Accent color     | Active nav items and highlights             |
| Border radius    | Corner rounding, 0–30                       |
| Panel width      | Panel width, 280–440 px                     |

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-cd6654021d3f294112420fb7af8e1ac700a84d74%2Fdb-p2-wi-widget-appearance-annotated.png?alt=media" alt="The Appearance tab of the Cashback widget editor with five color fields, a Border radius slider set to 12px and a Panel width slider set to 380px." width="560"><figcaption><p>The Appearance tab holds the five colors and the two shape sliders.</p></figcaption></figure>

For anything beyond these, use the **Custom CSS** field on the **Advanced** tab. Its CSS is added inside a `<style>` tag on the storefront, so your rules load with the widget on every page.

To replace the launcher button's icon, or any of the illustrations inside the panel, see [Icons & images](/dollarback-store-credit/widgets-and-storefront/icons-and-images).

## Working with the preview

The preview beside the settings form is live, and two things make it faster to work with than it looks.

**Click any text in the preview** to jump straight to the field that controls it. Faster than scanning a long settings form for the one string you want to change, particularly for labels deep in the tier or history sections. The editor switches to the tab that holds the field.

**Switch the preview to a guest** to see what signed-out visitors get. A dropdown offers seven scenarios — **Everything**, **Sign-in only**, **Cashback**, **Referral**, **Cashback + Referral**, **Tiers**, and **Membership** — so you can check the signed-out panel against each combination of programs without opening a private window or signing out. **Sign-in only** is the strictest case: nothing but the login prompt, which is what a guest sees when no program is visible to them.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-b2e9411dd7a51d6fd6251d44db6ca47d140aaffd%2Fdb-widget-preview-guest-annotated.png?alt=media" alt="The widget preview set to Logged Out with the scenario chips Sign-in only, Everything, Cashback, Referral, Cashback + Referral, Tiers and Membership, above a panel that asks the guest to log in."><figcaption><p>Click Logged Out, then a scenario, to check the signed-out panel for each mix of programs without leaving the admin.</p></figcaption></figure>

## Prefer a menu item to the floating button?

If the floating launcher clashes with your navigation, a chat bubble, or a cookie banner, you can hide it and open the same panel from a header menu item or your own button instead. See [Open the widget from a menu link](/dollarback-store-credit/widgets-and-storefront/open-the-widget-from-a-menu-link).

## Verify it works

1. Open your storefront in a private window: the launcher should show, and the panel should show logged-out prompts.
2. Sign in as a test customer: the Home tab should show the balance, and the Offers tab only the earn cards for programs you run.
3. Change a color and the card order in the admin, save, and refresh the storefront to confirm both apply.
4. Earn a referral reward on the test account and open the history popup: the **Referral** filter should isolate it.

## Common issues

* The launcher doesn't appear: the **Cashback Widget** app embed is off, or the theme was switched. See [A widget isn't showing on my store](/dollarback-store-credit/troubleshooting-and-faq/widget-isnt-showing).
* An earn card, or the whole Offers tab, is missing: the matching program is paused, outside its date window, or doesn't exist. See [Cashback program types at a glance](/dollarback-store-credit/earning-cashback-programs/cashback-program-types-at-a-glance).
* The balance looks stale after an order: check the trigger and holding period. See [When credit is issued](/dollarback-store-credit/earning-cashback-programs/when-credit-is-issued).

## Related articles

* [Activate widgets in your theme](/dollarback-store-credit/getting-started/activate-widgets-in-your-theme)
* [Open the widget from a menu link](/dollarback-store-credit/widgets-and-storefront/open-the-widget-from-a-menu-link)
* [Set up the loyalty page](/dollarback-store-credit/widgets-and-storefront/set-up-the-loyalty-page)
* [Set up the reward marketplace](/dollarback-store-credit/spending-store-credit-and-rewards/set-up-the-reward-marketplace)
* [Translate your widgets](/dollarback-store-credit/widgets-and-storefront/translate-your-widgets)


# Open the widget from a menu link

By default the cashback widget lives behind a floating launcher in the page corner. Some stores would rather not have a floating button at all: it can sit on top of chat widgets, cookie banners, or your own navigation. This recipe removes the launcher and opens the same panel from a permanent entry point you control, such as a header menu item or an icon in your announcement bar.

The panel itself does not change. Customers still get the full Home / Offers / Referral experience; only the way they open it moves.

{% hint style="info" %}
Keep the **Cashback Widget** app embed enabled. The embed renders the panel; this recipe only hides the launcher button. If you disable the embed, there is nothing left to open.
{% endhint %}

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-601723340d97b85e76e4897275a4445d708588e5%2Fdb-theme-editor-app-embeds-annotated.png?alt=media" alt="The Shopify theme editor with the App embeds panel filtered to Cashback, showing the Cashback Widget and Cashback Window Variable embeds switched on, and the storefront preview with a Rewards button in the bottom-right corner."><figcaption><p>Leave the Cashback Widget app embed on in the theme editor. It renders the panel that your menu link opens.</p></figcaption></figure>

## How it works

The storefront bundle exposes `window.dollarlabs.dollarback.openWidget()`, which opens the panel from any JavaScript on the page. So the recipe is three small steps:

1. Hide the floating launcher with widget custom CSS.
2. Add a menu item that acts as the new entry point.
3. Add a few lines of JavaScript that call `openWidget()` when that menu item is clicked.

## Step 1. Hide the floating launcher

1. Go to **DollarBack admin → Customize → Cashback widget** and open the **Advanced** tab.
2. In the **Custom CSS** field, add:

```css
.dbw-trigger {
  display: none;
}
```

3. Save.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-a0c1bf9c76e85bcf7535c50c56d3585e347e06c0%2Fdb-widget-advanced-css-annotated.png?alt=media" alt="The Cashback widget editor with the Advanced tab open, showing an empty Custom CSS field with the help text Injected inside a style tag on the storefront."><figcaption><p>Open More views, then Advanced, and paste the CSS into the Custom CSS field. Then save.</p></figcaption></figure>

The launcher button doubles as the panel's close button, so with it hidden customers close the panel by clicking anywhere outside it or pressing Escape. If you want the button to reappear as a close control while the panel is open, use this instead:

```css
.dbw-trigger {
  display: none;
}
.dbw-root:has(.dbw-panel--open) .dbw-trigger {
  display: flex;
}
```

## Step 2. Add the menu item

1. In Shopify admin, go to **Online Store → Navigation** and open the menu you want (usually the main menu).
2. Add a menu item named for example **Rewards**, and set its link to `#rewards`.
3. Save the menu.

The `#rewards` link is just a marker for the script in the next step; on its own it does nothing. Any anchor value works as long as the script below matches it.

## Step 3. Wire the click to the widget

Add this script to your theme. The easiest home for it is a **Custom Liquid** section or block placed in the theme's footer; pasting it into `theme.liquid` just before `</body>` also works.

```html
<script>
  document.addEventListener("click", function (event) {
    var link = event.target.closest('a[href$="#rewards"]');
    if (!link) return;
    event.preventDefault();
    if (window.dollarlabs && window.dollarlabs.dollarback && window.dollarlabs.dollarback.openWidget) {
      window.dollarlabs.dollarback.openWidget();
    }
  });
</script>
```

This listens for clicks on any link ending in `#rewards` (your new menu item), stops the browser from jumping to the anchor, and opens the panel. The guard around the call means a click during the first moments of page load, before the DollarBack bundle has finished loading, is safely ignored instead of throwing an error.

If you are wiring up your own button rather than a menu link, you can call the API directly:

```html
<button onclick="window.dollarlabs.dollarback.openWidget({ tab: 'offers' })">
  View rewards
</button>
```

## Optional: deep-link into a specific tab or view

`openWidget()` accepts an options object, so different menu items can open different parts of the panel:

| Call                              | Opens                                                                  |
| --------------------------------- | ---------------------------------------------------------------------- |
| `openWidget()`                    | The Home tab                                                           |
| `openWidget({ tab: "offers" })`   | The Offers tab                                                         |
| `openWidget({ tab: "referral" })` | The Referral tab                                                       |
| `openWidget({ view: "redeem" })`  | The redeem rewards view                                                |
| `openWidget({ view: "history" })` | The reward history view                                                |
| `openWidget({ configId: "..." })` | The Offers tab, scrolled to that cashback offer with a brief highlight |

The full API, including the equivalent `dollarback:open-widget` event, is documented in the [Storefront window API](/dollarback-store-credit/developer-tools/storefront-window-api) reference.

## No-code alternative: link to the loyalty page

If you would rather not add any script, point the menu item at your loyalty page instead. It is a full page with the same balance, earning, and redemption content, and a plain menu link reaches it with no JavaScript. See [Set up the loyalty page](/dollarback-store-credit/widgets-and-storefront/set-up-the-loyalty-page).

## Verify it works

1. Open your storefront: the corner launcher should be gone.
2. Click the new menu item: the panel should open in place instead of navigating.
3. Click outside the panel (or press Escape) to close it.
4. Sign in as a test customer and repeat; the panel should show their balance as usual.

## Common issues

* Clicking the menu item jumps to the top of the page instead of opening the panel: the script isn't on the page (the Custom Liquid section was removed or is only on some templates), or the `href` in the script doesn't match the menu item's link.
* Nothing happens at all: the **Cashback Widget** app embed is off. The launcher CSS only hides the button; the embed must stay enabled. See [A widget isn't showing on my store](/dollarback-store-credit/troubleshooting-and-faq/widget-isnt-showing).
* The launcher is still visible: the CSS was added somewhere else, such as the theme editor. It must go in the **Custom CSS** field under **Customize → Cashback widget → Advanced**, which loads with the widget itself.

## Related articles

* [The floating cashback widget](/dollarback-store-credit/widgets-and-storefront/the-floating-cashback-widget)
* [Set up the loyalty page](/dollarback-store-credit/widgets-and-storefront/set-up-the-loyalty-page)
* [Storefront window API](/dollarback-store-credit/developer-tools/storefront-window-api)
* [Activate widgets in your theme](/dollarback-store-credit/getting-started/activate-widgets-in-your-theme)


# Set up the loyalty page

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

*This article's section starts at 8:16 in the video.*

The loyalty page is a full storefront page: a dedicated home for your rewards program with a hero, how-it-works steps, ways to earn, tiers, referrals, reward history, and an FAQ. When you're done here, it's live on your store, branded, and in your navigation.

## At a glance

| Touchpoint   | Surface              | What it shows                                                                                                                        | You can customize                                                                                                                                                             |
| ------------ | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Loyalty page | Full storefront page | Hero, how-it-works steps, ways to earn, tiers, referral block with share buttons (Facebook, X, WhatsApp, email), reward history, FAQ | Every section's copy (logged in/out variants), hero image, section hiding, full branding tokens (colors, type, radii), sign-in/registration URLs, custom CSS (`db-loyalty-*`) |

## Prerequisites

* At least one live cashback program, so the page has something to show.
* One of the DollarBack app embeds enabled in your theme; the page needs it to load its data.

## Step 1. Publish the page

The loyalty page is served by DollarBack at a fixed URL on your store: `/apps/dollarlabs/loyalty`. It goes live as soon as either the **Cashback Widget** or the **Cashback Window Variable** app embed is enabled in your theme.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-601723340d97b85e76e4897275a4445d708588e5%2Fdb-theme-editor-app-embeds-annotated.png?alt=media" alt="The Shopify theme editor with the App embeds panel filtered to Cashback, showing the Cashback Widget and Cashback Window Variable embeds switched on, and the storefront preview with a Rewards button in the bottom-right corner."><figcaption><p>Either DollarBack app embed puts the loyalty page live. The Cashback Widget embed also shows the floating launcher.</p></figcaption></figure>

1. Go to **DollarBack admin → Customize → Loyalty page**.
2. If an embed is active, a banner confirms "Loyalty page is live on your storefront" with a link to the page. If you instead see "Theme embed not enabled", use the **Open theme editor** action, enable one of the two embeds, and save.
3. Open `/apps/dollarlabs/loyalty` on your storefront to see the default page.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-167828d6d14207f994fa8b512feb99a7944a15fb%2Fdb-storefront-loyalty-page.png?alt=media" alt="The DollarBack loyalty page on the storefront, showing the hero Join our Rewards Club with Join Now and Sign In buttons above the How it works steps."><figcaption><p>Your loyalty page lives at /apps/dollarlabs/loyalty. Guests see the signed-out hero with the join button.</p></figcaption></figure>

There's no full-page preview inside the admin; use the **View loyalty page** button to check your changes live.

## Step 2. Edit each section

The page is built from a pinned **Hero banner** plus reorderable sections: **How it works**, **Ways to earn**, **Ways to redeem**, **Tiers**, **Referral**, **Reward history**, and **FAQ**. Drag sections to reorder them; each has its own copy fields.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-af8eae62f77354d573c9bb178d3fcba5c8d52170%2Fdb-loyalty-page-editor-annotated.png?alt=media" alt="The Loyalty page editor with the success banner, the Content, Branding &#x26; CSS and Links tabs, the expanded Hero banner fields, and a Preview card that says Full-page preview not available with a View loyalty page button."><figcaption><p>The loyalty page editor lists every section. Drag a row to reorder it, or use its eye icon to hide it.</p></figcaption></figure>

The hero has separate states for guests and signed-in customers. **Banner image** is a file picker: click **Choose image** to pick or upload an image from your Shopify Files, or leave it empty for no background image.

| Hero field                                                                    | Applies to                                                         |
| ----------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| **Heading — logged out** / **Subtitle — logged out** / **Join CTA**           | Guests                                                             |
| **Heading — logged in** / **Subtitle — logged in** / **Shop CTA — logged in** | Signed-in customers (the logged-in heading supports `{firstName}`) |
| **Banner image** / **Sign in CTA** / **Balance label**                        | Both states                                                        |

The other sections follow the same pattern: how-it-works steps, earn cards (including a **Review reward** card when you run a review reward program; **Custom (API)** programs get no card), redeem items, tier thresholds (spend thresholds support `{amount}`), referral share copy (with Facebook, X, WhatsApp, and email share buttons), history labels, and FAQ entries are all editable text.

**Reward history** carries four filters — **All**, **Store credit**, **Discount codes**, and **Referral** — and each label is editable. The Referral filter pulls referral earnings out of the general store-credit list, so a customer can see what their referrals have paid them.

The **Ways to redeem** cards describe each reward with the shared wording from **Customize → Reward marketplace text**, so edit and translate reward descriptions there, not on this page; see [Word your rewards](/dollarback-store-credit/spending-store-credit-and-rewards/set-up-the-reward-marketplace#word-your-rewards-reward-marketplace-text).

The illustrations on the earn cards, reward cards and tier badge are swappable for your own artwork; see [Icons & images](/dollarback-store-credit/widgets-and-storefront/icons-and-images).

### Checking your changes

The editor has no live preview of the page. Save, then use **View loyalty page** to open `/apps/dollarlabs/loyalty` on your storefront. To check the guest view (the signed-out hero and **Join CTA**), open the page in a private window.

## Step 3. Hide sections you don't need

Every section row has an eye icon to hide or show it (the hero has its own **Hide hero** icon). Don't run tiers? Hide the Tiers section; nothing else changes.

{% hint style="info" %}
Hidden sections keep their content, so you can bring them back later.
{% endhint %}

## Step 4. Brand it

The Branding controls are design tokens applied across the whole page:

| Group      | Controls                                                                                                                   |
| ---------- | -------------------------------------------------------------------------------------------------------------------------- |
| Colors     | Primary color, Primary text color, Secondary color, Page background, Card background, Text color, Muted text, Border color |
| Typography | Heading font size, Heading font weight, Body font size                                                                     |
| Shape      | Border radius — cards, Border radius — buttons & chips                                                                     |

## Step 5. Custom CSS

For finer control, use the **Custom CSS** field on the **Branding & CSS** tab. It is added after the loyalty page stylesheet. Target the page's class names (everything is prefixed `db-loyalty-*`). For example:

```css
.db-loyalty-hero-banner { min-height: 420px; }
.db-loyalty-sections { --db-loyalty-accent: #0b7a4b; }
```

The page also uses CSS variables such as `--db-loyalty-accent` and `--db-loyalty-accent-text`. To change a variable, set it on an element inside the page, as in `.db-loyalty-sections` above (every section below the hero). The hero banner sets its own white-on-image values, so set hero variables on `.db-loyalty-hero-banner`. For one color across the whole page, the **Primary color** control is simpler.

Inspect the live page to find the class for the element you want to change; the `db-loyalty-` prefix keeps your rules from leaking into the rest of the theme.

{% hint style="warning" %}
A variable set on `:root` or on `.db-loyalty-root` has no effect (unless you add `!important`). The Branding controls set these variables directly on the page's outer `.db-loyalty-root` element, so set yours on an element inside the page.
{% endhint %}

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-4372ee50843fb922b9f6eec499c771f21cae88a3%2Fdb-p2-wi-loyalty-custom-css-annotated.png?alt=media" alt="The Custom CSS card on the Branding &#x26; CSS tab, with its help text about db-loyalty-* classes and --db-loyalty-accent, and a code field with a sample rule for .db-loyalty-hero-banner."><figcaption><p>The Custom CSS card is the last card on the Branding &#x26; CSS tab. Its help text names the class prefix and the CSS variables.</p></figcaption></figure>

## Step 6. Point the sign-in and registration links

On the **Links** tab, set:

* **Sign in URL**: where the hero's sign-in CTA sends guests (your customer account login).
* **Register URL**: where the join CTA sends new customers.
* **Shop / collections URL**: where the logged-in shop CTA points.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-e6dd5851fb26a31d0ed54d95150f5f5b5977dd4a%2Fdb-p2-wi-loyalty-links-annotated.png?alt=media" alt="The Links tab of the loyalty page editor with the Sign in URL /account/login, Register URL /account/register and Shop / collections URL /collections/all."><figcaption><p>The Links tab has three storefront paths. The defaults point at your theme's login, register and all-products pages.</p></figcaption></figure>

## Step 7. Add it to your navigation

In Shopify admin, go to **Online Store → Navigation**, open your main menu, and add a menu item (for example "Rewards") linking to `/apps/dollarlabs/loyalty`.

## Verify it works

1. Visit the page in a private window: you should see the logged-out hero and join CTA.
2. Sign in as a test customer: the hero should switch to the logged-in state with the balance, and Reward history should show real entries.
3. Confirm the nav item appears and the share buttons open with the customer's referral code.

## Common issues

* The page 404s or renders empty: the app embed is disabled. See [A widget isn't showing on my store](/dollarback-store-credit/troubleshooting-and-faq/widget-isnt-showing).
* The Tiers section is empty: tiers aren't configured or synced. See [Loyalty tiers overview](/dollarback-store-credit/loyalty-tiers/loyalty-tiers-overview).
* The page shows in the wrong language for a translated storefront: see [Translate your widgets](/dollarback-store-credit/widgets-and-storefront/translate-your-widgets).

## Related articles

* [Activate widgets in your theme](/dollarback-store-credit/getting-started/activate-widgets-in-your-theme)
* [The floating cashback widget](/dollarback-store-credit/widgets-and-storefront/the-floating-cashback-widget)
* [How customers share referral links](/dollarback-store-credit/referral-program/how-customers-share-referral-links)
* [Translate your widgets](/dollarback-store-credit/widgets-and-storefront/translate-your-widgets)


# Checkout & thank-you widgets

{% hint style="info" %}
**Plan:** the two checkout blocks require **Shopify Plus** (Shopify only allows checkout customization on Plus). The two thank-you page blocks work on all Shopify plans.
{% endhint %}

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

*This article's section starts at 11:06 in the video.*

Four blocks cover the purchase moment: two in checkout (what this order earns, and a chance to redeem rewards) and two on the thank-you page (confirmation of the credit earned, and a referral invite). When you're done here, all four are placed and speaking your brand's language.

## At a glance

| Touchpoint                  | Surface                                         | What it shows                                                                                                                                     | You can customize                                                                                                                          |
| --------------------------- | ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| Checkout cashback           | Checkout block (Plus)                           | Cashback the order will earn; order-goal progress; discount reward notices                                                                        | Offers title, message templates per state, scope phrase                                                                                    |
| Checkout reward marketplace | Checkout block (Plus), signed-in customers only | Balance plus your marketplace rewards; redeem, **Apply to cart** and copy-code actions; a shortfall note on rewards the customer can't afford yet | Heading, collapsed heading, maximum offers, balance and cost labels, shortfall note, button labels, success/error messages, reward history |
| Thank-you cashback          | Thank-you block                                 | Credit earned on the order just placed, expiry note, discount-code rewards earned                                                                 | Offers title, title, cashback/expiry/loading messages, discount reward messages                                                            |
| Thank-you referral          | Thank-you block                                 | Referral invite with a **Copy Code** button for signed-in customers; a **Login to share** prompt for guests                                       | Heading, body message, button and clipboard text, image (per state)                                                                        |

## Prerequisites

* A live cashback program; for the marketplace block, at least one active reward; see [Set up the reward marketplace](/dollarback-store-credit/spending-store-credit-and-rewards/set-up-the-reward-marketplace).
* For the checkout blocks: a Shopify Plus store.

## Step 1. Place the blocks in the checkout editor

1. In Shopify admin, go to **Settings → Checkout** and open the checkout editor for your published checkout profile.
2. On the **Checkout** page of the editor, add the app blocks **Checkout Cashback Banner** and **Checkout Reward Marketplace** where you want them (the order summary column is a common spot).
3. Switch the editor's page selector to the **Thank you** page and add **Thank You Cashback** and **Thank You Referral**.
4. Save. On non-Plus stores, skip step 2; only the thank-you page accepts blocks.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-3673db038896917584b31b1776b37c5dc738b232%2Fdb-checkout-editor-cashback-banner-annotated.png?alt=media" alt="The Shopify checkout editor with the Checkout Cashback Banner block listed in the Order summary section of the sidebar and the checkout preview on the right."><figcaption><p>In the checkout editor, add Checkout Cashback Banner where you want it. Then switch the page selector to Thank you for the thank-you blocks.</p></figcaption></figure>

## Step 2. Customize each block's messages

Each block has its own editor under **DollarBack admin → Customize**, in the **Checkout** group. Variables in curly braces fill in per order.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-04c9496e07457ce2c4efc90aa73f44f92cf13238%2Fdb-customization-checkout-group-annotated.png?alt=media" alt="The Checkout group on the Customize widgets page with cards for Cashback at checkout, Thank you page cashback, Thank you page referral and Checkout reward marketplace, two of them marked Only available on Shopify Plus."><figcaption><p>The Checkout group has one card per block. The badge tells you whether that block is placed in your checkout.</p></figcaption></figure>

**Cashback at checkout**

| Field                                | Variables                                                                        |
| ------------------------------------ | -------------------------------------------------------------------------------- |
| Offers title                         | (none; the heading when the order earns more than one reward)                    |
| Cashback earned message              | `{amount}`                                                                       |
| Order-goal max reached message       | `{amount}`                                                                       |
| Order-goal progress message          | `{remainingAmount}`, `{nextAmount}`                                              |
| Scope phrase (for {appliesTo})       | `{scope}`                                                                        |
| Earned reward                        | `{reward}`                                                                       |
| Earned reward — not yet unlocked     | `{remaining}`, `{required}`, `{inCart}`, `{reward}`, `{appliesTo}`, `{earnRule}` |
| In-cart progress note (for {inCart}) | `{count}`                                                                        |
| Earned reward — conditions           | `{conditions}`                                                                   |
| Redeem terms label                   | (none)                                                                           |
| Discount goal: progress message      | `{remainingAmount}`, `{nextAmount}`, `{appliesTo}`                               |
| Discount goal: max reached message   | `{amount}`                                                                       |

The two **Discount goal** messages replace the cashback goal messages when an order-goal program pays a discount code instead of store credit.

The goal messages give checkout a last-second upsell: "Add {remainingAmount} more to earn {nextAmount} back" can still change the order.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-8f6e4fa77b227e9e8a875d57882ecc11bc17a4ed%2Fdb-cx-checkout-cashback-banner.png?alt=media" alt="The checkout order summary with a green banner, You will earn $2.50 as cashback on this order!, above four items, the discount code field, and the subtotal, shipping and total." width="470"><figcaption><p>In checkout, your customers see what the order will earn, above the order summary.</p></figcaption></figure>

**Checkout reward marketplace**

| Field                                                 | Variables                                                         |
| ----------------------------------------------------- | ----------------------------------------------------------------- |
| Section heading                                       | (none)                                                            |
| Collapsible (collapsed by default), Collapsed heading | `{count}` in the collapsed heading                                |
| Maximum offers                                        | (a number: how many rewards show, top of your reward order first) |
| Balance label                                         | (none)                                                            |
| Cost label                                            | `{amount}`                                                        |
| Conditions heading                                    | (none)                                                            |
| Expiry label                                          | `{days}`                                                          |
| Shortfall note                                        | `{amount}` (the credit still needed)                              |
| Redeem button, Copy code button                       | (none)                                                            |
| Success message, Generic error message                | (none)                                                            |
| Reward history button, Reward history heading         | (none)                                                            |

The reward descriptions and their conditions ("20% off your next order", "you spend at least $50 on Skincare") aren't fields here: they come from the shared **Reward marketplace text**, so they read the same in checkout, the customer account, the widget and the loyalty page. See [Word your rewards](/dollarback-store-credit/spending-store-credit-and-rewards/set-up-the-reward-marketplace#word-your-rewards-reward-marketplace-text).

Redeeming here mints the discount code on the spot. The customer taps **Apply to cart** to add it to the same checkout, or **Copy code** to keep it. If the code can't be applied automatically, the block says so and asks the customer to copy the code and add it at checkout.

The block shows only to signed-in customers. A guest at checkout sees nothing from it. A reward the customer can't afford yet still shows, with its **Redeem** button turned off and the **Shortfall note** ("Add {amount} more to redeem" by default).

**Thank you page cashback**

| Field                              | Variables                                                      |
| ---------------------------------- | -------------------------------------------------------------- |
| Offers title                       | (none; the heading when the order earned more than one reward) |
| Title                              | `{amount}`, `{expiresAt}`, `{delay}`, `{disabled}`             |
| Cashback message                   | `{amount}`, `{expiresAt}`, `{delay}`, `{disabled}`             |
| Expiry message                     | `{expiresAt}`, `{disabled}`                                    |
| Loading message                    | (none)                                                         |
| Earned reward                      | `{reward}`                                                     |
| Earned reward — conditions         | `{conditions}`                                                 |
| Redeem terms label                 | (none)                                                         |
| Discount order-goal earned message | `{amount}`                                                     |

{% hint style="info" %}
Put `{disabled}` in a message to hide that message.
{% endhint %}

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-f46e33f547e2836e65ffbd6573643c782f4237b2%2Fdb-cx-thank-you-cashback.png?alt=media" alt="The thank-you page order summary with the message Congratulations! You earned $2.33, You earned $2.33 credit for your next order, above four items and totals that show free shipping with an RDM code, Store credit −$20.00 and Total paid $267.00." width="430"><figcaption><p>The thank-you page shows the credit the order earned, here less than the checkout estimate because this store gives no cashback on the part paid with store credit.</p></figcaption></figure>

**Thank you page referral**

The editor has two tabs, one per state.

| Tab               | Field              | Variables                       |
| ----------------- | ------------------ | ------------------------------- |
| **Logged in**     | Heading            | `{amount}`, `{discountCode}`    |
| **Logged in**     | Body message       | `{amount}`, `{discountCode}`    |
| **Logged in**     | Copy button label  | (none)                          |
| **Logged in**     | Clipboard text     | `{discountCode}`                |
| **Logged in**     | Image              | (optional; leave empty to hide) |
| **Not logged in** | Heading            | `{amount}`                      |
| **Not logged in** | Body message       | `{amount}`                      |
| **Not logged in** | Login button label | (none)                          |
| **Not logged in** | Image              | (optional; leave empty to hide) |

Signed-in customers see their code and a **Copy Code** button. Guests see the **Not logged in** copy with a **Login to share** button, which asks them to sign in to see their code.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-70a494abf387067b4c03519ba37902ee1f7f2dac%2Fdb-cx-thank-you-referral.png?alt=media" alt="The thank-you page for a signed-in customer, Thank you, Maya!, with the block Refer a friend and get $5.00 kickback, a message about earning $5.00 when a referred friend makes a purchase, and a Copy Code button." width="520"><figcaption><p>Signed-in customers see the Logged in copy and a Copy Code button.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-5115efa24614dc4c85dbcea18b98d55639aaabc5%2Fdb-cx-thank-you-referral-guest.png?alt=media" alt="The thank-you page for a guest, Thank you, Jordan!, with the heading Refer a friend and get $5.00 kickback, a message that asks them to log in to show their referral code, and a Login to share button." width="520"><figcaption><p>Guests see the Not logged in copy and a Login to share button.</p></figcaption></figure>

## Verify it works

1. Place a test order as a signed-in customer with some credit.
2. In checkout, confirm the cashback banner shows the right amount and the marketplace lists your rewards.
3. On the thank-you page, confirm the earned amount, the expiry note, and the referral invite with a copyable code.

## Common issues

* The checkout blocks aren't available in the editor: the store isn't on Shopify Plus, or the blocks weren't added to the published checkout profile.
* The marketplace block doesn't show: the customer isn't signed in, or no reward is active. Rewards the customer can't afford still show, with a shortfall note. See [Set up the reward marketplace](/dollarback-store-credit/spending-store-credit-and-rewards/set-up-the-reward-marketplace).
* A redeemed code won't apply: check the store-wide combination rules. See [A reward discount code isn't working](/dollarback-store-credit/troubleshooting-and-faq/reward-discount-code-isnt-working).
* The cashback amount at checkout differs from what lands: discounts and caps apply at calculation. See [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated).

## Related articles

* [Customer account blocks](/dollarback-store-credit/widgets-and-storefront/customer-account-blocks)
* [Set up the reward marketplace](/dollarback-store-credit/spending-store-credit-and-rewards/set-up-the-reward-marketplace)
* [Discount combination rules](/dollarback-store-credit/spending-store-credit-and-rewards/discount-combination-rules)
* [How customers share referral links](/dollarback-store-credit/referral-program/how-customers-share-referral-links)


# Customer account blocks

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

*This article's section starts at 12:26 in the video.*

DollarBack ships six blocks for the new customer account pages, so the loyalty program lives where customers already check their orders: a store credit block (the balance on the order list, and the credit earned on the order status page), the referral share UI in three placements, the reward marketplace, and the wallet pass. This page covers placing and customizing each.

## At a glance

| Touchpoint                 | Surface                             | What it shows                                                                                                                                                  | You can customize                                                                                                       |
| -------------------------- | ----------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| Store Credit Earned        | Order list block                    | Balance banner with a **Reward history** button that opens the customer's history with filters                                                                 | Heading, body message, button label, popup title, history filter, tag and detail labels                                 |
| Store Credit Earned        | Order status block                  | The credit earned on that order                                                                                                                                | Cashback earned message                                                                                                 |
| Referral blocks (×3)       | Order list / order status / profile | Referral code, copy button and WhatsApp share                                                                                                                  | Heading, body message, copy-button and clipboard text                                                                   |
| Account reward marketplace | Profile block                       | Your marketplace rewards, with a shortfall note on the ones the customer can't afford yet; redemption history; balance                                         | Headings, balance label, shortfall note, empty states, button labels (reward wording is shared), success/error messages |
| Google Wallet pass         | Profile block + phone wallet        | Loyalty card: balance, member name, tier, QR code; updates when DollarBack issues or deducts credit or the tier changes (not when credit is spent at checkout) | Issuer and program name, logo and hero image, background color, earned/redeemed notification texts                      |

{% hint style="warning" %}
These blocks require Shopify's **new customer accounts**. They don't render in classic/legacy accounts.
{% endhint %}

**Store Credit Earned** is one block with two placements, and it shows something different on each page. On the **Order list** page it shows the customer's store credit balance. On the **Order status** page it shows the credit earned on that order. In **DollarBack admin → Customize**, each placement has its own card: **All orders cashback** (Order list) and **Order status cashback** (Order status).

## Prerequisites

* New customer accounts enabled in Shopify (**Settings → Customer accounts**).
* A live cashback program; for the marketplace block, active rewards; for the wallet block, the wallet pass integration; see [Wallet passes](/dollarback-store-credit/integrations/wallet-passes).

## Step 1. Place the blocks in the account editor

1. In Shopify admin, go to **Settings → Checkout** and open the editor, then switch to the customer account pages (or open the customer accounts editor from **Settings → Customer accounts**).
2. On each page, add the DollarBack blocks you want:

| Account page             | Blocks available                                                                            |
| ------------------------ | ------------------------------------------------------------------------------------------- |
| Order list (order index) | **Store Credit Earned** (balance), **Referral Program - Order List**                        |
| Order status             | **Store Credit Earned** (credit earned on this order), **Referral Program - Order Status**  |
| Profile                  | **Referral Program - Profile**, **Reward Marketplace - Profile**, **Wallet Pass - Profile** |

3. Position each block and save.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-e936be87cf1084b6f50b3eba9220892fbcc4557e%2Fdb-account-editor-profile-annotated.png?alt=media" alt="The Shopify editor on the customer account Profile page, with the Wallet Pass, Referral Program and Reward Marketplace profile blocks listed in the sidebar and their placeholders in the preview."><figcaption><p>Switch the editor to a customer account page, such as Profile, and add the DollarBack blocks for that page.</p></figcaption></figure>

You don't need all three referral placements; most stores use the profile plus one order placement. All three share the same referral code; the placements meet the customer in different moments.

## Step 2. Customize each block

Each block has an editor under **DollarBack admin → Customize**, in the **Customer account** group. The cards there are **Order status cashback**, **All orders cashback**, **All orders Referral**, **Referral order status**, **Referral profile**, **Profile reward marketplace** and **Wallet pass**. Variables in curly braces fill in per customer.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-a90b96a7c5d3e71c0e301fbca6061213ca48758b%2Fdb-p2-wi-customize-account-group-annotated.png?alt=media" alt="The Customer account group on the Customize widgets page with cards for Order status cashback, All orders cashback, All orders Referral, Referral order status, Referral profile and Profile reward marketplace, each with an Active badge and a Customize button."><figcaption><p>Each customer account block has its own card in the Customer account group. Click Customize on the card to open its editor. The Wallet pass card is below these six.</p></figcaption></figure>

**All orders cashback** (the balance on the Order list page)

| Field                 | Variables  |
| --------------------- | ---------- |
| Section heading       | (none)     |
| Body message          | `{amount}` |
| Reward history button | (none)     |

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-6440ad3e0e52622008b05224d157bb8faa971f59%2Fdb-cx-account-orders.png?alt=media" alt="The customer account Orders page with a referral block, Refer a friend and get $5.00 kickback, with Copy Code and WhatsApp buttons, then a Welcome Back block that says You have $12.33 available as store credit and to select the store credit option at checkout, with a Show rewards button, then the order card for #1033." width="560"><figcaption><p>On the Order list page, your customers see their store credit balance and a button that opens their reward history.</p></figcaption></figure>

The **Reward history** button opens a popup with the customer's history. Its **Popup title**, empty and error states, filter and tag labels, and detail labels (**Program**, **Reason**, **Order**, **Order total**, **Expires**, **Code**) are editable strings too. There are four filters — All, Store credit, Discount codes, and Referral — with the last isolating referral earnings from ordinary credit.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-795060eb81d647dde6e86d94c30a9113d64d5446%2Fdb-cx-account-reward-history.png?alt=media" alt="The Reward history window with the filters All, Store credit, Discount codes and Referral, and rows for cashback from an order, credit redeemed at checkout, bonus credit, a redeemed reward and imported credit, each with a Credit or Debit badge." width="560"><figcaption><p>The button opens the Reward history window, where your customers filter their history by type.</p></figcaption></figure>

**All orders Referral / Referral order status / Referral profile** (same fields, three placements)

| Field             | Variables                          |
| ----------------- | ---------------------------------- |
| Heading           | `{amount}`, `{discountCode}`       |
| Body message      | `{amount}`, `{discountCode}`       |
| Copy button label | (none)                             |
| Clipboard text    | `{discountCode}`, `{discountLink}` |

The referral blocks show the customer's code and share options only; they have no referral history. Alongside the copy button, each referral placement offers a **WhatsApp** share that opens the app pre-filled with your **Clipboard text** (left at the default `{discountCode}`, it shares the customer's referral link instead). `{discountLink}` is a link that applies the code automatically. On a phone that's usually the shortest path from "I have a code" to the code actually being sent, so check that your **Clipboard text** reads well as a chat message.

**Profile reward marketplace**

| Field                                                                           | Variables                            |
| ------------------------------------------------------------------------------- | ------------------------------------ |
| Section heading, Balance label, Empty state                                     | (none)                               |
| Cost label                                                                      | `{amount}`                           |
| Conditions heading                                                              | (none)                               |
| Expiry label                                                                    | `{days}`                             |
| Shortfall note                                                                  | `{amount}` (the credit still needed) |
| Redeem button, Copy code button                                                 | (none)                               |
| Success message, Generic error message, Not signed in                           | (none)                               |
| History button, History modal title, History empty state, History error message | (none)                               |

A reward the customer can't afford yet still shows, with its **Redeem** button turned off and the **Shortfall note** ("Add {amount} more to redeem" by default). The reward descriptions and their conditions come from the shared **Reward marketplace text**, not from this block. See [Word your rewards](/dollarback-store-credit/spending-store-credit-and-rewards/set-up-the-reward-marketplace#word-your-rewards-reward-marketplace-text).

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-ee2db1fcedb56ccde2338385fbee303263ac09ad%2Fdb-cx-account-profile.png?alt=media" alt="The customer account Profile page with three blocks: Loyalty card with Add to Google Wallet and Add to Apple Wallet buttons; a referral block with Copy Code and WhatsApp buttons; and Redeem rewards with Available credit $12.33, two rewards that cost $20.00 marked Add $7.67 more to redeem, a Free shipping reward that costs $5.00 with a Redeem button, and a View history button." width="560"><figcaption><p>On the Profile page, rewards the customer can't afford yet show the shortfall note, and their Redeem button is turned off.</p></figcaption></figure>

**Order status cashback** (the credit earned, on the Order status page)

| Field                   | Variables  |
| ----------------------- | ---------- |
| Cashback earned message | `{amount}` |

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-91513b6229a194fa00fadca7749d31d66577d938%2Fdb-cx-account-order-status.png?alt=media" alt="The order status page for Order #1033 with the message You earned $2.33 as store credit for this order, and below it a referral block with Copy Code and WhatsApp buttons." width="560"><figcaption><p>On the Order status page, your customers see the credit that order earned, here above the referral block.</p></figcaption></figure>

**Wallet pass**

The profile block renders **Add to Google Wallet** and **Add to Apple Wallet** entries, each with a signed link generated per customer. The button labels are editable here; the pass itself (issuer and program name, per-platform images, colors, launch URL, and the push notification texts) is configured in **DollarBack admin → Integrations**, not on the Customize page. See [Wallet passes](/dollarback-store-credit/integrations/wallet-passes).

## Verify it works

1. Sign in to the storefront as a test customer with some credit and open the account pages.
2. Profile: balance and marketplace render, the referral code and its WhatsApp share show, and the wallet entries appear (when the integration is on).
3. Open a past order that earned credit: the earned message and referral block show on the order status page.
4. Redeem a low-cost reward from the marketplace and confirm the success message and the new code.

## Common issues

* Blocks don't appear: the store is on classic customer accounts, or the blocks weren't added in the account editor. See [A widget isn't showing on my store](/dollarback-store-credit/troubleshooting-and-faq/widget-isnt-showing).
* The marketplace is empty: no active rewards. Rewards above the customer's balance still show, with a shortfall note. See [Set up the reward marketplace](/dollarback-store-credit/spending-store-credit-and-rewards/set-up-the-reward-marketplace).
* The wallet entries are missing: the wallet pass integration isn't configured, or your plan doesn't include it. See [Wallet passes](/dollarback-store-credit/integrations/wallet-passes).

## Related articles

* [Checkout & thank-you widgets](/dollarback-store-credit/widgets-and-storefront/checkout-and-thank-you-widgets)
* [How customers spend their credit](/dollarback-store-credit/spending-store-credit-and-rewards/how-customers-spend-their-credit)
* [How customers share referral links](/dollarback-store-credit/referral-program/how-customers-share-referral-links)
* [Wallet passes](/dollarback-store-credit/integrations/wallet-passes)


# Icons & images

Every icon and illustration DollarBack draws on your storefront can be swapped for an image of your own. That covers the floating button itself, the illustrations on each card and offer, and the little symbols on the navigation tabs — 28 slots in all.

Unlike the rest of the Customize page, this one is **shared**: a change here applies everywhere that icon appears, rather than to a single widget.

## Prerequisites

* The images you want to use, uploaded to **Shopify Files** (**Shopify admin → Content → Files**). You can also upload from inside the picker, so this is optional.

## Open the page

Go to **DollarBack admin → Customize** and click **Customize** on the **Icons & images** card, badged **Shared**. Its description sums the page up: *"Every icon and illustration on the storefront widget and loyalty page. Swap any of them for an image from your Shopify Files."*

The slots are grouped by the surface they appear on:

| Group                 | Covers                                                                                                                                                                               | Slots |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----- |
| **Storefront widget** | The floating panel on every page: the launcher button, the signed-out illustration, the birthday form, each home card, each earning offer, the reward cards, and the navigation tabs | 19    |
| **Loyalty page**      | Your `/apps/dollarlabs/loyalty` page: the "ways to earn" illustrations, the reward and redeem cards, and the tier badge                                                              | 9     |

## Replace an icon

Each row shows the same three things: two thumbnails, the slot's name and intended size, and the buttons.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-da5105809860093d430b09fd57949cd7e38f491e%2Fdb-icons-page-annotated.png?alt=media" alt="The Icons &#x26; images page with rows for Floating button, Signed-out illustration, Birthday form, Cashback card and Referral card, each with Default and Custom thumbnails, an In use badge on Default, and a Choose image button."><figcaption><p>Each slot shows the default and custom images side by side. The In use badge marks the one your store shows.</p></figcaption></figure>

1. Find the slot you want. The row names it (for example **Floating button**, **Referral card**, **Earn — birthday**) with a short hint and the size it renders at, in pixels.
2. The two thumbnails are **Default** and **Custom**. Whichever one is live carries a green marker, so you can scan the page and see at a glance what you have already changed.
3. Click **Choose image**. Shopify's file picker opens; pick an existing image or upload a new one without leaving the page.
4. The Custom thumbnail fills in and the marker moves to it. The button now reads **Replace**.
5. Click **Save**.

To go back to the DollarBack artwork, click **Reset** on that row. It only appears once a custom image is set, and it restores the default rather than clearing the slot — no icon is ever left blank.

{% hint style="info" %}
**Square PNG or SVG works best.** Each row tells you the size it renders at, and images are scaled to fit it. SVG stays crisp on high-density phone screens; a PNG should be at least twice the listed size for the same reason. Photographs rarely read well at 20–24px — these are icons, not banners.
{% endhint %}

{% hint style="warning" %}
Icons are matched by slot, not by what they look like, so nothing stops you putting a shopping bag in the birthday slot. Check the preview on the widget and loyalty page after saving: the customization previews pick up your icons, so you can confirm the swap without visiting the storefront.
{% endhint %}

## What this page doesn't cover

* **The wallet pass images.** Those live in **Integrations → Wallet passes** and have their own required dimensions per platform ([Wallet passes](/dollarback-store-credit/integrations/wallet-passes)).
* **Email artwork.** Emails are designed in their own editor ([Customize email templates](/dollarback-store-credit/notifications/customize-email-templates)).
* **Text and colors.** Those stay per-widget, on each widget's own page under Customize.

## Verify it works

1. Replace one obvious slot — the **Floating button** is the easiest to spot — and save.
2. Open your storefront in a private window. The launcher should show your image at the same size and position as the default.
3. Open the loyalty page and check any slot you changed there too; the two surfaces have separate slots even where the artwork looks similar.

## Common issues

* **"File picker unavailable — reload the admin"**: App Bridge hasn't finished loading. Refresh the DollarBack page and try again.
* **The picker opens but nothing happens after choosing**: the file couldn't be resolved to a URL. Confirm the file is an image in **Shopify Files** and try again.
* **The icon looks blurry or cropped**: the source is too small, or not square. Re-export at a larger size, square, with transparent padding.
* **A change didn't appear on the storefront**: check you clicked **Save**, then hard-refresh the storefront — themes cache the widget bundle.
* **You changed the wrong surface**: the widget and loyalty page have separate slots with similar names. **Referral card** is the widget; **Earn — referral** is the loyalty page.

## Related articles

* [Widget map: what shows where](/dollarback-store-credit/widgets-and-storefront/widget-map-what-shows-where)
* [The floating cashback widget](/dollarback-store-credit/widgets-and-storefront/the-floating-cashback-widget)
* [Set up the loyalty page](/dollarback-store-credit/widgets-and-storefront/set-up-the-loyalty-page)
* [Translate your widgets](/dollarback-store-credit/widgets-and-storefront/translate-your-widgets)


# Translate your widgets

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

\_Translation is demonstrated throughout the video, first at 1:31.\_

Every text field in every DollarBack widget can be translated per language, so a multi-language store shows the loyalty program in each market's own words. This page covers adding a language, using AI translate, and hand-editing individual strings.

## How widget translation works

Each widget's customization page has language tabs across the top. The first tab is your base language (English); each language you add gets its own tab holding a full set of that widget's text fields. The storefront picks the version matching the language the customer is browsing in, with no extra setup per page.

Translations are per widget: translating the floating widget doesn't translate the product page message. Plan a pass over each widget you use. One exception: the wording of rewards and their unlock conditions lives on the shared **Reward marketplace text** page (Customize → Shared), so translating it once covers checkout, the customer account, the floating widget and the loyalty page.

## Prerequisites

* The extra language published on your store in Shopify (**Settings → Languages**). Only languages your store has appear as options.
* The widgets themselves set up; see [Widget map: what shows where](/dollarback-store-credit/widgets-and-storefront/widget-map-what-shows-where).

## Step 1. Add a language to a widget

1. Go to **DollarBack admin → Customize** and open a widget.
2. Click **Add translation** next to the language tabs and pick a language from the list (your store's published non-English languages).
3. A new tab appears for that language, pre-filled with the base-language strings, ready to translate.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-224c504830b93de5bade96f05e7a8a1b29637aa3%2Fdb-translation-add-popover-annotated.png?alt=media" alt="The Cashback widget editor with the Add translation popover open, listing French, next to the English language tab."><figcaption><p>Click Add translation and choose one of your store's published languages.</p></figcaption></figure>

## Step 2. Translate with AI

With the new language tab selected, click **Translate with AI**. DollarBack translates all of the widget's text fields into that language in one pass. A toast confirms when it's done ("Translated to French"). Variables like `{amount}` and `{discountCode}` are preserved; they keep filling in per customer regardless of language.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-b3bf5266e2f2e4c79784209e4a83e4a019e6afa9%2Fdb-translation-language-tab-annotated.png?alt=media" alt="The Cashback widget editor with English and French language tabs, French selected, and the Translate with AI and Remove French buttons on the right."><figcaption><p>Select the new language tab and click Translate with AI. You can edit any string by hand afterwards.</p></figcaption></figure>

AI translate is a starting point, not a proofreader. Review the output: loyalty copy is brand voice, and short UI strings ("Redeem", "Copy") sometimes need a human call.

## Step 3. Hand-edit strings

Any field in a language tab can be edited directly, before or after AI translate. Common reasons:

* Fixing tone: formal vs informal address matters in many languages.
* Fitting space: a translated button label can be twice as long as the original; check it in the preview.
* Keeping brand terms untranslated: if your program is called "The Grove Club" in every market, put that back where the AI translated it.

Save the widget as usual; the translation ships with it. To drop a language from a widget, open its tab and use **Remove** for that language.

## Multi-language stores in practice

Say you sell in France with a French storefront at `/fr-fr/` backed by a EUR market. Once you've added French translations to your widgets:

* A customer browsing `/fr-fr/` sees every DollarBack surface (product message, floating widget, loyalty page) in French.
* Prices and cashback amounts show in EUR automatically: currency comes from Shopify Markets, not from translation. `{amount}` renders as a EUR value on the French storefront and USD on the default one.
* The same customer switching back to the default storefront sees English again; the translation follows the storefront language, not the customer.

Language and currency are independent systems that happen to travel together: translations handle the words, Markets handles the money.

## What is and isn't translatable

| Translatable (per widget, via the language tabs)                                   | Not translatable here                                                                                                                                                |
| ---------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| All message templates and state messages (product page, cart, checkout, thank-you) | Colors, typography, spacing, and other styling                                                                                                                       |
| Floating widget labels: tabs, earn forms, tier labels, login prompts               | Custom CSS                                                                                                                                                           |
| Loyalty page copy: hero (both states), sections, FAQ                               | Program data you typed elsewhere: cashback config titles, tier names, reward names; translate-sensitive stores should keep these language-neutral or brand-name them |
| Account and checkout block headings, buttons, empty states, errors                 | Email notifications; they have their own templates, see [Customize email templates](/dollarback-store-credit/notifications/customize-email-templates)                |
| Tooltip text                                                                       | The Google Wallet pass notification texts (set in Integrations)                                                                                                      |

## Verify it works

1. Open the translated storefront path (for example `/fr-fr/`) in a private window.
2. Check a product page, the floating widget, and the loyalty page: all strings should be in the new language, with amounts in the market's currency.
3. Switch to the default storefront and confirm the base language still shows.

## Common issues

* A widget still shows English on the translated storefront: that widget has no translation for the language, or the language isn't published in Shopify.
* One string stayed in English: it's a program-data field (config title, reward name), not a widget string; rename it in its own editor.
* Amounts show the wrong currency: that's a Markets setup question, not translation. Check the market serving that language.

## Related articles

* [Widget map: what shows where](/dollarback-store-credit/widgets-and-storefront/widget-map-what-shows-where)
* [The floating cashback widget](/dollarback-store-credit/widgets-and-storefront/the-floating-cashback-widget)
* [Set up the loyalty page](/dollarback-store-credit/widgets-and-storefront/set-up-the-loyalty-page)
* [Customize email templates](/dollarback-store-credit/notifications/customize-email-templates)


# Notifications

The app's built-in emails, configured on **DollarBack admin → Notifications**: which events email customers, what the templates say, and who the emails come from.

* [Email notifications overview](/dollarback-store-credit/notifications/email-notifications-overview)
* [Customize email templates](/dollarback-store-credit/notifications/customize-email-templates)
* [Sender identity & custom domain](/dollarback-store-credit/notifications/sender-identity-and-custom-domain)
* [Monthly store credit balance reminders](/dollarback-store-credit/notifications/monthly-store-credit-balance-reminders)

Sending through your own ESP instead? Route events to Klaviyo or Omnisend and build the flows there; see [Integrations](/dollarback-store-credit/integrations).


# Email notifications overview

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

*This article's section starts at 0:00 in the video.*

DollarBack sends transactional emails to your customers, one for each moment in the credit, reward and tier lifecycle. This page lists every template, when it fires, its default subject line, and how to turn each one on or off.

## The templates

Open **DollarBack admin → Notifications** to see them all under the **Email Templates** section, in the order below. Each template is independent: run all of them, or only the ones that fit your store.

| Template                      | Sent when                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | Default subject                                                         |
| ----------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| Store Credit Credited         | A customer receives store credit: from an order; a signup, newsletter, social, review or custom reward; a `/credit` call to the [merchant API](/dollarback-store-credit/developer-tools/merchant-api-keys-and-endpoints) (unless it sends `notify: false`); a [Shopify Flow](/dollarback-store-credit/integrations/shopify-flow-triggers-and-actions) **Deposit Store Credit v2** action with **Notify Customer** on; or a bulk import with the notify option enabled      | You've earned {formattedAmount} in store credit at {storeName}          |
| Store Credit Redeemed         | A customer spends store credit at checkout                                                                                                                                                                                                                                                                                                                                                                                                                                 | You used {formattedAmount} in store credit at {storeName}               |
| Store Credit Debited          | The store deducts credit: a `/debit` call to the [merchant API](/dollarback-store-credit/developer-tools/merchant-api-keys-and-endpoints), a debit [CSV import](/dollarback-store-credit/analytics-data-and-account/bulk-import-credit-csv) with **Notify Customers** on, or a [Shopify Flow](/dollarback-store-credit/integrations/shopify-flow-triggers-and-actions) **Deduct Store Credit** action. Clawbacks from refunds, cancellations and order edits send no email | Your store credit balance was updated                                   |
| Birthday Credit               | A birthday reward is granted. Sent **instead of** Store Credit Credited, not as well as                                                                                                                                                                                                                                                                                                                                                                                    | Happy birthday, {firstName} — {formattedAmount} to spend at {storeName} |
| Referral Reward Credited      | A referrer earns a reward because someone ordered with their code                                                                                                                                                                                                                                                                                                                                                                                                          | Your referral paid off: {formattedAmount} in credit at {storeName}      |
| Tier Reached                  | A customer earns their **first** tier                                                                                                                                                                                                                                                                                                                                                                                                                                      | You've reached {tier} at {storeName}                                    |
| Tier Upgraded                 | A customer moves up from a lower tier                                                                                                                                                                                                                                                                                                                                                                                                                                      | You've moved up to {tier} at {storeName}                                |
| Tier Downgraded               | A customer drops to a lower tier, but still holds one                                                                                                                                                                                                                                                                                                                                                                                                                      | You're now on {tier} at {storeName}                                     |
| Tier Lost                     | A customer drops out of every tier. Sent **instead of** Tier Downgraded                                                                                                                                                                                                                                                                                                                                                                                                    | Your {previousTier} tier at {storeName} has ended                       |
| Store Credit Expiry Reminder  | A customer's credit is approaching its expiry date, at the reminder thresholds you set                                                                                                                                                                                                                                                                                                                                                                                     | {formattedAmount} in store credit expires {expiresAt}                   |
| Discount Code Earned          | A reward discount code is issued, either earned through a cashback program or claimed in the reward marketplace                                                                                                                                                                                                                                                                                                                                                            | Your {storeName} reward: {rewardSummary}                                |
| Discount Code Expiry Reminder | An unused discount code is about to expire                                                                                                                                                                                                                                                                                                                                                                                                                                 | Your code {discountCode} expires {expiresAt}                            |

Subjects are fully editable and accept variables; see [Customize email templates](/dollarback-store-credit/notifications/customize-email-templates) for the complete variable list.

### The four tier emails

Tier movement used to be covered by two templates. It is now four, so each message can say the right thing rather than hedging:

* **Tier Reached** greets someone entering the ladder for the first time. There is no previous tier to mention, so `{previousTier}` isn't available here.
* **Tier Upgraded** is for a move *up* from a tier they already held, and can name both (`{previousTier}` and `{tier}`).
* **Tier Downgraded** is for a move *down* to a tier they still hold.
* **Tier Lost** replaces Tier Downgraded when the customer no longer qualifies for anything. `{tier}` is empty here, because there is no current tier.

{% hint style="info" %}
If you customized the old **Tier Reached** copy, check it now. That template's meaning narrowed: it used to fire on any upgrade, and now fires only on a customer's first tier. Copy written for repeat promotions belongs in **Tier Upgraded**.
{% endhint %}

## What customers see

Here is how three of the templates look in a customer's inbox.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-9748a7fe0b883f8ac17d4d9fea1ec434f195dbf5%2Fdb-cx-email-credited.png?alt=media" alt="Store Credit Credited email with a subject that the store wrote. The body says Congratulations, Maya!, You&#x27;ve received $2.33 in store credit for shopping with us, gives the updated balance of $12.33 and has a Visit store button." width="560"><figcaption><p>Store Credit Credited. The subject here is one this store wrote itself; your customers see your subject, or the default one in the table above.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-0844b95696fb661d4142c46d69c2eb7a1e468e36%2Fdb-cx-email-redeemed.png?alt=media" alt="Email with the subject You used $20.00 in store credit at Dollarback Skincare Co. The body is a store credit receipt: $20.00 applied to the order, Remaining balance $10.00, and a Visit store button." width="560"><figcaption><p>Store Credit Redeemed is a receipt for the credit your customer spent at checkout, with the balance that is left.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-1bd403bc87f5f4307f5fa7b9dec41da562bc3ccc%2Fdb-cx-email-referral-reward.png?alt=media" alt="Email with the subject Your referral paid off: $5.00 in credit at Dollarback Skincare Co. The body says Jordan just made their first purchase, shows a $5.00 referral reward added to store credit with the balance now $22.33, and has a Spend my reward button." width="560"><figcaption><p>Referral Reward Credited names the friend who made the purchase and shows the referrer's new balance.</p></figcaption></figure>

## Turning emails on for your store

Customer emails are gated per store, above the individual template toggles. Until they're switched on, the Notifications page shows nothing but a banner: *"Customer emails are disabled — Transactional email notifications … are turned off for your store. Contact support to enable them."*

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-a5d7af9560275ce1ef78ada70c043396bfc0aba6%2Fdb-notifications-emails-disabled.png?alt=media" alt="The DollarBack Notifications page with a yellow Customer emails are disabled banner that asks you to contact support to enable transactional emails."><figcaption><p>Until customer emails are switched on for your store, the Notifications page shows only this banner.</p></figcaption></figure>

Ask through the in-app chat and the team switches it on, usually the same day. Once your programs are live, the home page shows a **Turn on customer emails** banner; its **Chat with us** button opens the chat with the request already typed in. Once it's on, the page opens up: every template, the reply-to address, and the expiry reminder timing.

Credit is issued and redeemed as normal in the meantime — the only thing missing is the email.

## Enable or disable a template

Every template is enabled until you turn it off.

1. Go to **DollarBack admin → Notifications**.
2. In the **Email Templates** section, click **Edit** on the template you want to change.
3. In the **Email** card at the top of the editor, use the switch to enable or disable the template. The badge beside it reads **Enabled** or **Disabled**.
4. Click **Save**.

A disabled template never sends, even when its trigger event happens. Credit is still issued or redeemed as normal.

{% hint style="warning" %}
If you reward discount codes (from an earning program or the reward marketplace), keep **Discount Code Earned** enabled: this email is how the customer receives their code.
{% endhint %}

{% hint style="info" %}
**Store Credit Debited** is on by default, so check it if your team makes routine adjustments. It goes out when your store takes credit off a balance: a merchant API `/debit`, a debit CSV import with **Notify Customers** on, or a Shopify Flow **Deduct Store Credit** action (always for the older action; for **Deduct Store Credit v2** only when its **Notify Customer** field is on). It lands with the customer as "your balance went down", so reword it to read as a correction, or turn it off. Merchant API calls can also skip it per request with `notify: false`.

Refund, cancellation and order-edit clawbacks don't send any email.

Until 29 October 2026, these store-initiated debits sent **Store Credit Redeemed** instead. If you turned off Redeemed to stop those emails, they now come from **Store Credit Debited**: turn that one off as well, or reword it.
{% endhint %}

## Expiry reminder scheduling

The **Store Credit Expiry Reminder** template is the only one tied to a schedule rather than a single event. In the **Expiry Notification Schedule** section on the Notifications page, use **Add notification** to define one or more reminder thresholds (for example 14 days and 3 days before expiry). You can have up to 5 thresholds, each between 1 and 365 days before expiry; the defaults are 1, 3 and 7 days. One reminder email goes out at each threshold.

A credit's reminders are booked when the credit is issued, using the schedule saved at that moment. A schedule change applies to credit issued after you save it, not to credit customers already hold. The thresholds also drive the expiry events sent to your connected integrations; see [Klaviyo integration](/dollarback-store-credit/integrations/klaviyo-integration) and [Shopify Flow: triggers and actions](/dollarback-store-credit/integrations/shopify-flow-triggers-and-actions).

## Who the emails come from

By default, emails send with your configured sender name, and replies go to your store contact email. You can change both, and on qualifying plans send from your own domain. See [Sender identity and custom domain](/dollarback-store-credit/notifications/sender-identity-and-custom-domain).

Unsubscribes are per-store: a customer who opts out of your emails is only unsubscribed from your store, and every email includes an unsubscribe link.

## Verify it works

1. Open any template with **Edit** and use **Send Test Mail** to deliver a draft with mock data to your own address.
2. For an end-to-end check, place a small test order that earns cashback and confirm the Store Credit Credited email arrives at the customer's address.
3. For the tier emails, the quickest route is a [tier sync](/dollarback-store-credit/loyalty-tiers/sync-tiers-to-customers) on a test customer whose spend crosses a threshold.

## Common issues

* A customer says they never got an email: open the template with **Edit** and check that it's enabled first, then see [Emails aren't arriving](/dollarback-store-credit/troubleshooting-and-faq/emails-arent-arriving).
* Expiry reminders aren't going out: confirm you have thresholds in the **Expiry Notification Schedule** and that credit actually has an expiry date set ([Credit expiry and reminders](/dollarback-store-credit/spending-store-credit-and-rewards/credit-expiry-and-reminders)).
* Emails land in spam: sending from your own verified domain usually fixes this ([Sender identity and custom domain](/dollarback-store-credit/notifications/sender-identity-and-custom-domain)).

## Related articles

* [Customize email templates](/dollarback-store-credit/notifications/customize-email-templates)
* [Sender identity and custom domain](/dollarback-store-credit/notifications/sender-identity-and-custom-domain)
* [Credit expiry and reminders](/dollarback-store-credit/spending-store-credit-and-rewards/credit-expiry-and-reminders)
* [Emails aren't arriving](/dollarback-store-credit/troubleshooting-and-faq/emails-arent-arriving)


# Customize email templates

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

*This article's section starts at 1:19 in the video.*

Every DollarBack email can be rebranded to match your store (logo, colors, layout, copy, and subject line) in a visual drag-and-drop editor. When you're done, you'll have on-brand emails that pull in each customer's real amounts and dates through variables.

## Prerequisites

* Know which template you're editing and when it fires; see [Email notifications overview](/dollarback-store-credit/notifications/email-notifications-overview).

## Step 1: Open the template editor

1. Go to **DollarBack admin → Notifications**.
2. In the **Email Templates** section, click **Edit** on the template you want to change.
3. The editor opens with the current design loaded.

## Step 2: Edit the subject

The **Subject** field sits above the body editor. It accepts the same variables as the body, so a subject like `{firstName}, you just earned {formattedAmount}!` renders personalized for every recipient.

## Step 3: Design the body

The body is built from drag-and-drop blocks: logo, banner image, text, buttons, footer. Drag blocks in from the sidebar, click any block to edit its content and styling, and reorder or delete blocks directly on the canvas. Your design is saved as a layout and rendered to HTML at send time, so it stays editable. You never have to touch raw HTML.

Type variables directly into any text region; they're replaced with the customer's real values when the email sends.

## Variables you can use

The editor lists the variables valid for the template you have open, under **Available variables**. The full picture:

### Available in every template

| Variable              | Renders as                                                                                                              |
| --------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| `{firstName}`         | Customer's first name                                                                                                   |
| `{lastName}`          | Customer's last name                                                                                                    |
| `{storeName}`         | Your store's name                                                                                                       |
| `{storeUrl}`          | Your store's address (its primary domain, e.g. <https://example.com>)                                                   |
| `{storeSupportEmail}` | Your support address: the **Reply-to email** set on the Notifications page, or your store contact email if that's blank |
| `{unsubscribeUrl}`    | The customer's unsubscribe link                                                                                         |

`{storeName}`, `{storeUrl}` and `{storeSupportEmail}` don't appear in the editor's list but resolve everywhere. Every default subject line uses `{storeName}`. The default design's button links to `{storeUrl}`, and its footer names `{storeSupportEmail}`.

{% hint style="warning" %}
**The default design uses fixed text, not variables.** When you open a template you haven't saved yet, the editor fills your current store name, address and contact email into the default design as plain text. Type `{storeName}`, `{storeUrl}` or `{storeSupportEmail}` instead if you want the email to follow later changes.
{% endhint %}

### Available in every template except the tier emails

| Variable            | Renders as                                                                                                  |
| ------------------- | ----------------------------------------------------------------------------------------------------------- |
| `{amount}`          | The credit or reward amount as a plain number (e.g. 10.00)                                                  |
| `{formattedAmount}` | The amount with currency formatting (e.g. $10.00, CA$10.00)                                                 |
| `{symbol}`          | The currency symbol as amounts print it (e.g. $, or CA$ for Canadian dollars and A$ for Australian dollars) |
| `{currency}`        | The currency code (e.g. USD)                                                                                |

A tier email isn't about a sum of money, so these are deliberately unavailable there.

Every formatted amount uses one format, the same one DollarBack uses in Shopify Flow, the merchant API and the admin: `$1,234.50`, `¥1,000`, `CA$10.00`. Currencies that share the `$` sign get a prefix, so `{symbol}` is `CA$` for CAD rather than `$`.

### Template-specific variables

| Template                      | Extra variables                                                                                                                        |
| ----------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| Store Credit Credited         | `{balance}`, `{formattedBalance}`, `{expiresAt}`, `{formattedExpiresAt}`, `{remainingDays}`, `{creditReason}`                          |
| Birthday Credit               | `{balance}`, `{formattedBalance}`, `{expiresAt}`, `{formattedExpiresAt}`, `{remainingDays}`                                            |
| Store Credit Redeemed         | `{balance}`, `{formattedBalance}`                                                                                                      |
| Store Credit Debited          | `{balance}`, `{formattedBalance}`                                                                                                      |
| Referral Reward Credited      | `{refereeFirstName}`, `{refereeLastName}`, `{balance}`, `{formattedBalance}`, `{expiresAt}`, `{formattedExpiresAt}`, `{remainingDays}` |
| Store Credit Expiry Reminder  | `{expiresAt}`, `{formattedExpiresAt}`, `{remainingDays}`                                                                               |
| Discount Code Earned          | `{discountCode}`, `{rewardSummary}`                                                                                                    |
| Discount Code Expiry Reminder | `{discountCode}`, `{rewardSummary}`, `{expiresAt}`, `{formattedExpiresAt}`, `{remainingDays}`                                          |
| Tier Reached                  | `{tier}`, `{tierMultiplier}`                                                                                                           |
| Tier Upgraded                 | `{tier}`, `{tierMultiplier}`, `{previousTier}`                                                                                         |
| Tier Downgraded               | `{tier}`, `{tierMultiplier}`, `{previousTier}`                                                                                         |
| Tier Lost                     | `{previousTier}`                                                                                                                       |

`{creditReason}` renders a short phrase for how the credit was earned, so it reads naturally after "in store credit": "for shopping with us" (order cashback), "for signing up", "for subscribing" (newsletter), "for following us" (social), "for your review" or "for referring a friend". Credit from any other source, including the [merchant API](/dollarback-store-credit/developer-tools/merchant-api-keys-and-endpoints), Shopify Flow, bulk imports and custom rewards, reads "from" followed by your store name (for example "from Example Store"). The `reason` text you send to the merchant API is not shown in the email. `{tierMultiplier}` is the bare number (e.g. `1.5`), so write your own wording around it: `You now earn {tierMultiplier}× cashback`.

`{tier}` is the customer's current tier name. It replaced `{tierName}`, which still works in saved templates; the editor marks it **Deprecated**, so use `{tier}` in new copy.

The two expiry variables print in your store's time zone:

| Variable               | Example                        | When the credit never expires |
| ---------------------- | ------------------------------ | ----------------------------- |
| `{expiresAt}`          | March 18, 2026                 | Never                         |
| `{formattedExpiresAt}` | March 18, 2026 at 11:59 PM EST | Never                         |

Note the two tier variables that are absent by design: **Tier Reached** has no `{previousTier}`, because there wasn't one, and **Tier Lost** has no `{tier}`, because there isn't one now.

{% hint style="warning" %}
Variables only carry a value in the template they belong to. Putting `{discountCode}` in the credited email, for example, won't produce a code — it renders as nothing, leaving a gap in the sentence. An expiry or balance variable outside its templates prints a placeholder such as `0` or **Never** instead. Check the table above before reusing content across templates.
{% endhint %}

{% hint style="warning" %}
**These variables were removed in September 2026** and no longer resolve anywhere: `{balanceLine}`, `{expiryLine}`, `{daysLeft}`, `{tierPerkLine}` and `{tierChangeLine}`. Each was a pre-written sentence ("Remaining balance: $12.00", "You now earn 1.5× cashback on every order") that went blank when it didn't apply. They were replaced by the raw values above, so you write the sentence and keep control of the wording.

If you customized a template before that date, open it and search the body and subject for those five names. Any that survive will print as literal text. Swap them for the raw variable — `{balanceLine}` becomes something like `Remaining balance: {formattedBalance}` — and remember to handle the case the old variable hid for you, such as a zero balance or a credit with no expiry date.
{% endhint %}

## Step 4: Send a test

1. Click **Send Test Mail** in the editor.
2. In the **Send Test Email** dialog, enter any address in **Test Email Address** and click **Send**.
3. The current draft is delivered with mock data filled in (the customer renders as "John Doe", amounts as $10.00, and the order as TEST-ORDER-12345), so you can check layout and variable placement without triggering a real event.

## Step 5: Save

Click **Save** to publish your changes. From that moment, every email of this type uses the new design.

## Verify it works

Trigger the real email once: place a small test order that earns cashback (for the credited template) and confirm the received email matches your design with real values in place of the variables.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-1bd403bc87f5f4307f5fa7b9dec41da562bc3ccc%2Fdb-cx-email-referral-reward.png?alt=media" alt="Received Referral Reward Credited email with the subject Your referral paid off: $5.00 in credit at Dollarback Skincare Co. The body says Jordan just made their first purchase, shows a $5.00 referral reward added to store credit with the balance now $22.33, and has a Spend my reward button." width="560"><figcaption><p>What your customers receive: the friend's first name, the amount and the new balance are filled in with real values.</p></figcaption></figure>

## Common issues

* The test email never arrives: check spam, and see [Emails aren't arriving](/dollarback-store-credit/troubleshooting-and-faq/emails-arent-arriving).
* A variable shows up as literal text, braces and all: DollarBack doesn't know that name. Check the spelling and capitalization against the tables above (`{formattedAmount}`, not `{FormattedAmount}`). If it's one of `{balanceLine}`, `{expiryLine}`, `{daysLeft}`, `{tierPerkLine}` or `{tierChangeLine}`, it was removed — see the note above.
* A variable renders as nothing, `0` or **Never** where you expected a value: it may belong to a different template (see the warning above).
* The expiry date reads **Never**: the credit behind that email has no expiry date. Word the sentence so it still reads well, for example "Expires: {expiresAt}".
* The email looks different in a customer's inbox than in the editor: send a test to that mail provider; some clients render backgrounds and spacing differently.

## Related articles

* [Email notifications overview](/dollarback-store-credit/notifications/email-notifications-overview)
* [Sender identity and custom domain](/dollarback-store-credit/notifications/sender-identity-and-custom-domain)
* [Reward discount codes instead of store credit](/dollarback-store-credit/earning-cashback-programs/reward-discount-codes-instead-of-store-credit)
* [Emails aren't arriving](/dollarback-store-credit/troubleshooting-and-faq/emails-arent-arriving)


# Sender identity & custom domain

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

*This article's section starts at 3:03 in the video.*

Control who your DollarBack emails appear to come from: set the sender name and reply-to address, and on qualifying plans send from your own domain so emails carry your brand and inherit your domain's reputation.

## Prerequisites

* At least one email template enabled ([Email notifications overview](/dollarback-store-credit/notifications/email-notifications-overview)).
* For a custom sending domain: access to your domain's DNS settings (at your registrar or DNS host) and a plan that includes the feature.

## Set the sender name and reply-to

1. Go to **DollarBack admin → Notifications**.
2. In the **Sender** section, set:
   * **Sender name**: the "from" name customers see in their inbox.
   * **Reply-to email**: where customer replies go. This defaults to your store contact email; change it if support mail should land elsewhere.
3. Save your changes.

These apply to every template.

## Connect a custom sending domain

{% hint style="info" %}
**Plan:** custom sending domains are available on qualifying plans. If the section is locked, see [Plans, usage and overage billing](/dollarback-store-credit/analytics-data-and-account/plans-usage-and-overage-billing).
{% endhint %}

Without a custom domain, emails send from DollarBack's shared sending infrastructure. Connecting your own domain (say `evermail.example.com` on `example.com`) means emails authenticate as genuinely yours, which improves deliverability and removes third-party naming from the "from" address.

### Step 1: Add the domain

1. In the **Custom Sending Domain** section, enter your **Sending domain**: the domain or subdomain you want mail to come from.
2. Set the **From address**: the mailbox part before the `@`.
3. Click **Connect domain**. DollarBack generates the DNS records your domain needs.

{% hint style="warning" %}
**Use a domain you own.** `myshopify.com` addresses are refused (*"Use a domain you own, not your myshopify.com domain"*), and so are `dollarlabs.io` and `amazonses.com` domains (*"This domain is not allowed"*).
{% endhint %}

### Step 2: Add the DNS records

The page now lists the records to create, with **Name**, **Target**, **Priority**, and **Value** columns. There are two groups:

| Record group    | Type               | Purpose                                                                                               |
| --------------- | ------------------ | ----------------------------------------------------------------------------------------------------- |
| DKIM            | CNAME records      | Cryptographically signs your emails so inbox providers can verify they really come from your domain   |
| SPF / MAIL FROM | MX and TXT records | Authorizes DollarBack's mail servers to send on behalf of your domain and sets the bounce/return path |

In your DNS provider's dashboard (Cloudflare, GoDaddy, Namecheap, Shopify-managed domains, etc.):

1. Open the DNS management page for your domain.
2. Create each record exactly as shown: copy the **Name** and **Target/Value** fields verbatim, and set the **Priority** on the MX record where your provider asks for one.
3. Save the records.

{% hint style="warning" %}
Copy-paste the record values. A single stray character or trailing dot mismatch will keep verification failing. Some DNS providers automatically append your domain to the record name; if verification fails, check whether the name was doubled (e.g. `record.example.com.example.com`).
{% endhint %}

### Step 3: Verify

Back in DollarBack, click **Check status**. DNS changes can take from a few minutes to several hours to propagate. You don't have to keep checking: while the domain is unverified, DollarBack also checks its status automatically every 30 minutes. Once every record shows verified, your emails start sending from your domain.

To stop using the domain, click **Remove sending domain**. Emails fall back to the default sender.

## The deliverability pre-send guard

Before every send, DollarBack checks the recipient address:

* **Unsubscribed**: a customer who unsubscribed from your store's emails gets none.
* **Earlier bounces and complaints**: an address that has hard-bounced or marked a DollarBack email as spam before, from any store, is skipped.
* **Syntax**: malformed addresses are rejected.
* **Disposable domains**: throwaway-email domains are skipped.
* **MX check**: if the recipient's domain has no mail server, the email is not sent.

This protects your sender reputation, but it also means some "missing" emails were never sent at all, which is worth knowing before you debug templates. See [Emails aren't arriving](/dollarback-store-credit/troubleshooting-and-faq/emails-arent-arriving).

## Verify it works

Open any template and use **Send Test Mail** to your own address. Check the received email's from address and, in your mail client's "show original"/headers view, confirm DKIM and SPF pass for your domain.

## Common issues

* Verification keeps failing: re-check each record's name and value against the table, wait for DNS propagation, then **Check status** again.
* Emails still send from the default address: the domain isn't fully verified yet; all records must pass.
* A specific customer never receives emails: their address may be failing the pre-send guard; see [Emails aren't arriving](/dollarback-store-credit/troubleshooting-and-faq/emails-arent-arriving).

## Related articles

* [Email notifications overview](/dollarback-store-credit/notifications/email-notifications-overview)
* [Customize email templates](/dollarback-store-credit/notifications/customize-email-templates)
* [Emails aren't arriving](/dollarback-store-credit/troubleshooting-and-faq/emails-arent-arriving)
* [Plans, usage and overage billing](/dollarback-store-credit/analytics-data-and-account/plans-usage-and-overage-billing)


# Monthly store credit balance reminders

Credit that never expires has no deadline to bring customers back, so it's easy for them to forget it's there. A monthly email reminding every customer with a balance how much they have, and that it's waiting at checkout, solves that. This page sets one up entirely in Shopify, using a customer segment and Shopify Messaging, with each customer's own balance in the email.

DollarBack issues credit as native Shopify store credit, so Shopify already knows every customer's balance. There's nothing to sync or export.

{% hint style="info" %}
DollarBack's own **Store Credit Expiry Reminder** email only fires for credit that expires. If your cashback programs use an expires-after value of `0` (never expires), that email never sends, and this setup is the way to remind customers instead. See [Credit expiry & reminders](/dollarback-store-credit/spending-store-credit-and-rewards/credit-expiry-and-reminders).
{% endhint %}

## Prerequisites

* Shopify Messaging (formerly Shopify Email) on your store.
* A desktop browser: Shopify only lets you add custom Liquid to an email from a desktop device.

## Step 1: Build the segment

1. In Shopify admin, go to **Customers → Segments → Create segment**.
2. Enter this query:

   ```
   store_credit_accounts MATCHES (balance >= 1)
   ```

   This matches every customer with at least 1 unit of store credit in any currency. You can also start from Shopify's built-in template, **Customers with store credit available to spend**.
3. Name it, for example `Has store credit`, and save.

The segment keeps itself up to date: customers drop out when they spend their balance and join when they earn credit. To ignore tiny leftover balances, raise the threshold, e.g. `balance >= 5`.

| You want                                      | Query                                                                   |
| --------------------------------------------- | ----------------------------------------------------------------------- |
| Anyone with a balance                         | `store_credit_accounts MATCHES (balance >= 1)`                          |
| Balances of $10 or more                       | `store_credit_accounts MATCHES (balance >= 10, currency: 'USD')`        |
| Customers who earned credit in the last month | `store_credit_accounts MATCHES (balance >= 1, last_credit_date >= -1m)` |

## Step 2: Create the email

1. In Shopify admin, go to **Marketing → Campaigns**, create a new Shopify Messaging email, and choose a template.
2. Set the recipients to the segment from step 1.
3. Write a subject line, for example *You have store credit waiting at {your store}*.

## Step 3: Show each customer's balance

Shopify Messaging supports a Liquid variable that prints the customer's store credit balance:

```liquid
{{ customer.store_credit_account.balance | money_with_currency }}
```

To use it:

1. In the email editor, click **Add section** and choose **Custom Liquid**.
2. Paste a block like this, and adjust the wording to your brand:

   ```liquid
   <p>Hi {{ customer.first_name | default: 'there' }},</p>
   <p>You have <strong>{{ customer.store_credit_account.balance | money_with_currency }}</strong>
      in store credit at {{ shop.name }}.</p>
   <p>It never expires, and it's applied at checkout when you're logged in to your account.</p>
   ```
3. Add the rest of your email with the normal editor sections: a **Shop now** button, product images, and so on.

`money_with_currency` shows the amount with its currency code, like `$24.50 USD`. Use `money` instead to show `$24.50`.

{% hint style="info" %}
A custom Liquid section can be up to 50 KB, far more than a reminder needs. Keep the button and images in regular editor sections so they stay easy to change.
{% endhint %}

## Step 4: Test with a real customer

A test email isn't tied to a customer, so the balance may come out blank in a test send. To see it rendered properly before your real send:

1. Give a staff customer account a small balance, through a manual credit in DollarBack or from the customer's page in Shopify admin.
2. Create a one-person segment: `customer_email = 'you@yourstore.com'`.
3. Send the campaign to that segment and check the amount in the email matches the customer's balance.
4. Switch the recipients back to your `Has store credit` segment.

## Step 5: Send it every month

Shopify Messaging campaigns send once. To make the reminder monthly:

* Each month, open last month's campaign, **Duplicate** it, and schedule the copy. The segment stays the same, so it reaches whoever has a balance at that point.
* Or schedule a few months of copies at once, for example on the first of each month.

Refreshing the subject line or the featured products each month keeps the email from feeling repetitive.

## Things to know

* **Only marketing subscribers receive it.** Campaigns are marketing email, so customers who haven't subscribed to email marketing are skipped, even if they have a balance.
* **Multiple currencies.** A customer can hold store credit in more than one currency. If you sell in several, make one segment and campaign per currency (`currency: 'EUR'`, `currency: 'GBP'`, and so on) and use the test in step 4 to check which amount each email shows.
* **Pending credit isn't included.** If you use a [holding period](/dollarback-store-credit/earning-cashback-programs/when-credit-is-issued), credit that is still pending isn't part of the Shopify balance yet, so the email shows only what the customer can spend today.

## Related articles

* [Credit expiry & reminders](/dollarback-store-credit/spending-store-credit-and-rewards/credit-expiry-and-reminders)
* [Email notifications overview](/dollarback-store-credit/notifications/email-notifications-overview)
* [When credit is issued](/dollarback-store-credit/earning-cashback-programs/when-credit-is-issued)
* [Shopify Flow: triggers & actions](/dollarback-store-credit/integrations/shopify-flow-triggers-and-actions)


# Integrations

Everything on **DollarBack admin → Integrations**: event syncs to your marketing stack, Shopify Flow automation, cart drawers, and wallet passes, plus recipe guides for pairing DollarBack with third-party apps.

* [Klaviyo integration](/dollarback-store-credit/integrations/klaviyo-integration)
* [Omnisend integration](/dollarback-store-credit/integrations/omnisend-integration)
* [Mailchimp integration](/dollarback-store-credit/integrations/mailchimp-integration)
* [Shopify Flow: triggers & actions](/dollarback-store-credit/integrations/shopify-flow-triggers-and-actions)
* [Cart drawer integrations](/dollarback-store-credit/integrations/cart-drawer-integrations)
* [Wallet passes](/dollarback-store-credit/integrations/wallet-passes)

## Recipes

* [Subscription platforms](/dollarback-store-credit/integrations/subscription-platforms): redeem store credit against upcoming renewals.
* [Store credit for submitting review](/dollarback-store-credit/integrations/store-credit-for-submitting-review): reward reviews from Judge.me, Loox, Yotpo, Stamped.io, and seven more review apps.

For the app's own emails (templates, sender domain), see [Notifications](/dollarback-store-credit/notifications).


# Klaviyo integration

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

Connect Klaviyo to receive every DollarBack credit event as a Klaviyo metric and keep each profile's credit balance and referral code in sync, so you can build flows, segments, and campaigns around store credit.

## Prerequisites

* A Klaviyo account with admin access.
* At least one active earning program, so there are events to sync ([Set up purchase cashback](/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback)).

## Connect Klaviyo

1. Go to **DollarBack admin → Integrations** and find the **Klaviyo** card.
2. Click **Set up**. The Klaviyo page opens.
3. Click **Connect with Klaviyo** and approve the OAuth connection in the Klaviyo tab that opens. Sign in to the Klaviyo account you want linked.
4. Klaviyo shows **Authorization Successful**, and after a few seconds the tab takes you back to the Klaviyo page in DollarBack, which now shows **Connected**. Events begin syncing immediately; no API keys to copy.
5. Click **Sync Balance** once, so customers who already have credit get their balance properties in Klaviyo (see [Sync buttons](#sync-buttons)).

{% hint style="info" %}
Klaviyo needs a plan that includes **Klaviyo, Omnisend, Mailchimp and Flow integrations**. On other plans the Klaviyo page shows **Upgrade to Connect** instead of **Connect with Klaviyo**, with the banner "Integrations aren't available on your current plan." Click it to compare plans on the **Billing** page ([Choose a plan and start your trial](/dollarback-store-credit/getting-started/choose-a-plan-and-start-your-trial)).
{% endhint %}

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-a8dd768cf1af9993eec75747350b9d87d09634e1%2Fdb-integrations-hub-marketing-annotated.png?alt=media" alt="The Integrations page in DollarBack. The Marketing and automations section shows cards for Klaviyo and Omnisend (both Connected) and Shopify Flow (Enabled), each with a Manage button, and cards for Mailchimp and Judge.me (Not Connected) with a Set up button."><figcaption><p>Every integration starts on the Integrations page. Click Set up on the card you need. Once it is connected, the button reads Manage.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-c10a2519322b027eabe5767c85f0ff6693962451%2Fdb-klaviyo-connected-annotated.png?alt=media" alt="The Klaviyo integration page with a Connected badge and the buttons Disconnect Klaviyo, Sync Balance, Sync Referral Codes and Send Demo Events. Below, the Synced Properties panel (dbBalance, dbFormattedBalance, dbCurrency, dbSymbol, dbReferralCode) and the Synced Events panel each have Current and Deprecated tabs. The events are grouped into Store credit, Referral, Discount codes and Tiers."><figcaption><p>Once Klaviyo is connected, its page lists every property and event DollarBack sends under the new names. The Deprecated tabs list the old names, which are still sent.</p></figcaption></figure>

## Synced events

Each event appears in Klaviyo as a metric under the connected integration, attached to the customer's profile.

DollarBack sends every event **twice**: first under its old Title Case name, then under its new name. The old names are deprecated. They still go out with their old values, so flows built on them keep running, but build new flows on the new names. The Klaviyo page in DollarBack lists both, on its **Current** and **Deprecated** tabs.

| Klaviyo event             | Old name (deprecated)          | Fires when                                                                                                                               | Key fields                                                                                                                                             |
| ------------------------- | ------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `store_credit_credited`   | Store Credit Credited          | Credit is issued: order cashback, a signup, newsletter, social, review or custom reward, a merchant API or CSV credit, or a Flow deposit | amount, formattedAmount, currency, symbol, reason, expiresAt, formattedExpiresAt, expiryDays, offerTitle, orderId, orderName                           |
| `birthday_reward`         | Birthday Reward Credited       | A birthday reward is issued as store credit                                                                                              | amount, formattedAmount, currency, symbol, reason, expiresAt, formattedExpiresAt, expiryDays, offerTitle                                               |
| `store_credit_debited`    | Store Credit Debited           | Credit is removed: a refund, cancellation or order-edit clawback, a merchant API or CSV debit, or a Flow deduction                       | amount, formattedAmount, currency, symbol, reason, offerTitle, orderId, orderName                                                                      |
| `store_credit_redeemed`   | Store Credit Redeemed          | A customer spends credit at checkout                                                                                                     | amount, formattedAmount, currency, symbol, reason, orderId, orderName                                                                                  |
| `store_credit_expiring`   | Store Credit Expiry Threshold  | Credit crosses a reminder threshold you set in the Expiry Notification Schedule                                                          | amount (the part of that credit still unspent), formattedAmount, currency, symbol, reason, expiresAt, formattedExpiresAt, remainingDays, transactionId |
| `referral_code_generated` | Referral Code Generated        | A referral code is created for a customer                                                                                                | referralCode, reason                                                                                                                                   |
| `referral_rewarded`       | Referral Reward Credited       | A referrer earns a reward                                                                                                                | amount, formattedAmount, currency, symbol, reason, expiresAt, formattedExpiresAt, expiryDays, orderId, orderName, refereeFirstName, refereeLastName    |
| `discount_code_credit`    | Discount Code Credited         | A reward discount code is issued, earned through a program or claimed in the reward marketplace                                          | discountCode, rewardSummary, offerTitle, reason, orderId, orderName, amount, formattedAmount, currency, symbol                                         |
| `discount_code_expiring`  | Discount Code Expiry Threshold | An unused reward discount code crosses a reminder threshold                                                                              | discountCode, rewardSummary, offerTitle, reason, expiresAt, formattedExpiresAt, remainingDays                                                          |
| `tier_upgraded`           | Customer Tier Upgraded         | A customer moves up a tier, or reaches their first tier                                                                                  | tier, previousTier, reason                                                                                                                             |
| `tier_downgraded`         | Customer Tier Downgraded       | A customer moves down a tier, or loses their tier                                                                                        | tier, previousTier, reason                                                                                                                             |

Some fields are left out when they don't apply: a signup reward has no `orderId`, and credit that never expires has no `expiresAt`. In the new events:

* `expiresAt` is the date in your store's time zone (`March 5, 2027`), and `formattedExpiresAt` adds the time and zone (`March 5, 2027 at 3:07 AM EST`).
* `formattedAmount` uses the same money format as your DollarBack emails: `$36.85`, `CA$10.33`. `symbol` follows it, so it's `CA$` for Canadian dollars.
* `reason` says why the event happened, for example `Order Cashback`, `Signup Bonus`, `Order Refund` or `Manual Debit`.

Claiming a reward-marketplace reward sends only `discount_code_credit`. The store credit it costs doesn't send a debited event.

{% hint style="info" %}
There is no event when credit actually expires. To reach customers at the last moment, add a 1-day threshold to your Expiry Notification Schedule and trigger on `store_credit_expiring` where `remainingDays` is 1. Use `formattedExpiresAt` as it is. On the old *Store Credit Expiry Threshold* event, `expiresAt` is a raw date-time value that you have to format in your template, for example `{{ event.expiresAt|format_date_string|date:'F j, Y' }}`.
{% endhint %}

## Profile properties

Alongside each event, DollarBack updates these custom properties on the Klaviyo profile. Each one is written under its new name and, deprecated, under its old name:

| Property           | Old name (deprecated)    | Contains                                                    |
| ------------------ | ------------------------ | ----------------------------------------------------------- |
| dbBalance          | Dollar Balance           | The customer's current store-credit balance as a number     |
| dbFormattedBalance | Dollar Formatted Balance | The balance formatted for display (e.g. $24.50)             |
| dbCurrency         | Dollar Currency Code     | The balance's currency code (e.g. USD)                      |
| dbSymbol           | Dollar Symbol            | The currency symbol                                         |
| dbReferralCode     | Referral Code            | The customer's referral code (set when a code is generated) |

Because properties update with every event, segments built on them stay current without scheduled exports.

DollarBack finds the Klaviyo profile by the first of these that the Shopify customer has:

1. Email address
2. Phone number
3. First and last name
4. Shopify customer ID

## Sync buttons

Events only update the profiles of customers who have credit activity after you connect. To fill in everyone else, use the buttons on the Klaviyo page:

| Button                  | What it does                                                                                                                                         | When to use it                                                         |
| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| **Sync Balance**        | Queues a bulk sync that sends your customers' current store-credit balances to their Klaviyo profiles (*dbBalance* and the other balance properties) | Right after you connect, or when balance properties look out of date   |
| **Sync Referral Codes** | Queues a bulk sync that sends your customers' referral codes to *dbReferralCode*                                                                     | After you connect, or after you set up or change your referral program |
| **Send Demo Events**    | Sends every event with sample values to a demo profile. DollarBack also does this once when you connect                                              | To build flows before a real customer earns anything                   |
| **Disconnect Klaviyo**  | Disconnects Klaviyo and stops all sends                                                                                                              | When you no longer use Klaviyo                                         |

While a sync runs, the page shows **Klaviyo Sync In Progress** and both sync buttons are disabled. A sync can take a few minutes, depending on the number of customers. If you disconnect during a sync, it stops, and the next sync starts from the beginning.

## Flow and campaign ideas

* **Credit reminder flow**: trigger on `store_credit_credited`, wait 7 days, and email customers who haven't ordered since: "You still have {{ person|lookup:'dbFormattedBalance' }} waiting."
* **Expiry winback**: trigger on `store_credit_expiring` and send an urgency email/SMS using the `remainingDays` and `formattedAmount` event fields. Pairs with (or replaces) DollarBack's own expiry reminder email.
* **Deliver the code your way**: trigger on `discount_code_credit` and send the `discountCode` in your own Klaviyo design instead of the DollarBack template.
* **Tier welcome**: trigger on `tier_upgraded` and greet the customer with the new `tier` name.
* **Balance segment**: a segment where *dbBalance* is greater than 0 for "has credit to spend" campaigns; include the referral code property in newsletters to promote sharing.

{% hint style="warning" %}
If you rebuild an email in Klaviyo (for example the credited notification), consider disabling the matching DollarBack template under **Notifications** so customers don't receive both.
{% endhint %}

## Verify it works

1. Trigger a credit: place a small test order or credit a customer manually.
2. In Klaviyo, open that customer's profile: the *Store Credit Credited* and `store_credit_credited` events should appear in the activity feed within a few minutes, and the *dbBalance* properties should match the widget balance.

To build flows before a real customer earns anything, click **Send Demo Events** on the Klaviyo page in DollarBack. It sends every event, under its new name with sample values, to a demo profile. DollarBack also does this once when you connect.

## Common issues

* Events aren't appearing: confirm the card still shows **Connected**, then trigger a fresh event; historical events from before connection are not backfilled.
* Each event shows up twice: that's expected. One is the old name and one is the new name (see [Synced events](#synced-events)). Trigger each flow on only one of them.
* Properties are stale or missing: they update on events, and when you click **Sync Balance** or **Sync Referral Codes**. A profile with no credit activity since you connected won't have them until you run a sync.
* The page shows **Upgrade to Connect**: your plan does not include integrations. Upgrade on the **Billing** page.
* Bulk-imported credit didn't create events: the import must run with its send-to-integrations toggle enabled ([Bulk import credit (CSV)](/dollarback-store-credit/analytics-data-and-account/bulk-import-credit-csv)).

## Related articles

* [Omnisend integration](/dollarback-store-credit/integrations/omnisend-integration)
* [Shopify Flow: triggers and actions](/dollarback-store-credit/integrations/shopify-flow-triggers-and-actions)
* [Email notifications overview](/dollarback-store-credit/notifications/email-notifications-overview)
* [Credit expiry and reminders](/dollarback-store-credit/spending-store-credit-and-rewards/credit-expiry-and-reminders)


# Omnisend integration

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

Connect Omnisend to receive every DollarBack credit event and keep contact properties (balance, currency, referral code) in sync, then use them in Omnisend automations across both email and SMS.

## Prerequisites

* An Omnisend account with admin access.
* At least one active earning program, so there are events to sync ([Set up purchase cashback](/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback)).

## Connect Omnisend

1. Go to **DollarBack admin → Integrations** and find the **Omnisend** card.
2. Click **Set up**. The Omnisend page opens.
3. Click **Connect with Omnisend** and approve the connection in the Omnisend window that opens.
4. Omnisend shows **Successfully Connected to Omnisend!** and the window closes by itself. The Omnisend page reloads and shows **Connected**, and events start syncing immediately.
5. Click **Sync Balance** once, so customers who already have credit get their balance properties in Omnisend (see [Sync Balance](#sync-balance)).

{% hint style="info" %}
Omnisend needs a plan that includes **Klaviyo, Omnisend, Mailchimp and Flow integrations**. On other plans the Omnisend page shows **Upgrade to Connect** instead of **Connect with Omnisend**, with the banner "Integrations aren't available on your current plan." Click it to compare plans on the **Billing** page ([Choose a plan and start your trial](/dollarback-store-credit/getting-started/choose-a-plan-and-start-your-trial)).
{% endhint %}

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-a8dd768cf1af9993eec75747350b9d87d09634e1%2Fdb-integrations-hub-marketing-annotated.png?alt=media" alt="The Integrations page in DollarBack. The Marketing and automations section shows cards for Klaviyo and Omnisend (both Connected) and Shopify Flow (Enabled), each with a Manage button, and cards for Mailchimp and Judge.me (Not Connected) with a Set up button."><figcaption><p>Every integration starts on the Integrations page. Click Set up on the card you need. Once it is connected, the button reads Manage.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-b3b66b9dc3f39567d428d5819117e4a84f3fb062%2Fdb-omnisend-connected-annotated.png?alt=media" alt="The Omnisend integration page with a Connected badge and the buttons Disconnect Omnisend, Sync Balance and Send Demo Events. Below, the Synced Properties and Synced Events panels each have Current and Deprecated tabs. The events are grouped into Store credit, Referral, Discount codes and Tiers."><figcaption><p>The Omnisend page confirms the connection and lists the contact properties and events DollarBack sends. The Deprecated tabs list the old names, which are still sent.</p></figcaption></figure>

## Synced events

Each event lands in Omnisend as a custom event on the contact.

DollarBack sends every event **twice**: first under its old Title Case name, then under its new name. The old names are deprecated. They still go out with their old values, so automations built on them keep running, but build new automations on the new names. The Omnisend page in DollarBack lists both, on its **Current** and **Deprecated** tabs.

| Omnisend event            | Old name (deprecated)          | Fires when                                                                                                                               | Key fields                                                                                                                                             |
| ------------------------- | ------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `store_credit_credited`   | Store Credit Credited          | Credit is issued: order cashback, a signup, newsletter, social, review or custom reward, a merchant API or CSV credit, or a Flow deposit | amount, formattedAmount, currency, symbol, reason, expiresAt, formattedExpiresAt, expiryDays, offerTitle, orderId, orderName                           |
| `birthday_reward`         | Birthday Reward Credited       | A birthday reward is issued as store credit                                                                                              | amount, formattedAmount, currency, symbol, reason, expiresAt, formattedExpiresAt, expiryDays, offerTitle                                               |
| `store_credit_debited`    | Store Credit Debited           | Credit is removed: a refund, cancellation or order-edit clawback, a merchant API or CSV debit, or a Flow deduction                       | amount, formattedAmount, currency, symbol, reason, offerTitle, orderId, orderName                                                                      |
| `store_credit_redeemed`   | Store Credit Redeemed          | A customer spends credit at checkout                                                                                                     | amount, formattedAmount, currency, symbol, reason, orderId, orderName                                                                                  |
| `store_credit_expiring`   | Store Credit Expiry Threshold  | Credit crosses a reminder threshold you set in the Expiry Notification Schedule                                                          | amount (the part of that credit still unspent), formattedAmount, currency, symbol, reason, expiresAt, formattedExpiresAt, remainingDays, transactionId |
| `referral_code_generated` | Referral Code Generated        | A referral code is created for a customer                                                                                                | referralCode, reason                                                                                                                                   |
| `referral_rewarded`       | Referral Reward Credited       | A referrer earns a reward                                                                                                                | amount, formattedAmount, currency, symbol, reason, expiresAt, formattedExpiresAt, expiryDays, orderId, orderName, refereeFirstName, refereeLastName    |
| `discount_code_credit`    | Discount Code Credited         | A reward discount code is issued, earned through a program or claimed in the reward marketplace                                          | discountCode, rewardSummary, offerTitle, reason, orderId, orderName, amount, formattedAmount, currency, symbol                                         |
| `discount_code_expiring`  | Discount Code Expiry Threshold | An unused reward discount code crosses a reminder threshold                                                                              | discountCode, rewardSummary, offerTitle, reason, expiresAt, formattedExpiresAt, remainingDays                                                          |
| `tier_upgraded`           | Customer Tier Upgraded         | A customer moves up a tier, or reaches their first tier                                                                                  | tier, previousTier, reason                                                                                                                             |
| `tier_downgraded`         | Customer Tier Downgraded       | A customer moves down a tier, or loses their tier                                                                                        | tier, previousTier, reason                                                                                                                             |

Some fields are left out when they don't apply: a signup reward has no `orderId`, and credit that never expires has no `expiresAt`. In the new events:

* `expiresAt` is the date in your store's time zone (`March 5, 2027`), and `formattedExpiresAt` adds the time and zone (`March 5, 2027 at 3:07 AM EST`).
* `formattedAmount` uses the same money format as your DollarBack emails: `$36.85`, `CA$10.33`. `symbol` follows it, so it's `CA$` for Canadian dollars.
* `reason` says why the event happened, for example `Order Cashback`, `Signup Bonus`, `Order Refund` or `Manual Debit`.

Claiming a reward-marketplace reward sends only `discount_code_credit`. The store credit it costs doesn't send a debited event.

## Contact properties

With each event, DollarBack updates these custom properties on the Omnisend contact. Each one is written under its new name and, deprecated, under its old name:

| Property           | Old name (deprecated)      | Contains                                                    |
| ------------------ | -------------------------- | ----------------------------------------------------------- |
| dbBalance          | Dollar\_Balance            | The customer's current store-credit balance as a number     |
| dbFormattedBalance | Dollar\_Formatted\_Balance | The balance formatted for display (e.g. $24.50)             |
| dbCurrency         | Dollar\_Currency\_Code     | The balance's currency code (e.g. USD)                      |
| dbSymbol           | Dollar\_Symbol             | The currency symbol                                         |
| dbReferralCode     | referral\_code             | The customer's referral code (set when a code is generated) |

DollarBack finds the Omnisend contact by the first of these that the Shopify customer has:

1. Email address
2. Phone number
3. First and last name
4. Shopify customer ID

## Sync Balance

Events only update the contacts of customers who have credit activity after you connect. To fill in everyone else, click **Sync Balance** on the Omnisend page. It queues a bulk sync that sends your customers' current store-credit balances to their Omnisend contacts (*dbBalance* and the other balance properties). Use it right after you connect, and again if balance properties look out of date.

While the sync runs, the page shows **Omnisend Sync In Progress** and **Sync Balance** is disabled. A sync can take a few minutes, depending on the number of customers. If you click **Disconnect Omnisend** during a sync, it stops, and the next sync starts from the beginning.

Omnisend has no referral-code sync button. *dbReferralCode* is set when a referral code is generated for the customer.

## The SMS angle

Omnisend automations can send SMS (and push) from the same triggers, which suits credit moments that are time-sensitive:

* **Expiry SMS**: trigger on `store_credit_expiring`: "Your store credit expires in {remainingDays} days. Don't leave {formattedAmount} behind." SMS open rates make this the strongest expiry channel.
* **Instant code delivery**: trigger on `discount_code_credit` and text the `discountCode` for immediate redemption.
* **Credit-earned nudge**: trigger on `store_credit_credited` with a short email/SMS split-tested against each other.
* **Balance segment**: segment contacts with *dbBalance* greater than 0 for spend-your-credit campaigns.

{% hint style="warning" %}
If you rebuild a notification in Omnisend, disable the matching DollarBack template under **Notifications** so customers don't get the message twice. Remember that SMS requires the contact's SMS consent in Omnisend.
{% endhint %}

## Verify it works

1. Trigger a credit: a small test order or a manual credit.
2. In Omnisend, open that contact: the *Store Credit Credited* and `store_credit_credited` events should appear on their timeline within a few minutes, with the *dbBalance* properties matching the widget.

To build automations before a real customer earns anything, click **Send Demo Events** on the Omnisend page in DollarBack. It sends every event, under its new name with sample values, to a demo contact. DollarBack also does this once when you connect.

## Common issues

* Events aren't appearing: confirm the card shows **Connected** and trigger a fresh event; events from before the connection are not backfilled.
* Contact properties are missing: they update on events, and when you click **Sync Balance**. A contact with no credit activity since you connected won't have a balance until you run a sync.
* The page shows **Upgrade to Connect**: your plan does not include integrations. Upgrade on the **Billing** page.
* An automation didn't fire: check the event name matches exactly (e.g. `store_credit_expiring`, or the old *Store Credit Expiry Threshold*).
* Each event shows up twice: that's expected. One is the old name and one is the new name (see [Synced events](#synced-events)). Trigger each automation on only one of them.
* Bulk-imported credit didn't create events: the import must run with its send-to-integrations toggle enabled ([Bulk import credit (CSV)](/dollarback-store-credit/analytics-data-and-account/bulk-import-credit-csv)).

## Related articles

* [Klaviyo integration](/dollarback-store-credit/integrations/klaviyo-integration)
* [Shopify Flow: triggers and actions](/dollarback-store-credit/integrations/shopify-flow-triggers-and-actions)
* [Email notifications overview](/dollarback-store-credit/notifications/email-notifications-overview)
* [Credit expiry and reminders](/dollarback-store-credit/spending-store-credit-and-rewards/credit-expiry-and-reminders)


# Mailchimp integration

Connect Mailchimp to send every DollarBack credit event to your customers' Mailchimp contacts and keep each contact's credit balance and referral code in merge fields, so you can build Customer Journeys, segments, and campaigns around store credit.

## Prerequisites

* A Mailchimp account with access to the audience your customers are in.
* Your Shopify customers must already be **contacts in that audience**, with the same email address as in Shopify. DollarBack updates existing contacts only; it never adds new contacts to your audience. If your customers aren't in Mailchimp yet, export them from **Shopify admin → Customers → Export** and import the file as contacts in Mailchimp.
* A DollarBack plan that includes integrations. On other plans, the Mailchimp page shows **Upgrade to Connect**.
* At least one active earning program, so there are events to sync ([Set up purchase cashback](/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback)).

## Connect Mailchimp

1. Go to **DollarBack admin → Integrations** and find the **Mailchimp** card. Click **Set up**.
2. Click **Connect with Mailchimp**. A Mailchimp window opens.
3. Log in to the Mailchimp account you want linked, then click **Allow** on the **Authorize Dollarback** screen. The window shows "Connected to Mailchimp" and closes by itself.
4. Back on the Mailchimp page, the badge shows **Connected**. If it still shows **Not Connected**, reload the page.
5. Under **Audience**, select the audience your Shopify customers are synced into, and click **Save**. DollarBack adds its merge fields to that audience. Nothing is sent until an audience is saved.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-50e0f24dbb461ef57c568d0415b6322570818ee6%2Fdb-mailchimp-hub-card.png?alt=media" alt="The Integrations page in DollarBack. The Marketing and automations section shows cards for Klaviyo, Omnisend, Mailchimp, Shopify Flow and Judge.me. The Mailchimp card shows Not Connected and a Set up button."><figcaption><p>Start on the Integrations page and click Set up on the Mailchimp card.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-7a25a1122a6e39e64e54f270f47c28b5a512c948%2Fdb-mailchimp-connect.png?alt=media" alt="The Mailchimp integration page in DollarBack with a Not Connected badge and a Connect with Mailchimp button."><figcaption><p>Connect with Mailchimp opens the Mailchimp login in a new window.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-91de4f5bab768365f07b2a1f7313d779afddb020%2Fdb-mailchimp-authorize.png?alt=media" alt="The Mailchimp Authorize Dollarback screen, showing Dollarback by Dollarlabs, tips about authorized apps, and the Allow and Cancel buttons."><figcaption><p>After you log in, Mailchimp asks you to allow DollarBack to access your account. Click Allow.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-727b1bc1860fcca8377ff4cb73dc3bf8872aed9c%2Fdb-mailchimp-connected-audience.png?alt=media" alt="The Mailchimp integration page with a Connected badge, the buttons Disconnect Mailchimp, Sync Balance and Send Demo Events, and the Audience card with an audience selected."><figcaption><p>Once connected, choose the audience your customers are in and click Save.</p></figcaption></figure>

{% hint style="info" %}
If you have several audiences, pick the one your Shopify customers are synced into. A customer who is not a contact in the saved audience is skipped: DollarBack does not create the contact, and no event is recorded for them.
{% endhint %}

## Synced events

Each event is recorded on the contact in Mailchimp, matched by the customer's email address. Use these exact names when you build a Customer Journey or a segment on events:

| Mailchimp event                                                                                                     | Fires when                                                                                                                     | Key properties                                                                                                                                      |
| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| store\_credit\_credited                                                                                             | Credit is issued (order cashback, signup, newsletter, review, Flow deposit, bulk import with the integrations toggle on, etc.) | amount, formattedAmount, currency, symbol, reason, expiresAt, formattedExpiresAt, expiryDays, orderId, orderName, offerTitle                        |
| store\_credit\_debited                                                                                              | Credit is removed (refund clawback, manual or bulk-import debit)                                                               | amount, formattedAmount, currency, symbol, reason, orderId, orderName                                                                               |
| store\_credit\_redeemed                                                                                             | A customer pays for an order with credit                                                                                       | amount, formattedAmount, currency, symbol, reason, orderId, orderName                                                                               |
| birthday\_reward                                                                                                    | A birthday reward is issued as store credit                                                                                    | amount, formattedAmount, currency, symbol, reason, expiresAt, formattedExpiresAt, expiryDays                                                        |
| store\_credit\_expiring                                                                                             | Credit crosses a reminder threshold in your Expiry Notification Schedule                                                       | amount, formattedAmount, currency, symbol, reason, expiresAt, formattedExpiresAt, remainingDays, transactionId                                      |
| referral\_code\_generated                                                                                           | A referral code is created for a customer                                                                                      | referralCode, reason                                                                                                                                |
| referral\_rewarded                                                                                                  | A referrer earns store credit                                                                                                  | amount, formattedAmount, currency, symbol, reason, expiresAt, formattedExpiresAt, expiryDays, orderId, orderName, refereeFirstName, refereeLastName |
| discount\_code\_credit                                                                                              | A reward discount code is issued, earned through a program or claimed in the marketplace                                       | discountCode, rewardSummary, offerTitle, reason, orderId, orderName, amount, formattedAmount                                                        |
| discount\_code\_expiring                                                                                            | An unused reward discount code crosses a reminder threshold                                                                    | discountCode, rewardSummary, offerTitle, reason, expiresAt, formattedExpiresAt, remainingDays                                                       |
| tier\_upgraded / tier\_downgraded                                                                                   | The customer moves to a higher or lower tier                                                                                   | tier, previousTier, reason                                                                                                                          |
| membership\_activated, membership\_renewed, membership\_payment\_failed, membership\_cancelled, membership\_expired | A paid membership starts, renews, fails a payment, is cancelled or ends                                                        | planName, tier, status, expiresAt, formattedExpiresAt, nextBillingAt, price, formattedPrice, endReason                                              |

Property values reach Mailchimp as text. Dates are in your store's time zone:

| Property           | Example                           |
| ------------------ | --------------------------------- |
| amount             | 25.5                              |
| formattedAmount    | ₹25.50                            |
| expiresAt          | December 31, 2026                 |
| formattedExpiresAt | December 31, 2026 at 11:59 PM EST |

`expiresAt` and `formattedExpiresAt` are sent only when the credit has an expiry date.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-54d9d32499f5a30ea22a61880d9f631cb99314ed%2Fdb-mailchimp-synced-events.png?alt=media" alt="The Synced Events panel on the Mailchimp integration page, listing store_credit_credited, store_credit_debited, store_credit_redeemed, birthday_reward and store_credit_expiring under Store credit, then the Referral and Discount codes events."><figcaption><p>The Mailchimp page lists every event DollarBack sends, grouped by program.</p></figcaption></figure>

{% hint style="info" %}
There is no event when credit actually expires. To reach customers at the last moment, add a 1-day threshold to your Expiry Notification Schedule and use *store\_credit\_expiring* where `remainingDays` is 1.
{% endhint %}

## Merge fields

When you save an audience, DollarBack adds these merge fields to it (hidden from signup forms). Every event updates them on the contact:

| Merge field tag | Name in Mailchimp  | Contains                                                    |
| --------------- | ------------------ | ----------------------------------------------------------- |
| `DBBALANCE`     | dbBalance          | The customer's current store-credit balance as a number     |
| `DBFBALANCE`    | dbFormattedBalance | The balance formatted for display (e.g. ₹30.25)             |
| `DBCURRENCY`    | dbCurrency         | The balance's currency code (e.g. INR)                      |
| `DBSYMBOL`      | dbSymbol           | The currency symbol (e.g. ₹)                                |
| `DBREFCODE`     | dbReferralCode     | The customer's referral code (set when a code is generated) |

In a campaign or journey email, write the tag between `*|` and `|*`, for example "You have `*|DBFBALANCE|*` in store credit."

{% hint style="info" %}
The note under the audience picker in DollarBack shows shortened names (DB\_BAL, DB\_CUR and so on). In Mailchimp, use the tags in the table above.
{% endhint %}

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-8855fa8b0298e647c695fc63f3c3b60e541dff1e%2Fdb-mailchimp-synced-properties.png?alt=media" alt="The Synced Properties panel listing the merge tags DBBALANCE (Number), DBFBALANCE, DBCURRENCY, DBSYMBOL and DBREFCODE (String) with a description and example for each."><figcaption><p>The merge tags DollarBack keeps up to date on each contact.</p></figcaption></figure>

## Buttons on the Mailchimp page

| Button               | What it does                                                                                                                                                                                               |
| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Sync Balance         | Sends every customer's current balance to the merge fields, for contacts that already exist in the audience                                                                                                |
| Send Demo Events     | Adds one test contact, <dummy@dollarlabs.io> (transactional, not subscribed to marketing), and sends every event to it with sample values, so you can build journeys before a real customer earns anything |
| Disconnect Mailchimp | Stops all sends at once                                                                                                                                                                                    |

## Journey and campaign ideas

* **Credit reminder journey**: start a Customer Journey on the *store\_credit\_credited* event, wait 7 days, and email contacts who haven't ordered since: "You still have `*|DBFBALANCE|*` waiting."
* **Expiry winback**: start on *store\_credit\_expiring* and send an urgency email that uses `remainingDays` and `formattedAmount`. Pairs with (or replaces) DollarBack's own expiry reminder email.
* **Balance segment**: a segment where *dbBalance* is greater than 0 for "has credit to spend" campaigns. Add `*|DBREFCODE|*` to newsletters to promote sharing.

{% hint style="warning" %}
If you rebuild an email in Mailchimp (for example the credited notification), consider disabling the matching DollarBack template under **Notifications** so customers don't receive both.
{% endhint %}

## Verify it works

1. Make sure a test customer is a contact in the saved audience, with the same email address as in Shopify.
2. Trigger a credit: place a small test order, or credit the customer with a bulk import that has **Send to Integrations** turned on.
3. In Mailchimp, open that contact: the *store\_credit\_credited* event should appear in the contact's activity within a few minutes, and the *dbBalance* merge field should match the widget balance.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-c4f0ff453dcf24df58b4328eda50e4b5a5c8194c%2Fdb-mailchimp-bulk-import-toggle.png?alt=media" alt="The Bulk Import page with Action Type Credit, Credit expires Never, Notify Customers off, Send to Integrations on, and a CSV file selected."><figcaption><p>A bulk import reaches Mailchimp only with Send to Integrations turned on.</p></figcaption></figure>

## Disconnect or reconnect

* Click **Disconnect Mailchimp** to stop all sends at once. Events that happen while Mailchimp is disconnected are not sent later. To remove DollarBack's access completely, also remove Dollarback from the authorized apps in your Mailchimp account.
* When you connect again, select the audience and click **Save** again. A new connection can be a different Mailchimp account, so DollarBack does not keep the old audience.

## Common issues

* **The page still shows Not Connected after the Mailchimp window closed**: reload the page.
* **Connected, but no events arrive**: check that an audience is saved under **Audience**. After a reconnect, the audience must be saved again. Then check that the customer is a contact in that audience with the same email address; customers who are not contacts, or who have no email address in Shopify, are skipped.
* **"We couldn't load your Mailchimp audiences"**: DollarBack's access was removed in Mailchimp. Disconnect and connect Mailchimp again.
* **Merge fields are empty**: they update on events only, and on **Sync Balance**. A contact with no credit activity since you connected won't have them yet. Events from before you connected are not backfilled.
* **Bulk-imported credit didn't create events**: the import must run with its **Send to Integrations** toggle on ([Bulk import credit (CSV)](/dollarback-store-credit/analytics-data-and-account/bulk-import-credit-csv)).

## Related articles

* [Klaviyo integration](/dollarback-store-credit/integrations/klaviyo-integration)
* [Omnisend integration](/dollarback-store-credit/integrations/omnisend-integration)
* [Shopify Flow: triggers and actions](/dollarback-store-credit/integrations/shopify-flow-triggers-and-actions)
* [Email notifications overview](/dollarback-store-credit/notifications/email-notifications-overview)
* [Credit expiry and reminders](/dollarback-store-credit/spending-store-credit-and-rewards/credit-expiry-and-reminders)


# Shopify Flow: triggers & actions

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

*This article's section starts at 0:00 in the video.*

DollarBack plugs into Shopify Flow with triggers (react when credit moves, a code is issued, or a tier changes) and two actions (move credit from your own workflows), so you can automate tagging, messaging, and even credit itself without code.

## Prerequisites

* The Shopify Flow app installed on your store.
* A DollarBack plan that includes **Klaviyo, Omnisend, Mailchimp and Flow integrations**. On other plans the Shopify Flow page shows **Upgrade to Enable** instead of **Enable**, with the banner "Integrations aren't available on your current plan." Click it to compare plans on the **Billing** page ([Choose a plan and start your trial](/dollarback-store-credit/getting-started/choose-a-plan-and-start-your-trial)).
* The Flow integration enabled: go to **DollarBack admin → Integrations**, click **Set up** on the **Shopify Flow** card, then click **Enable**. The badge changes to **Enabled**. No account connection or authentication is needed.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-a8dd768cf1af9993eec75747350b9d87d09634e1%2Fdb-integrations-hub-marketing-annotated.png?alt=media" alt="The Integrations page in DollarBack. The Marketing and automations section shows cards for Klaviyo and Omnisend (both Connected) and Shopify Flow (Enabled), each with a Manage button, and cards for Mailchimp and Judge.me (Not Connected) with a Set up button."><figcaption><p>Every integration starts on the Integrations page. Click Set up on the card you need. Once it is connected, the button reads Manage.</p></figcaption></figure>

{% hint style="warning" %}
**The Enable and Disable button on the Shopify Flow page is the real on/off switch.** The DollarBack triggers and actions stay visible in the Flow editor even while the integration is disabled, but nothing goes through:

* **Triggers don't fire.** No DollarBack event starts a workflow.
* **Actions do nothing, without an error.** Flow hands a Deposit or Deduct step to DollarBack, DollarBack accepts it at once, and Flow marks the step as successful. DollarBack then checks the integration, finds it disabled and skips the credit. The run history in Flow still shows success.

If a workflow ran but no credit moved, check this switch first.
{% endhint %}

## Triggers

Triggers start a workflow when DollarBack does something. Each carries the customer plus the fields below, which you can use in conditions and later steps.

| Trigger                  | Fires when                                                                                                                                                                            | Fields                                                                                                                                                       |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Store Credit Credited    | Credit is added to a customer: order cashback, a signup, newsletter, social, review or custom reward, a merchant API or CSV credit, or a Flow deposit                                 | Amount, Currency, Formatted Amount, Symbol, Reason, Expires At, Formatted Expires At, Expiry Days, Offer Title, orderId, orderName                           |
| Store Credit Redeemed    | A customer spends credit at checkout, **and** whenever credit is taken off a balance: a refund, cancellation or order-edit clawback, a merchant API or CSV debit, or a Flow deduction | Amount, Currency, Formatted Amount, Symbol, Reason, orderId, orderName                                                                                       |
| Birthday Reward Credited | A birthday reward is granted                                                                                                                                                          | Amount, Currency, Formatted Amount, Symbol, Reason, Expires At, Formatted Expires At, Expiry Days, orderId, orderName                                        |
| Store Credit Expiring    | A customer's credit is about to expire, at the reminder thresholds from your Expiry Notification Schedule                                                                             | Amount, Currency, Formatted Amount, Symbol, Reason, Expires At, Formatted Expires At, Remaining Days, Transaction Id                                         |
| Referral Reward Credited | A referrer earns credit because a friend ordered with their code                                                                                                                      | Amount, Currency, Formatted Amount, Symbol, Reason, Expires At, Formatted Expires At, Expiry Days, Referee First Name, Referee Last Name, orderId, orderName |
| Discount Code Credited   | A customer gets a discount code, earned from a program or claimed in the reward marketplace                                                                                           | Discount Code, Reward Summary, Offer Title, Reason, Amount, Formatted Amount, Currency, Symbol, orderId, orderName                                           |
| Discount Code Expiring   | An unused reward discount code is about to expire                                                                                                                                     | Discount Code, Reward Summary, Offer Title, Reason, Expires At, Formatted Expires At, Remaining Days                                                         |
| Customer Tier Upgraded   | A customer moves up a tier, or reaches their first tier                                                                                                                               | Tier, Previous Tier (empty for a first tier), Reason                                                                                                         |
| Customer Tier Downgraded | A customer moves down a tier, or loses their tier                                                                                                                                     | Tier (empty when they lost their tier), Previous Tier, Reason                                                                                                |

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2b589875079df6022461761cad3c8aeb68cf928e%2Fdb-flow-integration-page-annotated.png?alt=media" alt="The Shopify Flow page in DollarBack. The Shopify Flow Integration card shows an Enabled badge and a Disable button. Below it, the Flow Triggers card has Current and Deprecated tabs and lists the triggers in sections, starting with Store credit. The Store Credit Credited row is open and shows its fields: amount, formattedAmount, currency, symbol, reason, expiresAt, formattedExpiresAt, expiryDays, orderId, orderName and offerTitle."><figcaption><p>The Shopify Flow page in DollarBack lists every trigger it adds to Flow, grouped by section. Open a row to see its fields under their variable names.</p></figcaption></figure>

How the fields work:

* **In a Flow template, each field is a camelCase variable.** Flow shows **Formatted Expires At** in its picker; in an action field that takes Liquid you write `{{formattedExpiresAt}}`. `orderId` and `orderName` keep those names.
* **Reason** says why the trigger fired, for example **Order Cashback**, **Signup Bonus**, **Review Reward**, **Manual Credit**, **CSV Import Credit**, **Shopify Flow Deposit**, **Order Redemption**, **Order Refund**, **Order Cancelled**, **Order Edited**, **Manual Debit**, **CSV Import Debit**, **Shopify Flow Deduct**, **Referral Reward**, **Birthday Reward**, **Scheduled Expiry** or **Tier Evaluation**.
* **Expires At** is the expiry date in your store's time zone (for example `March 5, 2027`). **Formatted Expires At** adds the time and zone (`March 5, 2027 at 3:07 AM EST`). Both are empty when the credit never expires, and **Expiry Days** is then `0`.
* **Formatted Amount** uses the same money format as your emails and the merchant API: `$36.85`, `¥1,000`, `CA$10.33`. **Symbol** follows it, so it's `CA$` for Canadian dollars.
* **Empty fields.** Flow needs every field on every run, so a field that doesn't apply arrives empty (or `0` for a number). For example, a signup reward has no `orderId` or `orderName`.

{% hint style="warning" %}
**Store Credit Redeemed fires for debits too.** A refund clawback or a manual deduction starts the same trigger as a checkout spend. To act only on checkout spending, add a condition: **Reason** is equal to `Order Redemption`.
{% endhint %}

### What changed in October 2026

Existing workflows keep running: the trigger handles didn't change. But check any workflow built on the old fields:

* Two triggers were renamed in Flow: **expiryThreshold** is now **Store Credit Expiring**, and **Reward Credit Credited** is now **Referral Reward Credited**.
* **Expires At** used to be a date and time, or `0` for credit that never expires. It's now the date only, and empty for credit that never expires. A condition that tests **Expires At** equal to `0` no longer matches; test **Expiry Days** equal to `0` instead.
* The old fields are still sent but deprecated: **eventType** (use **Reason**; it carries the same value) and **Remaining Days Before Expiry** (use **Remaining Days**). The **Deprecated** tab on the Shopify Flow page lists them.

## Actions

Actions let any Flow workflow move credit, whatever its trigger: an order event, a customer tag change, a schedule.

| Action                  | What it does                                      | Fields                                                                                         |
| ----------------------- | ------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| Deposit Store Credit v2 | Adds store credit to the customer in the workflow | Amount, Currency, Expires After, Expires At, Offer Title, Notify Customer, Send to Integration |
| Deduct Store Credit v2  | Removes store credit from the customer            | Amount, Currency, Offer Title, Notify Customer, Send to Integration                            |

* **Offer Title** is the label shown in your credit logs for this movement.
* **Notify Customer** sends the customer an email if that template is enabled: **Store Credit Credited** for a deposit, **Store Credit Debited** for a deduction. See [Email notifications overview](/dollarback-store-credit/notifications/email-notifications-overview).
* **Send to Integration** forwards the event to your connected integrations, such as Klaviyo and Omnisend.
* **Expires After** is a number of days. A decimal rounds up to the next whole day, so `1.5` means 2 days.
* **Expires At** is an exact expiry date to use instead of **Expires After**. Enter `2026-12-31` (the end of that day) or `2026-12-31T18:00` (that time). Without a time zone offset, the value is read in your store's time zone. It must be at least an hour in the future, and you can fill in only one of the two fields. Leave both empty for credit that never expires.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-13f21832bbf9de45121170cd2873fbe589c0e4a8%2Fdb-flow-integration-page-actions-annotated.png?alt=media" alt="The Flow Actions card in DollarBack with Current and Deprecated tabs, listing Deposit Store Credit v2 and Deduct Store Credit v2 with every field each one takes."><figcaption><p>The Flow Actions card lists the two v2 actions and their fields. The Deprecated tab lists the older actions.</p></figcaption></figure>

The older **Deposit Store Credit** and **Deduct Store Credit** actions are deprecated: Flow labels them "Deprecated: use … v2 instead". Workflows that use them still run, but they have no Offer Title, Notify Customer or Send to Integration field: they always email the customer and always forward the event. Use the v2 actions in new workflows.

If the decision to move credit lives in your own backend rather than in a Flow workflow, the `/credit` and `/debit` endpoints in the [Merchant API](/dollarback-store-credit/developer-tools/merchant-api-keys-and-endpoints) do the same job from a server call, and report the new balance back to you.

{% hint style="warning" %}
Credit deposited through Flow is real store credit: it appears in the customer's balance and your credit logs immediately, and Deduct can take a balance to zero. Test new workflows on a staff account before turning them on.
{% endhint %}

## Worked recipe: tag big earners

Goal: when a customer earns more than $50 of credit in one go, tag them for a VIP segment.

1. In Shopify Flow, click **Create workflow**.
2. **Select a trigger** → choose **Store Credit Credited** (under DollarBack).
3. Add a **Condition**: `Amount` is greater than `50`.
4. On the "then" branch, add an **Action** → **Add customer tags** → enter `vip`.
5. Name the workflow and turn it on.

Now credit a test customer $51 or more (a qualifying order or a manual credit) and watch the tag appear on their customer page.

Other recipes that work well:

* **Store Credit Expiring → send marketing email/SMS** via your connected platform for a last-chance nudge.
* **Referral Reward Credited → add customer tags** `advocate` to build a referrers segment.
* **Customer Tier Upgraded → add customer tags** with the tier name, to target each tier in Shopify segments.
* **Order paid (Shopify trigger) + Deposit Store Credit v2** for one-off promotions DollarBack's programs don't cover, e.g. a flat $5 for orders containing a specific product.
* **Customer tag added → Deduct Store Credit v2** to zero out balances when you flag abuse.
* **Customer abandons checkout (Shopify trigger) → Add customer tags or Deposit Store Credit v2** to win back shoppers who left checkout. Three tested setups, for stores with and without tiers, are in [Win back abandoned checkouts with cashback](/dollarback-store-credit/earning-cashback-programs/win-back-abandoned-checkouts-with-cashback).

## Verify it works

Open the workflow's run history in Flow after triggering it. Each run shows the trigger payload and whether every step succeeded. Then check that the credit really moved: open **DollarBack admin → Analytics → Activity**. A deposit is on the **Credits earned** tab and a deduction on the **Credit spent** tab. A step that succeeded in Flow with no row here means the Flow integration is disabled.

## Common issues

* The DollarBack triggers don't appear in Flow: check that DollarBack is installed on the store, then reopen the Flow editor.
* The DollarBack triggers appear but never start a workflow: the Flow integration is disabled in DollarBack (see the warning under Prerequisites).
* A workflow fired, every step shows success, but no credit moved: the Flow integration is disabled in DollarBack. Enable it on **DollarBack admin → Integrations → Shopify Flow**. DollarBack doesn't replay the skipped deposits, so run them again (or credit the customers by hand) after you enable it.
* A workflow fired but the action shows an error: check the run history for the message; Amount must be a number above 0 and Currency a valid code.
* A workflow on **Store Credit Redeemed** runs after refunds or manual debits: that trigger fires for every debit. Add a condition on **Reason** (see the hint under Triggers).
* A condition on **Expires At** stopped matching: the field changed format in October 2026 (see [What changed in October 2026](#what-changed-in-october-2026)).
* The expiry trigger never fires: you need at least one threshold in the **Expiry Notification Schedule** and credit that actually expires ([Credit expiry and reminders](/dollarback-store-credit/spending-store-credit-and-rewards/credit-expiry-and-reminders)).

## Related articles

* [Klaviyo integration](/dollarback-store-credit/integrations/klaviyo-integration)
* [Omnisend integration](/dollarback-store-credit/integrations/omnisend-integration)
* [Credit expiry and reminders](/dollarback-store-credit/spending-store-credit-and-rewards/credit-expiry-and-reminders)
* [Credit logs and scheduled rewards](/dollarback-store-credit/analytics-data-and-account/credit-logs-and-scheduled-rewards)


# Cart drawer integrations

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

\_This article's section starts at 5:23 in the video.\_

If your store uses a slide-out cart drawer, DollarBack can show the cashback message right inside it, so customers see what the cart will earn without opening the cart page. Five drawers are supported: Rebuy, Upcart, Monster Cart, AMP Cart, and your theme's native drawer.

## Prerequisites

* The cart cashback message set up and looking the way you want ([Product page and cart cashback messages](/dollarback-store-credit/widgets-and-storefront/product-page-and-cart-cashback-messages)). The drawer shows the same message.
* The DollarBack app embed active in your theme ([Activate widgets in your theme](/dollarback-store-credit/getting-started/activate-widgets-in-your-theme)).
* For third-party drawers: the drawer app installed and active on your storefront.

## How it works

These are display integrations: they don't sync any data. When enabled, DollarBack looks for the element that matches the drawer's **Target CSS selector** and injects the cashback message just above it (see [Target CSS selector](#target-css-selector)). The message inherits your cart message templates: text per state, goal-progress tiers, colors, and typography all come from the cart message settings in **DollarBack admin → Customize**. There is nothing separate to design.

## Enable a drawer

1. Go to **DollarBack admin → Integrations**.
2. Find the card for your drawer (**Rebuy**, **Upcart**, **Monster Cart**, **AMP Cart**, or **Native theme drawer**) and click **Set up**.
3. Turn on the toggle, check the **Target CSS selector**, and click **Save**. The card then shows a **Configured** badge.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-095e7c0f8c136672082bba31f46287f90192c3eb%2Fdb-cart-drawer-cards-annotated.png?alt=media" alt="The Cart drawers section of the Integrations page with cards for Rebuy, Upcart, Monster Cart, AMP Cart and Native theme drawer. Native theme drawer has a Configured badge, and each card has a Set up button."><figcaption><p>Find the card for your cart drawer and click Set up. A Configured badge shows which drawer is on.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-701e08c659e7446aee4dcf1c176c06265aff80a2%2Fdb-cart-drawer-native-config-annotated.png?alt=media" alt="The Native theme drawer settings page with an info banner that links to the Cart touchpoint, an on switch, and a Target CSS selector field set to .cart-actions."><figcaption><p>Turn the drawer on, check the target CSS selector, and click Save in the bar at the top. The message text and style come from the Cart touchpoint.</p></figcaption></figure>

## Target CSS selector

The **Target CSS selector** tells DollarBack where to put the message: it finds the first element on the page that matches the selector and injects the message just above it. If nothing matches, the drawer shows no message.

| Drawer              | Default selector                   |
| ------------------- | ---------------------------------- |
| Rebuy               | `.rebuy-cart__flyout-subtotal`     |
| Upcart              | `.styles_Footer__checkoutButton__` |
| Monster Cart        | `.mu\:subtotal`                    |
| AMP Cart            | `.amp-sc__footer-row--subtotal`    |
| Native theme drawer | None. You must enter one.          |

* **Third-party drawers** come with the default above filled in. Change it only if your drawer's markup is different (for example, a customized drawer). Click **Reset** to go back to the default.
* **The native theme drawer has no default**, because every theme builds its drawer differently. Until you enter a selector, DollarBack shows nothing in the drawer, even with the toggle on. To find one, open your storefront, open the drawer, right-click the element you want the message above (for example the drawer footer or the checkout button) and choose **Inspect**. Use its class or ID, for example `.cart-drawer__footer` or `#cart-footer`.
* If you leave the field empty on a third-party drawer, saving puts the default back.

Enable only the drawer(s) your store actually uses. If you switch cart apps later, disable the old one and enable the new one here.

| Drawer              | Use when                                                   |
| ------------------- | ---------------------------------------------------------- |
| Rebuy               | Your cart drawer is powered by Rebuy Smart Cart            |
| Upcart              | You use the UpCart drawer cart builder                     |
| Monster Cart        | You use Monster Cart upsell drawer                         |
| AMP Cart            | You use AMP's cart drawer (Slide Cart)                     |
| Native theme drawer | Your theme's built-in drawer, with no third-party cart app |

## Verify it works

1. Open your storefront and add a product to the cart so the drawer slides out.
2. The cashback message should appear inside the drawer with the correct amount for the cart.
3. Change the cart quantity. The message recalculates as the drawer updates.

## Common issues

* No message in the drawer: confirm the right drawer is enabled on the Integrations page and the app embed is on. For the native theme drawer, check that the **Target CSS selector** is filled in and matches an element inside the open drawer; see [A widget isn't showing on my store](/dollarback-store-credit/troubleshooting-and-faq/widget-isnt-showing).
* The message shows on the cart page but not the drawer: you likely enabled the wrong drawer integration for the cart app you use.
* The message doesn't update when the cart changes: heavily customized drawers can skip the events DollarBack listens for; theme developers can re-trigger rendering via the storefront API ([Storefront window API](/dollarback-store-credit/developer-tools/storefront-window-api)).
* Wrong text or colors: the drawer inherits everything from the cart message; edit it under **DollarBack admin → Customize** ([Product page and cart cashback messages](/dollarback-store-credit/widgets-and-storefront/product-page-and-cart-cashback-messages)).

## Related articles

* [Product page and cart cashback messages](/dollarback-store-credit/widgets-and-storefront/product-page-and-cart-cashback-messages)
* [Widget map: what shows where](/dollarback-store-credit/widgets-and-storefront/widget-map-what-shows-where)
* [A widget isn't showing on my store](/dollarback-store-credit/troubleshooting-and-faq/widget-isnt-showing)
* [Storefront window API](/dollarback-store-credit/developer-tools/storefront-window-api)


# Wallet passes

{% hint style="info" %}
**Plan:** Enterprise plan.
{% endhint %}

Give customers a loyalty card in **Google Wallet or Apple Wallet** that shows their live store-credit balance, name, and tier. It updates automatically when DollarBack credits or debits their balance, and can push a notification to their phone.

One configuration drives both platforms. Most of the setup is shared; the images and a few branding controls are per-platform, because Google and Apple render passes differently.

## Prerequisites

* Customer account blocks active, since customers add the pass from their account profile ([Customer account blocks](/dollarback-store-credit/widgets-and-storefront/customer-account-blocks)).
* Your logo and hero images uploaded to **Shopify Files** (**Shopify admin → Content → Files**). You pick them with a file browser, so nothing needs to be hosted elsewhere.

You do **not** need a Google Pay or Apple Developer account. DollarBack signs and issues both pass types for you.

## Set up the pass

Go to **DollarBack admin → Integrations**, find the **Wallet passes** card, and click **Configure**. The page is titled *"Wallet passes — Configure the loyalty card customers add to Google or Apple Wallet"*, and is organised into collapsible sections.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-0b10d69ca7cb3037bb7831eb97c834b6c3820a66%2Fdb-wallet-general-branding-annotated.png?alt=media" alt="The Wallet passes settings page with an Enabled switch, the General section (Issuer name, Program name, Launch URL), the Branding section (Background color, Text color, Label color, Hide brand name in heading), and a Preview panel with Google and Apple tabs showing a green loyalty card."><figcaption><p>Turn wallet passes on, fill in the General and Branding sections, and check the preview on both the Google and Apple tabs.</p></figcaption></figure>

### Turn wallet passes on

The **Wallet passes** card at the top of the page has a switch and a badge that reads **Enabled** or **Disabled**. The switch is **off by default**, and it is the switch that lets customers get a pass. Turn it on and click **Save**.

While it is off, the **Add to Google Wallet** and **Add to Apple Wallet** buttons still show in the customer's account, but a tap gives no pass: the block shows the message *Wallet pass is not enabled for this shop* instead. If customers report that message, this switch is off.

### General

| Field        | What it is                                                                                                                                     | Limit          |
| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- | -------------- |
| Issuer name  | Your business name, shown on the card                                                                                                          | 255 characters |
| Program name | The loyalty program name, the card's headline                                                                                                  | 60 characters  |
| Launch URL   | A link carried on the pass. Google shows it in the links section; Apple puts it on the back of the pass. Your loyalty page is the usual choice | (none)         |

### Branding

| Field                      | Applies to                                                               |
| -------------------------- | ------------------------------------------------------------------------ |
| Background color           | Both platforms (defaults to green)                                       |
| Text color                 | **Apple Wallet only** — Google Wallet picks its own text colors          |
| Label color                | **Apple Wallet only** — Google Wallet picks its own text colors          |
| Hide brand name in heading | **Apple Wallet only** — Google Wallet always shows the organization name |

### Images

The two platforms need differently shaped images, so they have a section each. Click a slot to open the Shopify file browser and pick an upload.

| Apple Wallet          | Google Wallet         |
| --------------------- | --------------------- |
| Logo — 480×150        | Logo — 660×660        |
| Icon — 480×480        | Hero image — 1032×336 |
| Hero image — 1125×432 |                       |

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-4f8a1eea75f64e52f2b07411581e1a24f71cf884%2Fdb-wallet-images-annotated.png?alt=media" alt="The Apple Wallet images and Google Wallet images sections, with empty slots for Logo, Icon and Hero image (Apple) and Logo and Hero image (Google), each with a Choose image button." width="560"><figcaption><p>Each wallet has its own image slots. Click Choose image to pick a PNG from Shopify Files.</p></figcaption></figure>

{% hint style="warning" %}
**Apple images must be PNG.** Apple Wallet embeds the file inside the signed pass and skips anything that isn't a PNG, so a JPG simply won't appear — with no error to tell you why. The **Icon** slot is Apple-only and required for a pass to look finished: it's what shows on the lock screen and in notifications.
{% endhint %}

### Customer notifications

Push notifications sent to the customer's device when their balance changes. **Off by default** — turn them on here if you want them.

There are two messages, **When earned** (credit) and **When redeemed** (debit), each with a **Header** (up to 35 characters) and **Body** (up to 300 characters). Both accept variables:

| Variable         | Renders as                                                                                                                         |
| ---------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| `{amount}`       | The amount just earned or redeemed                                                                                                 |
| `{balance}`      | The customer's new balance                                                                                                         |
| `{programName}`  | Your program name. **When earned** only: in the **When redeemed** message it is not replaced and shows as the text `{programName}` |
| `{customerName}` | The customer's name                                                                                                                |
| `{tier}`         | The customer's current loyalty tier                                                                                                |

Example earned body: `You just earned {amount}! Your {programName} balance is now {balance}.`

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-5fe233906b2c27b4ae1bd757b303b900f061547c%2Fdb-wallet-notifications-annotated.png?alt=media" alt="The Customer notifications section with When earned and When redeemed tabs, a checked box to send a push when a customer earns cashback, Header and Body fields, variable chips and a Send test notification button, and a collapsed Campaign section marked Google Wallet only." width="560"><figcaption><p>Turn on the push message for each event, write the header and body with variables, and send a test to your own pass first.</p></figcaption></figure>

Use **Send test notification** to fire one at a pass you hold yourself before going live.

{% hint style="warning" %}
**The two platforms treat these very differently.** Headers and the **When redeemed** message are Google Wallet only. Apple has exactly one notification — a "change message" baked into the pass when it's issued — and DollarBack builds it from your **When earned** body.

What this means on Apple:

* **Apple always has a change message, even with notifications off.** If **When earned** is off or its body is empty, DollarBack uses the default *"Your balance is now …"*. Turning notifications off does not silence Apple; iOS decides whether to show the message.
* **`{amount}` doesn't work.** When the device pulls an update, the per-transaction amount is unknowable, so a body containing `{amount}` falls back to the same default. Write the earned message around `{balance}` if you want your own wording on iPhone.
* **DollarBack adds the balance for you.** iOS only shows a change message that contains the new balance. If your body doesn't use `{balance}`, DollarBack adds the balance at the end of the message.
* `{customerName}` and `{tier}` render empty in the Apple message. Keep them out of it.

Google notifications use your copy as written, on both messages.
{% endhint %}

{% hint style="warning" %}
Google's wallet policy does not allow links in pass messages. Any URL you paste into a notification text is stripped before the message is sent. Keep the text self-contained — the **Launch URL** field is the supported way to give customers somewhere to tap.
{% endhint %}

### Campaign

A one-off push to **every customer who has added the pass**, with its own Header (35 characters) and Body (300 characters). Useful for a flash sale or a program change.

{% hint style="danger" %}
**Campaign is Google Wallet only, and there is no undo.** Once sent, it's on every Google Wallet holder's phone. Proofread the copy, and remember that a campaign counts against each recipient's daily notification quota (below).
{% endhint %}

### Preview and save

The preview panel has **Apple** and **Google** tabs so you can see each rendering as you edit — worth checking both, since the same images and colors land quite differently. Click **Save** when you're happy. If the **Wallet passes** switch is on, customers can then add the pass.

## What the pass shows

The card displays your program and issuer name, the customer's credit balance, their member name and tier, and a QR code carrying their customer ID, scannable at POS to look the customer up.

## Scan at POS

DollarBack adds a **Wallet Pass Scan** tile to Shopify POS, so staff can open a customer's profile from their wallet pass.

1. In the Shopify POS app, add the **Open customer** tile (*Scan or enter a wallet pass*) to your POS home screen, if it isn't there already. You do this in POS like any other app tile.
2. When a customer shows their pass, tap the tile, then tap **Scan wallet pass** and point the camera at the QR code on the pass.
3. The scan fills in **Customer ID**. Tap **Open customer** to go to that customer's profile in POS.

Staff can also type the numeric customer ID by hand and tap **Open customer**. If the field holds anything other than digits, the tile shows *Enter a numeric customer ID, or scan a wallet pass.*

The tile only opens the customer. Store credit is spent at POS the normal Shopify way, once the customer is on the sale.

The pass currency follows the customer's resolved currency (their last order's presentment currency, falling back to their credit account, then your shop currency), so a customer who shops your store in EUR sees a EUR balance even if your shop currency is USD.

## How customers add it

In their account, on the profile page's wallet block, the customer taps **Add to Google Wallet** or **Add to Apple Wallet**. Both buttons show; the customer picks the one that suits their phone, and the labels are editable like the rest of the block's copy.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-ee2db1fcedb56ccde2338385fbee303263ac09ad%2Fdb-cx-account-profile.png?alt=media" alt="Customer account profile page with a Loyalty card block (Add your loyalty card to your phone&#x27;s wallet to see your balance and tier on the go, with Add to Google Wallet and Add to Apple Wallet buttons), then a referral block and a Redeem rewards block." width="560"><figcaption><p>Your customers add the pass from the Loyalty card block on their profile page.</p></figcaption></figure>

Each link is signed and generated per customer, and every issued pass is tracked individually.

* **Google:** on a phone the pass lands straight in the Google Wallet app; from a desktop browser, Google prompts the customer to save it to their account.
* **Apple:** the button downloads a signed `.pkpass` file. On an iPhone or iPad it opens in Wallet and the customer taps **Add**. Downloading it on a desktop is not useful — the file needs an Apple device to open, so point iPhone customers at their phone.

## Live updates and the notification quota

Every credit and debit that DollarBack makes updates the pass balance on both platforms: cashback and other rewards, refund and cancellation clawbacks, tier changes, and CSV, API and Flow credits and debits.

{% hint style="info" %}
**A store-credit payment at checkout doesn't update the pass on its own.** When a customer spends credit at checkout, Shopify takes it off the balance, and the pass keeps showing the old balance. The same happens when you add or remove credit directly in **Shopify admin** on the customer's page: DollarBack does not see that change. The pass catches up the next time DollarBack credits or debits that customer, because each update shows the live balance at that moment. To change a balance and update the pass at once, credit or debit the customer through DollarBack.
{% endhint %}

Notifications behave differently:

{% hint style="warning" %}
Google caps push-notifying updates at **3 per pass per 24 hours**. Beyond that, the pass keeps updating silently: the balance stays correct, but no notification appears on the device until the 24-hour window resets. If a customer reports "wallet notifications stopped working" on a busy shopping day, it's this quota, not a bug. Campaign broadcasts count against each recipient's cap too.
{% endhint %}

Apple has no equivalent cap, but it also gives you far less control: iOS decides whether to surface the change message, and you cannot turn it off from DollarBack. Treat the Apple notification as a nice-to-have rather than a channel you can rely on.

## Verify it works

1. Sign in to your storefront as a test customer, open the account profile block, and add the pass to a real device — ideally one of each platform.
2. Credit the customer (a test order or manual credit): within a few minutes the pass balance updates and the Earned notification arrives, assuming a Google pass is under its 3-push daily quota.
3. Check the QR code scans and resolves to the right customer before you tell your POS staff about it.

## Common issues

* The add-to-wallet buttons don't appear: the wallet block isn't active in the customer account editor; see [Customer account blocks](/dollarback-store-credit/widgets-and-storefront/customer-account-blocks).
* Tapping an add-to-wallet button shows *Wallet pass is not enabled for this shop*: the **Wallet passes** switch is off. Turn it on and click **Save** ([Turn wallet passes on](#turn-wallet-passes-on)).
* The pass balance is higher than the customer's real balance after a purchase: the customer spent credit at checkout, which doesn't update the pass. It catches up at their next credit or debit.
* The pass balance is wrong after you changed credit in Shopify admin: changes made directly in Shopify admin don't update the pass. It catches up at the customer's next DollarBack credit or debit.
* The Google **When redeemed** notification shows `{programName}` as text: that variable works only in **When earned**. Remove it from the redeemed message.
* iPhone customers get a balance notification although notifications are off: Apple always carries a change message. See [Customer notifications](#customer-notifications).
* Images don't show on the Apple pass: the file isn't a PNG, or the slot is empty. Apple skips anything that isn't PNG without reporting an error.
* Images look stretched or cropped: the two platforms need different shapes. Fill both image sections rather than reusing one set.
* The Apple notification says something you didn't write: your **When earned** body contains `{amount}`, so it fell back to the default. Rewrite it around `{balance}`.
* Balance updates but no notification: notifications are off by default, or a Google pass has hit its 3-push per 24h quota.
* A link in the notification text disappeared: URLs are stripped per Google policy. Use **Launch URL** instead.
* The `.pkpass` file downloads but won't open: it was opened on a desktop rather than an iPhone or iPad.

## Related articles

* [Customer account blocks](/dollarback-store-credit/widgets-and-storefront/customer-account-blocks)
* [Widget map: what shows where](/dollarback-store-credit/widgets-and-storefront/widget-map-what-shows-where)
* [How customers spend their credit](/dollarback-store-credit/spending-store-credit-and-rewards/how-customers-spend-their-credit)
* [Loyalty tiers overview](/dollarback-store-credit/loyalty-tiers/loyalty-tiers-overview)


# Subscription platforms

Shopify doesn't apply store credit to subscription renewals on its own: credit is spent at checkout, and a renewal doesn't go through checkout. Bridging that gap is up to the subscription app, so whether your customers can spend their cashback on renewals depends on which one you run.

Two are supported today. Both are listed on **DollarBack admin → Integrations**, under **Subscriptions**, with a **Supported** badge.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-69d6b63e7b1269161baa4fc2f3b5def5e3468978%2Fdb-subscriptions-cards-annotated.png?alt=media" alt="The Subscriptions section of the Integrations page with cards for Appstle Subscriptions and Recurpay Subscriptions, each with a Supported badge, a short setup note and a Learn more button."><figcaption><p>The Subscriptions section lists the supported platforms and where to turn on credit in each one.</p></figcaption></figure>

| Platform                                                                                                                                            | How credit reaches the renewal                                                                   | Set up in             |
| --------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ | --------------------- |
| [Appstle℠ Subscriptions](/dollarback-store-credit/integrations/subscription-platforms/appstle-subscriptions)                                        | Appstle applies the customer's store credit balance to recurring orders automatically            | Appstle               |
| [Recurpay Subscriptions](/dollarback-store-credit/integrations/subscription-platforms/redeem-shopify-store-credit-on-upcoming-subscription-renewal) | The customer chooses to apply credit to their next renewal from the subscription management page | Recurpay, and Shopify |

{% hint style="info" %}
**There is nothing to configure in DollarBack for either one.** DollarBack's job is to put store credit on the customer's Shopify account; the subscription app's job is to spend it. So keep earning programs running as normal, and do the integration work in the other app.
{% endhint %}

## Earning cashback on renewals

Renewal orders are ordinary Shopify orders, so your purchase cashback programs pay on them like any other order, with one exception: **sales channels**. A subscription app usually creates renewal orders under its own sales channel. If a program uses **Restrict to sales channels** and that channel is not ticked, the program skips renewal orders. Either leave every channel unticked, or tick the subscription app's channel as well ([Restrict to sales channels](/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback#restrict-to-sales-channels)).

## If you use a different subscription app

Your customers can still earn cashback on subscription orders — that side is just ordinary order processing. What they can't do is spend it on a renewal, because nothing applies the balance at that moment. They can still spend credit on any normal checkout.

If your platform adds Shopify store credit support, it should work with DollarBack without changes on our side; tell us through the in-app chat and we'll add it here.

## Related articles

* [How customers spend their credit](/dollarback-store-credit/spending-store-credit-and-rewards/how-customers-spend-their-credit)
* [Special order types](/dollarback-store-credit/settings/special-order-types)
* [Store credit isn't available at checkout](/dollarback-store-credit/troubleshooting-and-faq/store-credit-isnt-available-at-checkout)


# Appstle Subscriptions

Apply DollarBack store credit to Appstle subscription renewals

[Appstle℠ Subscriptions](https://apps.shopify.com/subscriptions-by-appstle) can apply a customer's Shopify store credit balance to their recurring orders, which means the cashback DollarBack issues can pay for renewals as well as one-off checkouts.

The work is all on the Appstle side. DollarBack issues the credit; Appstle spends it.

## Prerequisites

* **Shopify's new customer accounts** enabled (**Shopify admin → Settings → Customer accounts**).
* **Shopify native store credit** enabled on your store.
* Appstle Subscriptions installed, with at least one active subscription plan.
* DollarBack issuing store credit — any earning program, a manual top-up, or the [merchant API](/dollarback-store-credit/developer-tools/merchant-api-keys-and-endpoints).

## Turn it on

1. In **Appstle**, open **Shop Settings**.
2. Enable **"Automatically apply store credit on recurring orders"**.
3. Save.

That's the whole integration. DollarBack needs no changes: the credit it issues sits on the customer's Shopify store credit account, which is exactly what Appstle reads.

## What customers see

Once it's on, a customer holding store credit has it applied to their next recurring order automatically, reducing what's charged to their card. There's no button for them to press and nothing to choose — which is the main difference from [Recurpay](/dollarback-store-credit/integrations/subscription-platforms/redeem-shopify-store-credit-on-upcoming-subscription-renewal), where the customer opts in per renewal.

{% hint style="warning" %}
Automatic means automatic. A customer with a balance will have it spent on their next renewal whether or not they were saving it for something else, and they find out from the receipt. If your program is pitched as "save up for a treat", say so in your emails — or consider Recurpay's opt-in model instead.
{% endhint %}

## Earning on renewals

Renewal orders are ordinary Shopify orders, so your purchase cashback programs apply to them like any other. Two settings decide what a credit-paid renewal earns:

* **When a customer pays with store credit** on the [Special order types](/dollarback-store-credit/settings/special-order-types) card. On the default, a renewal partly paid with credit earns on the remainder only.
* The **holding period** and trigger event in [Trigger & timing](/dollarback-store-credit/settings/trigger-and-timing), which apply to renewals as they do to any order.

Left unchanged, this is self-limiting in a sensible way: credit spent on a renewal doesn't immediately generate more credit at the same rate.

{% hint style="warning" %}
**Check your sales channels.** A renewal order can come from Appstle's sales channel rather than **Online Store**. If a program uses **Restrict to sales channels** and that channel is not ticked, the program skips those renewals. Leave all channels unticked, or tick Appstle's channel too ([Restrict to sales channels](/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback#restrict-to-sales-channels)).
{% endhint %}

## Verify it works

1. Add a small store credit amount to a test customer in **Shopify admin → Customers**.
2. Confirm the setting is enabled in Appstle's Shop Settings.
3. Trigger or wait for that customer's next renewal, and check the resulting order: the charge should be reduced by the credit, and the customer's balance should drop by the same amount.
4. Check **DollarBack admin → Analytics → Activity** for the matching debit. It appears when the renewal order reaches the trigger event you chose under **Give cashback when** ([Trigger & Timing](/dollarback-store-credit/settings/trigger-and-timing)), so with **Order Fulfilled** it shows only after the order is fulfilled.

## Common issues

* **Credit isn't applied to the renewal**: confirm the Appstle setting is on, and that the customer's balance is in the same currency as the order. Shopify keeps one credit account per currency.
* **The customer has credit but the renewal charged in full**: the balance may have been issued after the renewal was prepared. Appstle reads the balance when it processes the order.
* **Nothing appears in DollarBack's Activity**: Shopify takes the credit off the balance at once, but DollarBack records the debit only when the renewal order reaches your trigger event under **Give cashback when** ([Trigger & Timing](/dollarback-store-credit/settings/trigger-and-timing)). With **Order Paid** or **Order Fulfilled**, the row appears after the order is paid or fulfilled.
* **Renewals earn no cashback**: check whether the program uses **Restrict to sales channels** without Appstle's channel ticked (see [Earning on renewals](#earning-on-renewals)).
* **Anything specific to Appstle's own behaviour**: Appstle owns this feature, so their support can see things we can't.

## Related articles

* [Subscription platforms](/dollarback-store-credit/integrations/subscription-platforms)
* [Redeem store credit on an upcoming Recurpay renewal](/dollarback-store-credit/integrations/subscription-platforms/redeem-shopify-store-credit-on-upcoming-subscription-renewal)
* [How customers spend their credit](/dollarback-store-credit/spending-store-credit-and-rewards/how-customers-spend-their-credit)
* [Special order types](/dollarback-store-credit/settings/special-order-types)


# Redeem Shopify Store Credit on upcoming subscription renewal

Let customers spend DollarBack store credit on an upcoming Recurpay subscription renewal

Shopify doesn't apply store credit to subscription renewals on its own, because a renewal doesn't go through checkout. With the **Recurpay** integration, customers can spend their DollarBack store credit on their next renewal from Recurpay's subscription management page.

The customer chooses when to use it: nothing is applied until they redeem credit against a renewal. That is the main difference from [Appstle Subscriptions](/dollarback-store-credit/integrations/subscription-platforms/appstle-subscriptions), which applies the balance automatically.

{% embed url="<https://youtu.be/qz2WbQaIHLw>" %}

## Prerequisites

* **Shopify's new customer accounts** enabled (**Shopify admin → Settings → Customer accounts**, then select the new experience).
* **Shopify native store credit** enabled on your store (the **Store credit** toggle under **Shopify admin → Settings → Customer accounts**).
* DollarBack installed and issuing store credit: an earning program, a Flow deposit, or a manual credit.
* Recurpay for your subscriptions. The steps on this page are Recurpay-specific. For Appstle, see [Appstle Subscriptions](/dollarback-store-credit/integrations/subscription-platforms/appstle-subscriptions); other subscription apps aren't supported yet, see [Subscription platforms](/dollarback-store-credit/integrations/subscription-platforms).

## Turn it on in Recurpay

There is nothing to configure in DollarBack. The work is in Recurpay:

1. Open your **Recurpay** dashboard.
2. Go to **Settings → Apps → Loyalty**.
3. Find **Dollarback** and click **Activate**.
4. If Recurpay asks you to approve more permissions, accept them.

Once it is active, Recurpay can read the customer's store credit balance when they manage their subscription.

## What customers see

1. The customer logs in to their account and opens the **Manage Subscriptions** page.
2. They see an option to **redeem store credit** against the next renewal.
3. They enter the amount of credit to apply, for example `$20`.
4. They confirm. The renewal total goes down by that amount.

For example, a subscription priced at `$23.41` with `$20` of store credit redeemed renews for `$3.41`.

## Earning on renewals

Renewal orders are ordinary Shopify orders, so your purchase cashback programs pay on them like any other order. Two things to check:

* **When a customer pays with store credit** on the [Special order types](/dollarback-store-credit/settings/special-order-types) card decides what a renewal paid partly with credit earns.
* **Restrict to sales channels**: a renewal order can come from Recurpay's sales channel rather than **Online Store**. If a program has sales channels ticked and that channel is not one of them, the program skips those renewals. Leave all channels unticked, or tick Recurpay's channel too ([Restrict to sales channels](/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback#restrict-to-sales-channels)).

## Verify it works

1. In **Shopify admin → Customers**, open a test customer and add a small store credit amount, for example `$20`.
2. Confirm that **Dollarback** shows as active under **Settings → Apps → Loyalty** in Recurpay.
3. Log in to your storefront as that customer and open **Manage Subscriptions**.
4. Redeem the credit against the next renewal and check that the renewal total drops by the same amount.

## Common issues

If the customer can't see store credit on the subscription page:

* **No balance**: check that DollarBack has issued credit and the customer's store credit balance is above zero.
* **Integration not active**: check that **Dollarback** is activated under **Settings → Apps → Loyalty** in Recurpay.
* **Classic customer accounts**: the customer must use the new customer accounts, not classic accounts.
* **Old session**: ask the customer to log out and log in again.

Recurpay owns the subscription management page, so for anything about how it behaves, Recurpay's support can see things we can't. For anything on the DollarBack side, contact us through the in-app chat or email.

## Ideas

* **Reward every renewal**: your purchase cashback programs already pay on renewal orders, so each renewal builds credit toward the next one.
* **Credit to keep a subscriber**: add credit to a customer who is about to cancel, by hand or with a Shopify Flow workflow ([Shopify Flow: triggers and actions](/dollarback-store-credit/integrations/shopify-flow-triggers-and-actions)).

## Related articles

* [Subscription platforms](/dollarback-store-credit/integrations/subscription-platforms)
* [Appstle Subscriptions](/dollarback-store-credit/integrations/subscription-platforms/appstle-subscriptions)
* [How customers spend their credit](/dollarback-store-credit/spending-store-credit-and-rewards/how-customers-spend-their-credit)
* [Special order types](/dollarback-store-credit/settings/special-order-types)


# Store credit for submitting review

Give customers store credit for writing reviews. **Judge.me** connects to DollarBack directly: you add a review reward under **Cashback → Review rewards**, with no workflow to build. See [Reward customers with store credit for Judge.me reviews](/dollarback-store-credit/integrations/store-credit-for-submitting-review/reward-customers-with-store-credit-for-reviews-using-judge.me).

The other review apps on this page send reviews through Shopify Flow, using DollarBack's **Deposit Store Credit v2** action. Each one needs the Shopify Flow integration turned on in **DollarBack admin → Integrations**: while it is off, Flow shows the deposit as successful but no credit is given.


# Reward Customers with Store Credit for Reviews using Judge.me

Connect Judge.me to DollarBack and reward customers with store credit or a discount code for every product review and store review they write.

Connect Judge.me to DollarBack, then add a **review reward**. Each time a customer writes a product review or a store review in Judge.me, DollarBack gives them store credit (or a discount code) automatically. There is no Shopify Flow workflow to build and no discount code to hand out by hand.

## Prerequisites

* **Judge.me** installed on your store. Any Judge.me plan works, including the Free plan: DollarBack reads reviews through its own connection, not through Judge.me's Shopify Flow integration.
* A **DollarBack plan that includes integrations**. On a plan without them, the Judge.me page shows **Upgrade to Connect** instead of **Connect Judge.me** ([Choose a plan](/dollarback-store-credit/getting-started/choose-a-plan-and-start-your-trial)).
* Staff access to the Judge.me account of **this** store. DollarBack refuses a Judge.me account that belongs to a different store.

## Step 1: Connect Judge.me

1. Go to **DollarBack admin → Integrations** and find the **Judge.me** card.
2. Click **Set up**, then **Connect Judge.me**.
3. A Judge.me window opens and asks you to authorize DollarBack to read reviews, reviewers and shops. Click **Authorize**.
4. The window shows "Judge.me is connected. This window closes now." and closes. The Judge.me page in DollarBack now shows **Connected**.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-4cd7ca98bf1597eb15efeeb11f273c54262da3b4%2Fdb-judgeme-integrations-card.png?alt=media" alt="The Judge.me card on the DollarBack Integrations page, with a Not Connected badge, the text Reward customers with store credit or a discount code for each Judge.me review, and a Set up button." width="560"><figcaption><p>Start from the Judge.me card on the Integrations page.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-64940f1b0ee181debbd43140e5d8ee2c44eb3576%2Fdb-judgeme-authorize.png?alt=media" alt="The Judge.me Authorization required window asking Authorize Dollarback to use your account, listing Read Reviews, Read Reviewers and Read Shops, with Authorize and Deny buttons." width="560"><figcaption><p>DollarBack only asks to read reviews, reviewers and your shop details. It never changes anything in Judge.me.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-7e55078c7bacf68625fc768059e416b0a8d9d5b9%2Fdb-judgeme-connected.png?alt=media" alt="The Judge.me page in DollarBack with a Connected badge, a link to Cashback, Review rewards, and a Disconnect Judge.me button." width="560"><figcaption><p>Once Judge.me is connected, set up the reward itself under Cashback, Review rewards.</p></figcaption></figure>

{% hint style="info" %}
Only reviews written **after** you connect can earn a reward. Older reviews, including reviews you import into Judge.me with their original dates, are never rewarded. If you disconnect and connect again, the count starts again from the new connection: a review written earlier that is still waiting for your approval earns nothing when you publish it.
{% endhint %}

## Step 2: Create a review reward

Until Judge.me is connected, the **Review rewards** tab under **Cashback** shows **Connect** instead of the rules.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-43b74af07b4c4e7d904644304cc40a2f071ca34c%2Fdb-judgeme-review-tab-locked.png?alt=media" alt="The Cashback settings menu with Review rewards greyed out, a Connect link beside it and the tooltip Connect Judge.me to use review rewards." width="400"><figcaption><p>Before you connect Judge.me, the Review rewards tab links to the Judge.me page.</p></figcaption></figure>

1. Go to **DollarBack admin → Cashback** and open the **Review rewards** tab.
2. Click **Add review reward**.
3. Fill in the rule:
   * **Title**: the campaign name. It shows in the Activity log next to each reward.
   * **Start date** and, if you want one, an **end date**.
   * **Review type**: **All reviews**, **Product reviews** or **Store reviews**. You can have one rule per type, for example a larger reward for product reviews and a smaller one for store reviews. A rule for one review type wins over an **All reviews** rule.
   * **Give the reward when**: pick one of the three triggers in the table below.
   * **Limit how many times each customer can earn this reward** (optional): for example 3 per month. The limit counts every reward from this rule, across all products.
   * **Include customer tags** / **Exclude customer tags** (optional): reward only some customers, or leave some out.
   * **Reward kind**: **Store credit**, or **Discount code** (a reward you built on the Reward marketplace page).
   * **Amount** and **Credit expires**: **Never**, **After a number of days**, or **On a date**.
4. Switch the rule on with the toggle at the top of its card, then click **Save**.

| Give the reward when                        | The customer earns                                                                                                                                                             |
| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| The review is posted                        | Right away, even before you check the review.                                                                                                                                  |
| The review is published (default)           | When the review shows on your store. If Judge.me publishes reviews automatically, this is the same as posted. A review that waits for your approval earns when you publish it. |
| The review is published by a verified buyer | Only when Judge.me shows the review as written by a verified buyer of your store. Reviews without Judge.me's verified-buyer badge earn nothing under this trigger.             |

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-b91aa63a22b7703855b34d5beb8c7b65d3a2bcd4%2Fdb-judgeme-rule-trigger.png?alt=media" alt="A review reward rule titled E2E Judge.me product review, enabled, with Review type set to Product reviews and Give the reward when set to The review is published." width="560"><figcaption><p>Choose which reviews count and when the reward is given.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-f153fdfdd22a1589daf623fb72cc11805999a335%2Fdb-judgeme-rule-limit-reward.png?alt=media" alt="The lower part of the review reward rule: a limit of 1 per year, rolling; customer tag filters; Reward kind Store credit; Amount 50 rupees; Credit expires after 30 days." width="560"><figcaption><p>Add an optional limit and tag filters, then set the reward and when the credit expires.</p></figcaption></figure>

Every review earns the same reward, whatever its star rating.

## What customers see

Each review reward that is switched on shows in the floating widget, on the **Offers** tab, under **Reviews**. The line gives the amount only, for example "Write a product review to earn $5.00". It has no button: customers write the review in Judge.me as usual, from your product page or from a Judge.me review request email.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2bc8ced122fe0c2d5cb471ad2f638dc27044f2b7%2Fdb-cx-widget-offers-earn.png?alt=media" alt="The DollarBack floating widget on the storefront, Offers tab, with a Birthday offer, a Social offer, and under Reviews the line Write a product review to earn $5.00." width="380"><figcaption><p>Your customers see the review reward on the Offers tab of the widget, next to your other ways to earn.</p></figcaption></figure>

When the reward is given, it shows in the customer's **Reward History** in the widget as **Review reward**, and in their store credit balance.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-80654e1659ba11e84182cbd06e43ab7f6e903d29%2Fdb-cx-widget-history.png?alt=media" alt="The Reward History view of the floating widget with a Review reward row of plus $5, between a Referral reward and Cashback from your order." width="380"><figcaption><p>The reward shows in the customer's Reward History as Review reward.</p></figcaption></figure>

## How rewards are given

1. A customer writes a review in Judge.me, from your storefront or from a Judge.me review request email.
2. Judge.me tells DollarBack about the new review, and again whenever the review changes (for example when you publish it).
3. DollarBack finds the customer in Shopify (by the customer that Judge.me linked to the review, or else by the reviewer's email address) and picks the matching rule.
4. The customer gets the credit, usually within about 10 minutes of writing the review. DollarBack sends its usual store-credit email if you have that notification on, and the credit event goes to Klaviyo, Omnisend or Mailchimp if you have connected one.

A customer earns **once per product** and **once for a store review**. A second review of the same product earns nothing, even if you edit or replace the rule. A review of a different product earns again, unless the rule's limit has been reached.

No reward is given when:

* the review was written before you connected Judge.me, or while Judge.me was disconnected
* you hide the review or Judge.me marks it as spam
* the review is not yet published and the trigger is **published** or **verified buyer**
* no Shopify customer has the reviewer's email address when Judge.me sends the review
* the rule is switched off, outside its dates, or the customer's tags exclude them
* the customer has already reached the rule's limit

{% hint style="warning" %}
Judge.me can create a Shopify customer for a reviewer who has never bought from you. That customer may not exist yet when Judge.me first sends the review, so the review earns nothing at first. If the review changes later (for example you hide it and publish it again), it can then earn the reward.
{% endhint %}

## Verify it works

1. Write a test review in Judge.me with the email address of a test customer, then wait about 10 minutes.
2. Open **DollarBack admin → Analytics → Activity**. On **Credits earned**, the reward shows with your rule's title as the campaign and the type **review\_reward**.
3. Open the customer in Shopify admin: the store credit balance includes the reward, with the expiry date that you set on the rule.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-4f6e34861630df7db41ecac4ae6aade1d4ae1e15%2Fdb-judgeme-activity.png?alt=media" alt="The Activity tab in DollarBack listing four review rewards: three of 50 rupees from the product review rule and one of 20 rupees from the store review rule, each with the type review_reward." width="560"><figcaption><p>Each review reward shows in Activity with the rule title as the campaign.</p></figcaption></figure>

## Disconnect Judge.me

On **DollarBack admin → Integrations → Judge.me**, click **Disconnect Judge.me**. DollarBack disconnects at once, without asking you to confirm. Your review reward rules stay, but they give no rewards, and the **Cashback** page shows a "Judge.me is not connected" banner. The rules still show on your storefront until you switch them off.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-0ef48d95dcabb45ec24a6b0872a92cd8691d66d1%2Fdb-judgeme-not-connected-banner.png?alt=media" alt="The Cashback settings page with a Judge.me is not connected banner, which says review rewards give no rewards until you connect Judge.me and customers still see them on the storefront, above two enabled review reward rules." width="560"><figcaption><p>While Judge.me is disconnected, review rewards give nothing.</p></figcaption></figure>

Reviews written while Judge.me is disconnected never earn a reward, even after you connect again. To reconnect, click **Connect Judge.me** and authorize again.

## Common issues

| Issue                                                 | What to check                                                                                                                                                                                                                          |
| ----------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| No credit after a review                              | Wait about 10 minutes. Then check that Judge.me shows **Connected** in DollarBack, the rule is switched on and inside its dates, and the review is published.                                                                          |
| The review is in Judge.me but still earned nothing    | The review may be older than the connection, hidden, a second review of the same product, over the rule's limit, or from an email address with no Shopify customer.                                                                    |
| Verified-buyer rule gives nothing                     | Judge.me must show the review as written by a verified buyer. Reviews written on your storefront without Judge.me's verified-buyer badge do not qualify. Use **The review is published** if you want to reward every published review. |
| Store reviews get the product amount                  | Make a separate rule with **Review type** set to **Store reviews**. A rule for one review type wins over an **All reviews** rule.                                                                                                      |
| The Review rewards tab shows **Connect**              | Judge.me is not connected. Connect it from **Integrations → Judge.me**.                                                                                                                                                                |
| "This Judge.me account belongs to a different store." | Sign in to the Judge.me account of this store, then connect again.                                                                                                                                                                     |

## Related articles

* [Reward discount codes instead of store credit](/dollarback-store-credit/earning-cashback-programs/reward-discount-codes-instead-of-store-credit)
* [Activity: credit logs & scheduled rewards](/dollarback-store-credit/analytics-data-and-account/credit-logs-and-scheduled-rewards)
* [Credit expiry and reminders](/dollarback-store-credit/spending-store-credit-and-rewards/credit-expiry-and-reminders)
* [Klaviyo integration](/dollarback-store-credit/integrations/klaviyo-integration)


# Reward Customers with Store Credit for Reviews using Vitals

How to Reward Product Reviews with Shopify Store Credit Using Dollarback and Vitals Integration

**Want to turn customer reviews into a powerful retention tool?**\
With the integration between Dollarback and Vitals, you can now **reward customers with store credit** every time they leave a product review—encouraging more UGC (user-generated content) without offering one-time discounts.

In this guide, we’ll walk you through how to set up this integration using **Shopify Flow**, and how it benefits both your brand and your customers.

{% embed url="<https://youtu.be/7_SxY77NYRM>" %}

***

### 🧩 What You Need

* Dollarback: Cashback & Store Credit installed and configured
* Vitals: 40+ Shopify Apps in One, specifically the **Product Reviews** module enabled
* Shopify Flow app installed on your store

{% hint style="warning" %}
**Turn on the Shopify Flow integration in DollarBack first.** Go to **DollarBack admin → Integrations**, click **Set up** on the **Shopify Flow** card, then click **Enable**. While it is off, Flow still marks the deposit step as successful in its run history, but DollarBack gives no credit.

Shopify Flow needs a DollarBack plan that includes **Klaviyo, Omnisend, Mailchimp and Flow integrations**. On other plans the button reads **Upgrade to Enable**; see [Choose a plan and start your trial](/dollarback-store-credit/getting-started/choose-a-plan-and-start-your-trial).
{% endhint %}

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2a2eaee55fe973480b1edf8587cd9d6f048b8883%2Fdb-review-flow-enable-annotated.png?alt=media" alt="The Shopify Flow Integration card in DollarBack with an Enabled badge and a Disable button."><figcaption><p>In DollarBack, open Integrations, click Set up on the Shopify Flow card, and click Enable. The badge then reads Enabled.</p></figcaption></figure>

***

### 💡 Why Use Store Credit Instead of Discounts?

* 💰 **Store credit is account-based** – it ties to the customer, not just a one-time code
* 🔁 **Encourages repeat purchases** – customers return to use their credit
* 🎯 **Personalized rewards** – you control how much, when, and for what actions
* 🚫 **No discount code abuse** – unlike promo codes, credit can't be shared

***

### ⚙️ Step-by-Step Setup Instructions

#### Step 1: Set Up Vitals Product Reviews

1. Open the **Vitals** app on your Shopify admin.
2. Enable the **Product Reviews** module.
3. Under “Automate review requests”, set the email to be sent **7 days after purchase** (or your desired delay).
4. Turn off any built-in discount incentives—we’ll reward customers using store credit instead via Dollarback.

***

#### Step 2: Install & Configure Dollarback

1. Install Dollarback from the Shopify App Store.
2. Configure your default store credit settings and notifications inside the app.
3. Set up how you want store credit to be displayed and redeemed at checkout (a one-click button will appear for the customer at checkout, on POS, and even subscriptions).

***

#### Step 3: Create a Shopify Flow to Reward Reviews

1. Install Shopify Flow if you haven’t already.
2. Open Flow and create a **New Workflow**.
3. Set the **trigger** as `Product Review Created` or `Order Review Created` (Vitals triggers this when a review is left).
4. Add an **Action**: “Run Custom App Action” → Select DollarBack → `Deposit Store Credit v2`.

**Recommended Setup:**

* **Trigger**: Product Review Created (you can also use Order Review if applicable)
* **Condition**: (Optional) Filter by product, tag, or review rating
* **Action**: **Deposit Store Credit v2**, to deposit store credit into the customer's account:
  * **Amount**: e.g. ₹100 or $10.
  * **Currency**: required. Enter your store's currency code, for example `USD`.
  * **Expires After**: the number of days before the credit expires, for example `30` to encourage faster redemption. Leave it empty or enter `0` for credit that never expires.
  * **Offer Title** (optional): a label such as `Review reward`, shown in your credit logs.
  * **Notify Customer**: keep it on to email the customer about the credit (when the Store Credit Credited email is turned on).

🎉 Done! Once a review is submitted, the customer will automatically receive store credit and get notified.

***

### 🧪 Sample Use Case

> A customer purchases a product. 7 days later, Vitals sends them an email asking for a review.\
> They submit a product review.\
> Shopify Flow triggers → Dollarback credits $10 into their account.\
> They are notified instantly and can use it at checkout via a single-click redeem button.

***

### 🔧 Common Questions

#### Can I use this with other review apps?

Yes! Dollarback works with any review app that supports Shopify Flow triggers (e.g., Loox). Judge.me does not need Flow: DollarBack connects to it directly, see [Reward customers with store credit for Judge.me reviews](/dollarback-store-credit/integrations/store-credit-for-submitting-review/reward-customers-with-store-credit-for-reviews-using-judge.me). Reach out to our support team for help configuring a different setup.

#### How is this different from discounts?

Store credit is stored directly on the customer object in Shopify. It can’t be misused like coupon codes, and builds loyalty by staying attached to the customer's account.

***

### 📎 Useful Links

* 👉 [Install Dollarback App](https://apps.shopify.com/dollarback)
* 👉 [Install Vitals App](https://apps.shopify.com/vitals)

***

### 💬 Need Help?

Got stuck? Want help using a different trigger or adding conditions?\
Reach out to us via live chat inside the Dollarback app or email us directly. We’ll help you get set up in no time.


# Reward Customers with Store credit for Reivews using Trustoo.io

How to Reward Product Reviews with Shopify Store Credit Using Dollarback and Trustoo.io Integration

If you’d like to reward your customers with cashback (store credit) when they leave a review using Trustoo.io, this guide will help you set up that integration using **Shopify Flow** and **Dollarback**.

Due to a limitation in how Trustoo handles customer data in its triggers, we’ll use a simple workaround to ensure store credit is deposited correctly.

{% embed url="<https://youtu.be/qi6mfL1MrIo>" %}

***

### 🛠 Prerequisites

Before you begin, make sure:

* You have the **Dollarback app** installed and set up on your Shopify store: [Dollarback on Shopify App Store](https://apps.shopify.com/dollarback)
* You have the **Trustoo Reviews app** installed and configured: [Trustoo on Shopify App Store](https://apps.shopify.com/sealapps-product-review)
* Both apps are functioning as expected on your store.

{% hint style="warning" %}
**Turn on the Shopify Flow integration in DollarBack first.** Go to **DollarBack admin → Integrations**, click **Set up** on the **Shopify Flow** card, then click **Enable**. While it is off, Flow still marks the deposit step as successful in its run history, but DollarBack gives no credit.

Shopify Flow needs a DollarBack plan that includes **Klaviyo, Omnisend, Mailchimp and Flow integrations**. On other plans the button reads **Upgrade to Enable**; see [Choose a plan and start your trial](/dollarback-store-credit/getting-started/choose-a-plan-and-start-your-trial).
{% endhint %}

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2a2eaee55fe973480b1edf8587cd9d6f048b8883%2Fdb-review-flow-enable-annotated.png?alt=media" alt="The Shopify Flow Integration card in DollarBack with an Enabled badge and a Disable button."><figcaption><p>In DollarBack, open Integrations, click Set up on the Shopify Flow card, and click Enable. The badge then reads Enabled.</p></figcaption></figure>

***

### 🧩 Why a Workaround Is Needed

Trustoo’s "New Review" trigger in Shopify Flow **does not include customer information**. This means you **can’t directly** deposit store credit using that trigger alone.

Instead, we’ll retrieve the customer’s information using the **Order ID** provided in the review trigger.

***

### 🔄 Step-by-Step Setup Using Shopify Flow

1. **Create a New Flow**
   * Go to your **Shopify Admin → Flow**.
   * Click **"Create Workflow"** and choose the **Trustoo: New Review** trigger.
2. **Add a Condition to Check for Order ID**
   * Add a **condition block**:
     * **If**: `{{order_id}}`
     * **Is Not Empty**
   * This ensures we’re only proceeding if the order ID is present.
3. **Get Order Details**
   * Add a **"Get Order Data"** action (Shopify Admin API):
     * Use the order ID from the review trigger.
     * This step fetches all data related to that order, including the customer.
4. **Repeat for Each Order (Loop)**
   * Since the result is an **array**, add a **"Repeat For Each Item"** step.
   * This ensures the next action works with a single customer object.
5. **Deposit Store Credit with Dollarback**
   * Inside the repeat loop, add the **DollarBack: Deposit Store Credit v2** action.
   * Configure the following:
     * **Amount**: e.g., ₹25 or $5 (your choice)
     * **Currency**: required. Enter your store's currency code, for example `USD`.
     * **Expires After**: the number of days before the credit expires. Leave it empty or enter `0` for credit that never expires.
     * **Offer Title** (optional): a label such as `Review reward`, shown in your credit logs.
     * **Notify Customer**: keep it on to email the customer about the credit (when the Store Credit Credited email is turned on).
6. **Save and Test the Workflow**
   * Click **Apply Changes**.
   * Run a test to make sure the flow works correctly.

{% hint style="info" %}
Flow does not save the action without **Currency**. Enter your store's currency code, for example `USD`.
{% endhint %}

***

### 🧪 Troubleshooting

* If the flow doesn't trigger or deposit credit, double-check if:
  * The review submitted has a valid **Order ID**.
  * Trustoo and Dollarback are properly installed and updated.
  * The Shopify Flow integration is enabled in **DollarBack admin → Integrations**.
  * The API permissions for Flow are correctly set up to access orders.

***

### 💬 Need Help?

If you run into issues or have suggestions, reach out to our support team via chat. We’re always happy to help and take your feedback seriously.

Have an integration or use-case you'd like us to cover? Let us know — we’re always adding more guides based on merchant feedback.


# Reward Loox Product Reviews with Store Credit Using Dollarback

How to Reward Product Reviews with Shopify Store Credit Using Dollarback and Loox Integration

Want to reward customers for leaving visual reviews on your store using **Loox**? With **Dollarback**, you can automatically issue store credit whenever a customer submits a review — even though Loox doesn’t directly provide customer data in its Shopify Flow trigger.

This guide walks you through the workaround using Shopify Flow to set this up.

{% embed url="<https://youtu.be/2WNip3kYjbE>" %}

***

#### ✅ Prerequisites

Before getting started, make sure:

* You have installed and set up the Loox – Visual Product Reviews app.
* You have installed and configured Dollarback: Cashback & Loyalty.
* You are on a Loox plan that supports **Shopify Flow** triggers (usually paid).

{% hint style="warning" %}
**Turn on the Shopify Flow integration in DollarBack first.** Go to **DollarBack admin → Integrations**, click **Set up** on the **Shopify Flow** card, then click **Enable**. While it is off, Flow still marks the deposit step as successful in its run history, but DollarBack gives no credit.

Shopify Flow needs a DollarBack plan that includes **Klaviyo, Omnisend, Mailchimp and Flow integrations**. On other plans the button reads **Upgrade to Enable**; see [Choose a plan and start your trial](/dollarback-store-credit/getting-started/choose-a-plan-and-start-your-trial).
{% endhint %}

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2a2eaee55fe973480b1edf8587cd9d6f048b8883%2Fdb-review-flow-enable-annotated.png?alt=media" alt="The Shopify Flow Integration card in DollarBack with an Enabled badge and a Disable button."><figcaption><p>In DollarBack, open Integrations, click Set up on the Shopify Flow card, and click Enable. The badge then reads Enabled.</p></figcaption></figure>

***

#### 🔄 Step-by-Step Setup in Shopify Flow

**1. Enable Shopify Flow Integration in Loox**

* In your Loox admin, go to **Settings → Integrations**.
* Enable the **Shopify Flow** integration.
* Make sure **“New Review”** trigger is activated.

**2. Create a New Flow**

* Go to **Shopify Admin → Flow → Create Workflow**.
* Select **Loox: New Review** as the trigger.

**3. Add a Condition to Check for Order ID**

* Add a **Condition block**:
  * If `{{order_id}}` is **not empty**, continue the flow.
* This ensures only reviews tied to actual orders proceed to the next step.

**4. Get Order Data Using Order ID**

* Add an **Action**: **Get Order Data**.
* Set to:
  * **Sort by**: ID ascending
  * **Limit**: 1
  * **Query**: Advanced

    ```
    id={{order_id}}
    ```

**5. Loop Through the Returned Data**

* Add a **Repeat For Each Item** action.
  * Object: use the result from **Get Order Data**.
  * Choose **Repeat for each item**.

**6. Deposit Store Credit Using Dollarback**

* Inside the loop, add **Deposit Store Credit v2** (DollarBack action).
* Set:
  * **Amount**: e.g., ₹25 or $5
  * **Currency**: required. Enter your store's currency code, for example `USD`.
  * **Expires After**: the number of days before the credit expires. Leave it empty or enter `0` for credit that never expires.
  * **Offer Title** (optional): a label such as `Review reward`, shown in your credit logs.
  * **Notify Customer**: keep it on to email the customer about the credit (when the Store Credit Credited email is turned on).

**7. Save and Test**

* Click **Apply Changes**.
* Submit a test review using Loox tied to an order to verify the setup works.

***

#### ⚠️ Why This Workaround?

Loox’s "New Review" trigger **does not pass customer data or order details directly**, which makes direct crediting impossible. This workaround fetches the order using the order ID passed in the trigger and then finds the associated customer.

***

#### 💬 Need Help?

If you run into any issues, feel free to reach out to our support team via the Dollarback app. We’re happy to assist and welcome any feedback to improve the experience.


# Reward Air Product Reviews with Store Credit Using Dollarback

How to Reward Product Reviews with Shopify Store Credit Using Dollarback and Air Product Review Integration

Want to reward customers for leaving product reviews using the **Air Product Reviews App & UGC**? With **Dollarback**, you can automatically deposit **Shopify-native store credit** into a customer’s wallet instead of using discount codes.

This guide shows you how to set it up using **Shopify Flow** — no app-based coupon dependencies required.

{% embed url="<https://youtu.be/QhF-h0IWFSk>" %}

***

#### ✅ Prerequisites

Make sure the following apps are installed and configured:

* Air Product Reviews App & UGC
* Dollarback: Cashback & Loyalty

{% hint style="warning" %}
**Turn on the Shopify Flow integration in DollarBack first.** Go to **DollarBack admin → Integrations**, click **Set up** on the **Shopify Flow** card, then click **Enable**. While it is off, Flow still marks the deposit step as successful in its run history, but DollarBack gives no credit.

Shopify Flow needs a DollarBack plan that includes **Klaviyo, Omnisend, Mailchimp and Flow integrations**. On other plans the button reads **Upgrade to Enable**; see [Choose a plan and start your trial](/dollarback-store-credit/getting-started/choose-a-plan-and-start-your-trial).
{% endhint %}

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2a2eaee55fe973480b1edf8587cd9d6f048b8883%2Fdb-review-flow-enable-annotated.png?alt=media" alt="The Shopify Flow Integration card in DollarBack with an Enabled badge and a Disable button."><figcaption><p>In DollarBack, open Integrations, click Set up on the Shopify Flow card, and click Enable. The badge then reads Enabled.</p></figcaption></figure>

***

#### 🔄 Step-by-Step Setup Using Shopify Flow

**1. Enable Shopify Flow in Air Product Reviews**

* Go to **Air Reviews App → Settings → Integrations**.
* Enable the **Shopify Flow Integration**.
* This allows the app to trigger Shopify Flow workflows when a new review is submitted.

**2. Create a New Shopify Flow**

* Open **Shopify Admin → Flow** and click **Create Workflow**.
* **Trigger**: Select **Air Product Reviews – New Review**.

**3. Deposit Store Credit via Dollarback**

* Add an **Action**: **DollarBack – Deposit Store Credit v2**.
* Set:
  * **Amount**: e.g., ₹100, $10, etc.
  * **Currency**: required. Enter your store's currency code, for example `USD`.
  * **Expires After**: the number of days before the credit expires. Leave it empty or enter `0` for credit that never expires.
  * **Offer Title** (optional): a label such as `Review reward`, shown in your credit logs.
  * **Notify Customer**: keep it on to email the customer about the credit (when the Store Credit Credited email is turned on).

Once the review is submitted, the customer will automatically receive an email notification (if **Notify Customer** is on) about the credit deposited into their Shopify wallet.

***

#### 📣 Why Store Credit?

Using store credit over discount codes gives you more control and flexibility. It encourages repeat purchases and stays within Shopify’s ecosystem — no third-party coupon systems or headaches.

***

#### 💬 Need Help?

Have questions or face issues while setting this up? Our support team is always ready to help you out. Reach out via the Dollarback app chat.


# Reward REVIEWS.io reviews Using Dollarback

How to Reward Product Reviews with Shopify Store Credit Using Dollarback and REVIEWS.io Integration

You can easily reward your customers with store credit every time they leave a positive review using REVIEWS.io. This integration uses **Shopify Flow** and requires both **Dollarback: Cashback & Loyalty** and **REVIEWS.io Product Reviews App** to be installed on your Shopify store.

{% embed url="<https://youtu.be/2PvHYiayabc>" %}

***

#### **Step-by-Step Instructions**

**✅ Prerequisites:**

* Dollarback: Cashback & Loyalty app is installed and set up.
* REVIEWS.io Product Reviews App is installed and collecting reviews.
* Shopify Flow app is installed (free from the Shopify App Store).
* The Shopify Flow integration enabled in Dollarback (Step 1 below).

***

#### 🔧 Setup Instructions

**Step 1: Enable Shopify Flow in Dollarback**

1. Open the **Dollarback** app.
2. Go to **Integrations**.
3. On the **Shopify Flow** card, click **Set up**.
4. Click **Enable**, and check that the badge reads **Enabled**. While it is off, Flow still marks the deposit step as successful, but DollarBack gives no credit.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2a2eaee55fe973480b1edf8587cd9d6f048b8883%2Fdb-review-flow-enable-annotated.png?alt=media" alt="The Shopify Flow Integration card in DollarBack with an Enabled badge and a Disable button."><figcaption><p>In DollarBack, open Integrations, click Set up on the Shopify Flow card, and click Enable. The badge then reads Enabled.</p></figcaption></figure>

{% hint style="info" %}
Shopify Flow needs a DollarBack plan that includes **Klaviyo, Omnisend, Mailchimp and Flow integrations**. On other plans the button reads **Upgrade to Enable**; see [Choose a plan and start your trial](/dollarback-store-credit/getting-started/choose-a-plan-and-start-your-trial).
{% endhint %}

**Step 2: Create a Flow in Shopify Flow**

1. Open the **Shopify Flow** app.
2. Click **Create Workflow**.
3. Choose the trigger:\
   **“New Positive Review”** from REVIEWS.io *(You may also choose any other trigger that suits your logic)*.

**Step 3: Add a Condition (Optional)**

* You can add a filter to only reward reviews above a certain rating threshold (e.g., 4 or 5 stars).

**Step 4: Fetch Customer Data**

1. Add an action to **Get customer by email**.
2. Use `id: {{reviewerEmail}}` from the trigger as a dynamic variable.

**Step 5: Loop Through Customer Records**

* Use a loop if there are multiple records (usually only one).
* For each customer, add the **Deposit Store Credit v2** action from DollarBack.
  * **Amount**: e.g., ₹50.
  * **Currency**: required. Enter your store's currency code, for example `USD`.
  * **Expires After**: the number of days before the credit expires. Leave it empty or enter `0` for credit that never expires.
  * **Offer Title** (optional): a label such as `Review reward`, shown in your credit logs.
  * **Notify Customer**: keep it on to email the customer about the credit (when the Store Credit Credited email is turned on).

**Step 6: Save and Enable the Flow**

* Name your flow (e.g., **Reward Positive Review**).
* Click **Turn on Workflow**.

***

#### 🎉 That’s it!

Every time a customer leaves a positive review via REVIEWS.io, they’ll automatically get store credit through Dollarback. If you need help setting this up or want to customize the logic, feel free to reach out to the Dollarback support team.


# Reward Stamped.io reviews Using Dollarback

How to Reward Product Reviews with Shopify Store Credit Using Dollarback and Stamped.io Integration

**Overview:**\
If you’re using [Stamped Product Reviews & UGC](https://apps.shopify.com/product-reviews-addon) but not their loyalty system — and want to offer store credit cashback through [Dollarback: Cashback & Loyalty](https://apps.shopify.com/dollarback) — this guide walks you through setting up a custom flow using Shopify Flow.

{% embed url="<https://youtu.be/n7U1kPKotNM>" %}

***

**🔧 Prerequisites:**

1. **Stamped app installed** and configured (including review requests and workflows).
2. **Dollarback app installed** and setup complete.
3. **Shopify Flow app installed.**
4. Dollarback's **Flow integration is enabled.**
   * Go to the Dollarback dashboard → **Integrations**, click **Set up** on the **Shopify Flow** card, then click **Enable**. Check that the badge reads **Enabled**.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2a2eaee55fe973480b1edf8587cd9d6f048b8883%2Fdb-review-flow-enable-annotated.png?alt=media" alt="The Shopify Flow Integration card in DollarBack with an Enabled badge and a Disable button."><figcaption><p>In DollarBack, open Integrations, click Set up on the Shopify Flow card, and click Enable. The badge then reads Enabled.</p></figcaption></figure>

{% hint style="info" %}
Shopify Flow needs a DollarBack plan that includes **Klaviyo, Omnisend, Mailchimp and Flow integrations**. On other plans the button reads **Upgrade to Enable**; see [Choose a plan and start your trial](/dollarback-store-credit/getting-started/choose-a-plan-and-start-your-trial).
{% endhint %}

***

**🛠 Step-by-Step: Create a Flow to Trigger Cashback on Review Submission**

1. **Open Shopify Flow** and create a new workflow.
2. **Trigger:**
   * Set the trigger to **“New Review”** from **Stamped**.
3. **Get Customer Data (Workaround):**
   * Unfortunately, the “New Review” trigger does **not** include the full Shopify customer object.
   * So, insert an action: **Get Customer Data**.
   * In the query, set:
     * Sort: **ID Ascending**
     * Max results: **1**
     * Advanced Query Filter:

       ```json
       id: {{email}}
       ```
4. **Loop Through the Customer Array:**
   * Add a **For Each** loop to iterate over the array returned from the previous step.
5. **Deposit Store Credit:**
   * Inside the loop, insert the **Deposit Store Credit v2** action.
   * Customize:
     * **Amount**: the credit to give.
     * **Currency**: required. Enter your store's currency code, for example `USD`.
     * **Expires After**: the number of days before the credit expires. Leave it empty or enter `0` for credit that never expires.
     * **Offer Title** (optional): a label such as `Review reward`, shown in your credit logs.
     * **Notify Customer**: keep it on to email the customer about the credit (when the Store Credit Credited email is turned on).

***

**🎯 Additional Notes:**

* You can customize the credit amount and expiry per your marketing goals.
* This setup works even if you **only** use the review component from Stamped, not their loyalty suite.
* Dollarback handles store credit natively via the **Shopify Wallet**, giving you more control and transparency.

***

**💬 Need Help?**

Feel free to reach out via the support chat on [Dollarback](https://apps.shopify.com/dollarback). Whether it's reviews, loyalty, membership, or discount workflows — we’ve got you covered.


# Reward Yotpo reviews Using Dollarback

How to Reward Product Reviews with Shopify Store Credit Using Dollarback and Yotpo Reviews Integration

**Introduction**\
This guide walks you through how to integrate [Yotpo: Product Reviews App](https://apps.shopify.com/yotpo-social-reviews) with [Dollarback: Cashback & Loyalty](https://apps.shopify.com/dollarback) using Shopify Flow. After this setup, your store can automatically reward customers with store credit whenever they leave a product review.

{% embed url="<https://youtu.be/Am99rl8SzN4>" %}

***

#### 🛠️ Prerequisites

* Yotpo: Product Reviews App installed and fully configured
* Dollarback: Cashback & Loyalty App installed
* Shopify Flow installed
* Reviewer email must be collected as part of the review
* Dollarback’s **Shopify Flow integration enabled**

***

#### 🔁 Step-by-Step Setup

**1. Enable Shopify Flow Integration in Dollarback**

* Open the Dollarback app
* Go to **Integrations** and click **Set up** on the **Shopify Flow** card
* Click **Enable**, and check that the badge reads **Enabled**. While it is off, Flow still marks the deposit step as successful, but DollarBack gives no credit

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2a2eaee55fe973480b1edf8587cd9d6f048b8883%2Fdb-review-flow-enable-annotated.png?alt=media" alt="The Shopify Flow Integration card in DollarBack with an Enabled badge and a Disable button."><figcaption><p>In DollarBack, open Integrations, click Set up on the Shopify Flow card, and click Enable. The badge then reads Enabled.</p></figcaption></figure>

{% hint style="info" %}
Shopify Flow needs a DollarBack plan that includes **Klaviyo, Omnisend, Mailchimp and Flow integrations**. On other plans the button reads **Upgrade to Enable**; see [Choose a plan and start your trial](/dollarback-store-credit/getting-started/choose-a-plan-and-start-your-trial).
{% endhint %}

***

**2. Create a New Flow in Shopify Flow**

* Go to your Shopify Admin → **Flow**
* Create a new workflow
* Set the **trigger**: `Yotpo - New Review Submitted`

> ⚠️ **Note**: Yotpo does *not* pass customer object directly. We'll fetch customer info manually using the reviewer’s email.

***

**3. Get Customer from Email**

* Add a **Get Customer Data** step
* Use the following settings:
  * Query:

    ```graphql
    id: {{reviewerEmail}}
    ```
  * Max results: `1`
  * Sort by: `ID (ascending)`

***

**4. Flatten and Loop Over Result**

* Add a **For Each** loop over the customer array
* Inside the loop, use **DollarBack: Deposit Store Credit v2**
  * **Amount**: ₹100
  * **Currency**: required. Enter your store's currency code, for example `USD`.
  * **Expires After**: the number of days before the credit expires. Leave it empty or enter `0` for credit that never expires.
  * **Offer Title** (optional): a label such as `Review reward`, shown in your credit logs.
  * **Notify Customer**: keep it on to email the customer about the credit (when the Store Credit Credited email is turned on).

***

#### 🎉 That’s It!

Now, every time a customer leaves a review via Yotpo, they’ll automatically receive ₹100 in store credit via Dollarback.

***

#### ❓ Need Help?

Reach out via the chat support inside the Dollarback app. We’re happy to assist if you run into setup issues or flow errors.


# Reward TrustShop reviews Using Dollarback

How to Reward Product Reviews with Shopify Store Credit Using Dollarback and TrustShop Reviews Integration

If you're using **Dollarback: Cashback & Loyalty** alongside **TrustShop: Product Reviews**, you can seamlessly reward customers with store credit when they leave a review—automatically. This guide will walk you through integrating both apps using **Shopify Flow**.

{% embed url="<https://www.youtube.com/watch?v=Yd_-9JJJ8mI>" %}

***

**🛠️ Prerequisites**

Before setting up the flow:

* Ensure **both apps are installed**:
  * [Dollarback](https://apps.shopify.com/dollarback)
  * [TrustShop](https://apps.shopify.com/trustshop)
* Enable Shopify Flow Integration in both apps.

***

**🔌 Step 1: Enable Integrations**

**In Dollarback**

1. Go to the **Dollarback app** in your Shopify admin.
2. Navigate to **Integrations** and click **Set up** on the **Shopify Flow** card.
3. Click **Enable**, and check that the badge reads **Enabled**. While it is off, Flow still marks the deposit step as successful, but DollarBack gives no credit.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2a2eaee55fe973480b1edf8587cd9d6f048b8883%2Fdb-review-flow-enable-annotated.png?alt=media" alt="The Shopify Flow Integration card in DollarBack with an Enabled badge and a Disable button."><figcaption><p>In DollarBack, open Integrations, click Set up on the Shopify Flow card, and click Enable. The badge then reads Enabled.</p></figcaption></figure>

{% hint style="info" %}
Shopify Flow needs a DollarBack plan that includes **Klaviyo, Omnisend, Mailchimp and Flow integrations**. On other plans the button reads **Upgrade to Enable**; see [Choose a plan and start your trial](/dollarback-store-credit/getting-started/choose-a-plan-and-start-your-trial).
{% endhint %}

**In TrustShop**

1. Go to the **TrustShop** app.
2. Navigate to `Settings > Integrations`.
3. Under “Shopify Flow,” click **Integrate Now**.
   * Most stores will find this pre-enabled.

***

**🔁 Step 2: Create a Shopify Flow Automation**

1. Open **Shopify Flow** and create a new flow.
2. Set **trigger**:
   * **TrustShop: New Review Received**
3. Add **Action**:
   * Choose **Get Customer Data**
   * Sort by ID: Ascending
   * Limit results: 1
   * In “Query,” choose **Advanced** and type:

     ```
     id: {{ email }}
     ```
   * (This uses the email sent by TrustShop to identify the customer.)
4. Add a **For Loop**:
   * Input: Output of “Get Customer Data”
   * For each item:
     * Add **Action**: **Deposit Store Credit v2**
     * Configure:
       * **Amount**: e.g., ₹50.
       * **Currency**: required. Enter your store's currency code, for example `USD`.
       * **Expires After**: the number of days before the credit expires. Leave it empty or enter `0` for credit that never expires.
       * **Offer Title** (optional): a label such as `Review reward`, shown in your credit logs.
       * **Notify Customer**: keep it on to email the customer about the credit (when the Store Credit Credited email is turned on).

***

{% hint style="warning" %}
**⚠️ Note:**

TrustShop doesn’t send full customer objects, the workaround using email-based filtering (as shown above) ensures compatibility.
{% endhint %}

***

**✅ That's It!**

Your store is now set up to **automatically issue store credit** whenever a customer leaves a review through TrustShop.

If you face any issues or have questions, reach out to our support team through the Dollarback app dashboard.


# Reward EasyReviews with Store credit Using Dollarback

How to Reward Product Reviews with Shopify Store Credit Using Dollarback and EasyReviews Integration

Reward your customers for leaving product reviews with store credit using the integration between **Dollarback: Cashback & Loyalty** and **EasyReviews ‑ Product Reviews**. This guide will walk you through creating an automated Shopify Flow that deposits store credit when a customer submits a review.

{% embed url="<https://youtu.be/gF89FitiZGA>" %}

***

#### 🔧 **Pre-requisites:**

Before starting:

* Install and configure both apps:
  * [Dollarback: Cashback & Loyalty](https://apps.shopify.com/dollarback)
  * [EasyReviews ‑ Product Reviews](https://apps.shopify.com/easyreviews)
* Shopify Flow must be installed and active on your store.

***

#### 🛠️ **Step-by-Step Integration Guide:**

**Step 1: Enable Shopify Flow Integration in Dollarback**

1. Open the **Dollarback** app.
2. Go to **Integrations**.
3. On the **Shopify Flow** card, click **Set up**.
4. Click **Enable**, and check that the badge reads **Enabled**. While it is off, Flow still marks the deposit step as successful, but DollarBack gives no credit.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2a2eaee55fe973480b1edf8587cd9d6f048b8883%2Fdb-review-flow-enable-annotated.png?alt=media" alt="The Shopify Flow Integration card in DollarBack with an Enabled badge and a Disable button."><figcaption><p>In DollarBack, open Integrations, click Set up on the Shopify Flow card, and click Enable. The badge then reads Enabled.</p></figcaption></figure>

{% hint style="info" %}
Shopify Flow needs a DollarBack plan that includes **Klaviyo, Omnisend, Mailchimp and Flow integrations**. On other plans the button reads **Upgrade to Enable**; see [Choose a plan and start your trial](/dollarback-store-credit/getting-started/choose-a-plan-and-start-your-trial).
{% endhint %}

***

**Step 2: Setup Flow in Shopify Flow Using EasyReviews**

1. Open **Shopify Flow**.
2. Create a new flow and choose the **trigger**:
   * **“Product review received”** (this is from EasyReviews).
3. Add the **“Get customer data”** action:
   * Since the trigger doesn’t provide full customer/order data, use the email address to fetch it.
   * Use the advanced query:

     ```
     id: {{customerEmail}}
     ```
   * Sort by `id` in ascending order.
4. Add a **"For Each"** loop:
   * Loop over the returned customer data (e.g., `item in customerData`).
5. Add the **Deposit Store Credit v2** action from **DollarBack** inside the loop:
   * **Amount**: e.g., 100.
   * **Currency**: required. Enter your store's currency code, for example `USD`.
   * **Expires After**: the number of days before the credit expires. Leave it empty or enter `0` for credit that never expires (e.g., `30` for 30 days).
   * **Offer Title** (optional): a label such as `Review reward`, shown in your credit logs.
   * **Notify Customer**: keep it on to email the customer about the credit (when the Store Credit Credited email is turned on).

***

#### ✅ **Optional Enhancements:**

* Add filters such as:
  * Only reward reviews with a rating above 4 stars.
  * Only reward VIP customers.
  * Cap the number of credits per month.

***

#### 🧠 **Need Help?**

For custom workflows or advanced logic, reach out to the Dollarback team through the in-app support chat.

***

#### 🔗 **Related Links**

* [Dollarback App on Shopify](https://apps.shopify.com/dollarback)
* [EasyReviews App on Shopify](https://apps.shopify.com/easyreviews)


# Reward Junip Reviews with Store credit Using Dollarback

How to Reward Product Reviews with Shopify Store Credit Using Dollarback and Junip Integration

This guide explains how to integrate the **Junip – Product Reviews App** with **Dollarback: Cashback & Loyalty** to automatically reward customers with store credit when they leave a product review on your Shopify store.

{% embed url="<https://youtu.be/_B0SeTP07ZA>" %}

***

**Steps to Set Up the Integration**

**Step 1: Install Both Apps**

Make sure both of these apps are installed and set up on your Shopify store:

* [Dollarback: Cashback & Loyalty](https://apps.shopify.com/dollarback)
* [Junip – Product Reviews App](https://apps.shopify.com/junip)

**Step 2: Enable Shopify Flow in Junip**

1. Open the **Junip** app from your Shopify Admin.
2. Click into the **Junip Admin** panel.
3. Navigate to the **Flows** section.
4. Look for **“Send messages through your preferred third party app”**.
5. Enable the **Shopify Flow integration** and ensure it shows as *Connected* to your store.

**Step 3: Enable Shopify Flow Integration in Dollarback**

1. Go to the **Dollarback** app dashboard.
2. Head to **Integrations** and click **Set up** on the **Shopify Flow** card.
3. Click **Enable**, and check that the badge reads **Enabled**.
   * ⚠️ It is off by default. While it is off, Flow still marks the deposit step as successful, but DollarBack gives no credit.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-2a2eaee55fe973480b1edf8587cd9d6f048b8883%2Fdb-review-flow-enable-annotated.png?alt=media" alt="The Shopify Flow Integration card in DollarBack with an Enabled badge and a Disable button."><figcaption><p>In DollarBack, open Integrations, click Set up on the Shopify Flow card, and click Enable. The badge then reads Enabled.</p></figcaption></figure>

{% hint style="info" %}
Shopify Flow needs a DollarBack plan that includes **Klaviyo, Omnisend, Mailchimp and Flow integrations**. On other plans the button reads **Upgrade to Enable**; see [Choose a plan and start your trial](/dollarback-store-credit/getting-started/choose-a-plan-and-start-your-trial).
{% endhint %}

**Step 4: Create the Flow in Shopify Flow**

1. Open the **Shopify Flow** app.
2. Create a new Flow with the following logic:
   * **Trigger**: *Customer leaves a review (via Junip)*
   * **Action**: *DollarBack: Deposit Store Credit v2*
3. Set:
   * **Amount**: ₹100 (or any amount of your choice)
   * **Currency**: required. Enter your store's currency code, for example `USD`.
   * **Expires After**: the number of days before the credit expires. Leave it empty or enter `0` for credit that never expires.
   * **Offer Title** (optional): a label such as `Review reward`, shown in your credit logs.
   * **Notify Customer**: keep it on to email the customer about the credit (when the Store Credit Credited email is turned on).

**Step 5: Test the Integration**

Submit a test review through Junip and verify that store credit is deposited into the customer’s account via Dollarback.

***

**Need Help?**\
If you run into any issues or need support setting up the integration, don’t hesitate to reach out to the **Dollarback** team via in-app chat or support email.


# Analytics, Data & Account

Metrics, the activity ledger, exports, bulk import, and billing.

* [Understand your analytics](/dollarback-store-credit/analytics-data-and-account/understand-your-analytics)
* [Activity: credit logs & scheduled rewards](/dollarback-store-credit/analytics-data-and-account/credit-logs-and-scheduled-rewards)
* [Referral analytics](/dollarback-store-credit/analytics-data-and-account/referral-analytics)
* [Export balances & reports](/dollarback-store-credit/analytics-data-and-account/export-balances-and-reports)
* [Bulk import credit (CSV)](/dollarback-store-credit/analytics-data-and-account/bulk-import-credit-csv)
* [B2B store credit](/dollarback-store-credit/analytics-data-and-account/b2b-store-credit)
* [Move a customer's balance to their company location](/dollarback-store-credit/analytics-data-and-account/move-balance-to-company-location)
* [Admin blocks on the customer & order pages](/dollarback-store-credit/analytics-data-and-account/admin-blocks-customer-and-order-pages)
* [Plans, usage & overage billing](/dollarback-store-credit/analytics-data-and-account/plans-usage-and-overage-billing)

Building on the API instead? See [Developer Tools](/dollarback-store-credit/developer-tools).


# Understand your analytics

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

This page explains every number on the Analytics page: what each card and chart measures, the exact definitions behind the stats, and why some figures can legitimately disagree with each other.

Open **DollarBack admin → Analytics**. The page has four tabs: **Overview**, **Campaigns**, **Referrals**, and **Activity**. This article covers the page-level controls plus the **Overview** and **Campaigns** tabs. The Referrals tab is covered in [Referral analytics](/dollarback-store-credit/analytics-data-and-account/referral-analytics) and the Activity tab in [Activity: credit logs & scheduled rewards](/dollarback-store-credit/analytics-data-and-account/credit-logs-and-scheduled-rewards).

## Page controls

* **Date range picker**: presets for **Today**, **Yesterday**, **Last 7 days**, **Last 30 days**, **Last 90 days**, **Last 365 Days**, and **Custom**. The default is the last 30 days, and a range can span up to a year. Every card and chart respects it.
* **Currency switcher**: scopes all figures to one currency. Multi-currency stores should check each currency separately; figures are never mixed across currencies. The one exception is the Referrals tab, which reports in your store currency only (see [Referral analytics](/dollarback-store-credit/analytics-data-and-account/referral-analytics)).
* **Freshness note**: the header shows "Latest activity processed" with how recently data landed. New orders and credits flow into analytics within a few minutes; if a test order isn't showing yet, check this note before investigating anything else.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-a858dd78fab9fc54db82fe235b37bf077d9341f4%2Fdb-analytics-overview-controls-annotated.png?alt=media" alt="Dollarback Analytics Overview tab with the tab bar, the &#x22;Latest activity processed&#x22; note, the currency switcher, the date range button and the first two rows of metric cards."><figcaption><p>The page controls at the top of Analytics apply to every card and chart on the tab.</p></figcaption></figure>

## Overview: the headline cards

Each card shows the value for the selected range, a small trend sparkline, and a percentage badge comparing against the previous period of the same length.

| Card                        | What it measures                                                                                                                                                                                                                                                                                         |
| --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Cashback issued**         | All store credit added in this period except bulk imports: cashback from orders, plus manual credit, Shopify Flow deposits and bonus rewards such as signup, birthday and referral rewards. **Excludes bulk imports.** (The card's tooltip says "from cashback rules", but the other sources count too.) |
| **Credit redeemed**         | Store credit customers spent on orders in this period.                                                                                                                                                                                                                                                   |
| **Return per $1 redeemed**  | Order revenue on orders where credit was spent, per $1 of credit. The headline "is this program paying for itself" number: $8 means every dollar of redeemed credit sat inside $8 of order revenue.                                                                                                      |
| **Effective discount rate** | Credit redeemed as a share of total order revenue. Lower is better; it's what your cashback program costs you expressed like a discount.                                                                                                                                                                 |

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-0906ddb2668bea6ccd870be3137a0db032de63ca%2Fdb-p2-ga-analytics-cashback-tooltip-annotated.png?alt=media" alt="The four headline cards on the Analytics Overview tab, Cashback issued, Credit redeemed, Return per $1 redeemed and Effective discount rate, with the Cashback issued tooltip open: Store credit issued from cashback rules in this period (excludes bulk imports)."><figcaption><p>Hover a card’s title to see a short definition of the figure.</p></figcaption></figure>

## Overview: the adoption row

| Card                        | What it measures                                                                                                                                                       |
| --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Orders earning cashback** | Share of orders that earned store credit. Counted against the day the order was placed, so it may update as delayed rewards finalize.                                  |
| **Orders paid with credit** | Share of orders where a customer spent store credit.                                                                                                                   |
| **AOV with credit**         | Average order value when credit is spent, with the all-orders average shown underneath for comparison. Credit-spending customers typically order more.                 |
| **Redemption rate**         | Credit redeemed this period as a share of all credit added this period, including imports. Can exceed 100% when customers spend credit they earned in earlier periods. |

## Overview: Issued vs redeemed

A daily chart with three series: **Issued**, **Redeemed**, and **Recovered**. A widening gap between issued and redeemed means credit is being earned faster than it's spent; that credit isn't wasted, but it is accumulating as liability (see the next section).

## Overview: Outstanding liability

This section answers "how much credit is out there?"

* **Outstanding store credit**: the estimated total of unspent, unexpired credit across all customers. This is a nightly snapshot (the card shows "Estimated · as of" a date), not a range-filtered figure.
* **Expiring in 30 / 60 / 90 days**: how much of that outstanding credit expires in each window. A large 30-day number is a re-engagement opportunity; see [Credit expiry & reminders](/dollarback-store-credit/spending-store-credit-and-rewards/credit-expiry-and-reminders).
* **Scheduled credits (next 8 weeks)**: committed order cashback waiting out a holding period before it is issued, grouped by week. Upcoming birthday rewards are not included. See [Activity: credit logs & scheduled rewards](/dollarback-store-credit/analytics-data-and-account/credit-logs-and-scheduled-rewards) for the row-level queue.
* If any scheduled credits failed to issue, a banner appears here with a **Review in Activity** button.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-1c48f5d77c46b32d37cc3d19d825f4bdfe9a9a6f%2Fdb-analytics-overview-liability-annotated.png?alt=media" alt="The Outstanding liability card with a $128.68 estimate and three expiry windows, an empty Scheduled credits chart, and the Cashback recovered card with $14.00 split into Order edits, Refunds and Cancellations."><figcaption><p>Outstanding liability shows how much unspent credit your customers hold; Cashback recovered shows what clawbacks saved you.</p></figcaption></figure>

## Overview: Cashback recovered

When orders are edited, refunded, or cancelled, DollarBack automatically claws back the cashback they earned. This section shows what that automation saved you: the total recovered, a badge expressing it as a share of issued cashback (low single digits is healthy), and a breakdown by cause: **Order edits**, **Refunds**, and **Cancellations**.

**Pending recovery** shows customers whose credit was already spent when the clawback hit, leaving a balance DollarBack still needs to recover. It's recovered automatically from each customer's next cashback. This figure is a current total, not limited to the selected dates.

## Overview: Customer behavior

* **Repeat earners**: share of earning customers who earned cashback on more than one order in the period.
* **Earners who redeem**: share of earning customers who also spent store credit in the period.
* **Median days to first redemption**: the typical gap between a customer's first credit and their first spend, for customers who did both.
* A **Customers** table lists the 10 customers who spent the most store credit in the selected period, with the amount each one **Earned** and **Spent**. Click a customer's email to see their spending in the Activity tab. On very large stores the stats are based on the 50,000 most active customers.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-84c32a0e410eb036b34084b80e77a630e1208dd2%2Fdb-p2-ga-analytics-customers-annotated.png?alt=media" alt="The Customer behavior section with the Repeat earners, Earners who redeem and Median days to first redemption cards, and a table of the customers who spent the most store credit, with Earned and Spent columns."><figcaption><p>Customer behavior shows how earners come back, and which customers spent the most credit.</p></figcaption></figure>

## The Campaigns tab

Campaigns is the per-program view: every cashback config and discount-code program, what it costs, and what it brings in.

| Card                       | What it measures                                                                                                                                                                                            |
| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Campaign cost**          | Total credit and discount-code value across all campaigns in this period.                                                                                                                                   |
| **Attributed order value** | Order revenue attributed to store-credit campaigns in this period. Orders touched by multiple campaigns count once, and attribution follows the order's date, so it may update as delayed rewards finalize. |
| **Code conversion**        | Discount codes used as a share of codes issued.                                                                                                                                                             |
| **Discount value given**   | Total discount amount applied by used codes in this period.                                                                                                                                                 |

Two charts follow: **Cost per campaign** (your top 10 campaigns by cost) and **Credit issued by campaign over time** (daily issuance for the top 5 campaigns, with the rest grouped as Other).

The campaign table lists every program with **Type** (Store credit or Discount code), **Cost**, **Attributed order value**, **Revenue per $1**, and the code columns (**Codes issued**, **Codes used**, **Conversion**). Click a campaign name to jump to the [Activity log](/dollarback-store-credit/analytics-data-and-account/credit-logs-and-scheduled-rewards) filtered to that campaign's transactions.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-cf591d4b18312b53aa1f8d172a42eaa2d7622010%2Fdb-analytics-campaigns-table-annotated.png?alt=media" alt="The Campaigns tab table listing each campaign with its type badge, cost, attributed order value, revenue per $1, codes issued, codes used and conversion."><figcaption><p>The campaign table compares what each program costs with the revenue it brings in.</p></figcaption></figure>

## Why the numbers can differ

* **Bulk imports**: [imported credit](/dollarback-store-credit/analytics-data-and-account/bulk-import-credit-csv) is real liability, but it wasn't generated by any campaign and has no order behind it. So it appears in the Activity log, in Outstanding store credit, and in the **Redemption rate** denominator, but it is excluded from **Cashback issued** and from all campaign figures. Manual credit and Flow deposits, by contrast, do count in **Cashback issued**, and show as their own rows (**Manual credit**, **Shopify Flow**) in the Campaigns tab.
* **Only store revenue is net of refunds**: your total store revenue deducts refunded amounts. It is used for **Effective discount rate**, the all-orders average under **AOV with credit**, and the Referrals tab's **Share of store revenue**. Order values tied to credit (**Return per $1 redeemed**, **AOV with credit**, **Attributed order value**, and referred revenue) use the order total when the credit was issued or spent, and later refunds don't reduce them.
* **Delayed rewards**: holding periods mean an order can earn its credit days after it was placed. Order-cohorted stats (Orders earning cashback, Attributed order value) backfill onto the order's date as rewards finalize.

## Common issues

* A test order isn't showing: check the "Latest activity processed" note in the header and give it a few minutes.
* Everything shows zero: check the currency switcher; you may be viewing a currency with no data in the selected range.
* Cashback issued looks lower than the credit you know you've added: bulk imports are excluded from that card (see above).
* Cashback issued looks higher than your cashback programs paid: the card also counts manual credit, Flow deposits and bonus rewards.
* Credit was issued but the customer says they never got it: see [A customer didn't receive cashback](/dollarback-store-credit/troubleshooting-and-faq/customer-didnt-receive-cashback).

## Related articles

* [Activity: credit logs & scheduled rewards](/dollarback-store-credit/analytics-data-and-account/credit-logs-and-scheduled-rewards)
* [Referral analytics](/dollarback-store-credit/analytics-data-and-account/referral-analytics)
* [Export balances & reports](/dollarback-store-credit/analytics-data-and-account/export-balances-and-reports)
* [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated)


# Activity: credit logs & scheduled rewards

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

*This article's section starts partway into a longer walkthrough video.*

The **Activity** tab is your audit trail: every credit and debit, every clawback, every discount code your programs have issued, every referral, and every reward waiting to be paid out, all in one ledger.

Open **DollarBack admin → Analytics → Activity**. The [date range and currency pickers](/dollarback-store-credit/analytics-data-and-account/understand-your-analytics) apply here too, with one exception: the **Scheduled** view is an all-time queue, because pending rewards have credit dates in the future.

## The activity types

Filter the ledger with the type tabs: **Credits earned**, **Credit spent**, **Scheduled**, **Discount codes**, **Referrals**, and **Clawbacks**. Each type shows the columns that matter for it:

| Type               | Columns                                                               |
| ------------------ | --------------------------------------------------------------------- |
| **Credits earned** | Customer, Order, Campaign, Cashback, Type, Order total, Date, Expires |
| **Credit spent**   | Customer, Order, Campaign, Spent, Order total, Date                   |
| **Scheduled**      | Customer, Order, Amount, Status, Credit date                          |
| **Discount codes** | Customer, Order, Campaign, Code, Reward, Event, Date                  |
| **Referrals**      | Date, Referrer, Reward, Referee, Order, Order total, Type, Campaign   |
| **Clawbacks**      | Customer, Order, Campaign, Amount, Reason, Date                       |

Customers and orders are linked to Shopify admin throughout, and clicking any row opens an **Activity detail** panel with the full record.

## Working the ledger

* **Search**: by customer, order ID, or code (the field reads "Search by customer, order ID, code...").
* **Sort**: **Newest first**, **Oldest first**, **Amount: high to low**, **Amount: low to high**.
* **Campaign filter**: there is no campaign menu on this tab. When you click a campaign name on the [Campaigns tab](/dollarback-store-credit/analytics-data-and-account/understand-your-analytics), Activity opens filtered to that campaign and shows a **Campaign:** tag next to the sort menu; click the tag's **×** to clear it. The filter doesn't apply to the **Scheduled** view. Clicking a referrer on the [Referrals tab](/dollarback-store-credit/analytics-data-and-account/referral-analytics) opens the **Referrals** view searched for that referrer.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-ce26230f0d2229feeb1137374b29268c2df790df%2Fdb-activity-ledger-credits-annotated.png?alt=media" alt="The Activity tab with six type tabs, a search field, a sort menu and a table of credits earned showing customer, order, campaign, cashback, type, order total, date and expiry."><figcaption><p>The Activity tab is the ledger of every credit, debit, code and referral; filter it by type, search it, and sort it.</p></figcaption></figure>

This is where you verify the engine's math: find the order, compare the amount against what you expected, and check the Campaign column to see which program won.

## Credits earned and Credit spent

**Credits earned** lists every credit issued: cashback from orders, signup and birthday rewards, manual credits, Shopify Flow deposits, and bulk imports, with the expiry date where one was set. **Credit spent** lists every user-initiated debit: credit spent at checkout and reward-marketplace redemptions. Between the two, a customer's full history is reconstructable.

## Clawbacks

Clawbacks are automatic recoveries, each with a **Reason**: **Order edited**, **Order refunded**, **Order cancelled**, or **Referral order edited**. The Overview tab's [Cashback recovered section](/dollarback-store-credit/analytics-data-and-account/understand-your-analytics) totals these up; this view has the row-level detail.

## Scheduled

The **Scheduled** view lists order cashback that has been earned but is held until your [holding period](/dollarback-store-credit/earning-cashback-programs/when-credit-is-issued) ends.

{% hint style="info" %}
Upcoming birthday rewards are not listed here or anywhere else in the admin. They are paid on the customer's birthday and then appear under **Credits earned**.
{% endhint %}

Filter by status with the **Status** menu (it appears only on this view): **All statuses**, **Pending**, **Processing**, **Sent**, **Credited**, **Completed**, **Denied**, or **Failed**.

* **Pending** is normal: the holding period hasn't ended yet, and the **Credit date** column shows when it's due.
* **Denied** means the hold ended and nothing was paid, by design. Either the order was cancelled (or has no items left) during the hold, or recalculating the order at release found no program to pay from, for example because the program's end date passed during the hold.
* **Failed** means the payout didn't complete; check the customer still exists and contact support if it doesn't self-resolve.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-f9b2cd329bf187f62ed14bfa3867ba6025673e02%2Fdb-p2-ga-activity-scheduled-annotated.png?alt=media" alt="The Scheduled view of the Activity tab with the Status menu set to All statuses next to the search field and the sort menu. No rows are scheduled."><figcaption><p>The Scheduled view has its own Status menu. Pending rows show the date the credit is due.</p></figcaption></figure>

## Discount codes

If any of your programs pay out discount codes (either a cashback config set to reward a code instead of credit, or the reward marketplace), the **Discount codes** view tracks them. The **Event** column is badged:

* **Earned**: the code was issued by a cashback config.
* **Redeemed**: the code was minted from the reward marketplace (credit was debited for it).
* **Used**: the code was applied at checkout on an order.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-58480a0818c82d031c298f1b7785b462f3877f8a%2Fdb-activity-discount-codes-annotated.png?alt=media" alt="The Discount codes view of Activity, listing reward codes with their campaign, reward type and an Event badge of Redeemed, Used or Earned."><figcaption><p>Each reward code gets a row when it is issued and another when it is used at checkout.</p></figcaption></figure>

One code typically produces two rows over its life: an Earned or Redeemed row when it's issued, and a Used row when it's spent. Aggregate code stats (issuance, conversion, discount value given) live on the [Campaigns tab](/dollarback-store-credit/analytics-data-and-account/understand-your-analytics).

## Referrals

Every referred order gets a row: referrer, referee, the reward paid, and the campaign that matched. Reversed commissions (from refunded or edited referred orders) are badged **Reversal**. Aggregates live on the [Referrals tab](/dollarback-store-credit/analytics-data-and-account/referral-analytics).

## Export balances

The **Export balances** button above the ledger emails you a CSV of every customer's current balance; see [Export balances & reports](/dollarback-store-credit/analytics-data-and-account/export-balances-and-reports).

## Common issues

* A transaction from moments ago isn't listed: analytics data lands within a few minutes; check the "Latest activity processed" note in the header.
* A customer's credit shows under Scheduled but not in their balance: that's a holding period doing its job; see [When credit is issued](/dollarback-store-credit/earning-cashback-programs/when-credit-is-issued).
* An issued code was never used and the customer says it doesn't work: see [A reward discount code isn't working](/dollarback-store-credit/troubleshooting-and-faq/reward-discount-code-isnt-working).
* A customer expected credit but there's no row at all: see [A customer didn't receive cashback](/dollarback-store-credit/troubleshooting-and-faq/customer-didnt-receive-cashback).

## Related articles

* [Understand your analytics](/dollarback-store-credit/analytics-data-and-account/understand-your-analytics)
* [When credit is issued](/dollarback-store-credit/earning-cashback-programs/when-credit-is-issued)
* [Reward discount codes instead of store credit](/dollarback-store-credit/earning-cashback-programs/reward-discount-codes-instead-of-store-credit)
* [Refunds, cancellations & order edits](/dollarback-store-credit/spending-store-credit-and-rewards/refunds-cancellations-and-order-edits)


# Referral analytics

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

*This article's section starts partway into a longer walkthrough video.*

The **Referrals** tab shows what your referral program is earning you: revenue from referred orders, who your best referrers are, and what you're paying out in commissions.

Open **DollarBack admin → Analytics** and switch to the **Referrals** tab. The [date range picker](/dollarback-store-credit/analytics-data-and-account/understand-your-analytics) at the top of the page applies here too. Referral figures are reported in your store's base currency, so set the currency switcher to your store currency.

## The cards

Each card shows a percentage badge comparing against the previous period of the same length.

| Card                       | Definition                                                                                                                                                                                      |
| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Referred revenue**       | Order revenue from orders that used a referral in the range, with the average per referred order shown underneath.                                                                              |
| **Referred orders**        | Orders placed through a referral, with the average per day underneath.                                                                                                                          |
| **Active referrers**       | Distinct referrers who drove at least one order in the range, with the average orders per referrer underneath.                                                                                  |
| **Referral payout**        | Commissions paid to referrers in the range.                                                                                                                                                     |
| **Cost per referred $1**   | Referrer commissions paid per $1 of referred revenue. Lower is better; this is what each referred dollar costs you.                                                                             |
| **Share of store revenue** | Referred revenue as a share of total store revenue in the range. Store revenue is net of refunds but referred revenue is not, so stores with many refunds see a higher share than the true one. |

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-01246b7d317c20ba8aabad82ae34662c178da103%2Fdb-referral-analytics-cards-annotated.png?alt=media" alt="Six referral metric cards: Referred revenue, Referred orders, Active referrers, Referral payout, Cost per referred $1 and Share of store revenue."><figcaption><p>The Referrals tab shows what your referral program brings in and what it pays out.</p></figcaption></figure>

All figures are **gross**: referred revenue is the referred order's total when the referral was rewarded, and refunds or edits after that don't reduce it or the commission counts. Reversals show in the referral log instead (below).

## The charts

* **Referred revenue**: referred-order revenue by day.
* **Revenue by referral program**: your top 10 referral programs by attributed order revenue, useful when you [run multiple referral configs](/dollarback-store-credit/referral-program/run-multiple-referral-configs).

## Top referrers

The **Top referrers** table lists your 10 referrers with the most referred revenue in the range, with **Orders**, **Revenue**, and **Commission** per referrer. Click a referrer to open the **Referrals** view of the [Activity log](/dollarback-store-credit/analytics-data-and-account/credit-logs-and-scheduled-rewards), searched for that referrer.

## The referral log

The row-level log of every referred order lives in the **Activity** tab, under its **Referrals** filter: date, referrer, reward, referee, order, order total, and the campaign that matched, with each customer and order linked to Shopify admin. Referral clawbacks (from refunded or edited referred orders) appear there with a **Reversal** badge. See [Activity: credit logs & scheduled rewards](/dollarback-store-credit/analytics-data-and-account/credit-logs-and-scheduled-rewards).

## Scoping

* **Date range**: defaults to the last 30 days; widen it before concluding your program is quiet.
* **Currency**: referral figures are in your store's base currency. Orders placed in other currencies are converted and counted there, so you don't need to check each currency. With another currency selected, the tab shows no referral data.
* **Freshness**: a referral that just completed can take a few minutes to appear; check the "Latest activity processed" note in the header.

## Common issues

* A referral you just tested isn't showing: give it a few minutes, check the date range, and check that the currency switcher is on your store currency.
* An order you expected to be attributed isn't in the log: the referral code wasn't on the order; see [A referral wasn't tracked](/dollarback-store-credit/troubleshooting-and-faq/referral-wasnt-tracked).
* Revenue or commission didn't drop after a referred order was refunded: the figures are gross. Check the referral log for a **Reversal** row.
* A single commission amount looks "wrong": rewards convert to the referrer's own currency; see [How referral rewards are calculated & tracked](/dollarback-store-credit/referral-program/how-referral-rewards-are-calculated-and-tracked).

## Related articles

* [How referral rewards are calculated & tracked](/dollarback-store-credit/referral-program/how-referral-rewards-are-calculated-and-tracked)
* [Run multiple referral configs](/dollarback-store-credit/referral-program/run-multiple-referral-configs)
* [Understand your analytics](/dollarback-store-credit/analytics-data-and-account/understand-your-analytics)
* [Referral conditions & limits](/dollarback-store-credit/referral-program/referral-conditions-and-limits)


# Export balances & reports

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

*This article's section starts partway into a longer walkthrough video.*

When you're done, you'll have a CSV of every customer's store-credit balance in your inbox. It's the report you need for accounting, migration audits, or a pre-uninstall snapshot.

## Send the export

1. Open **DollarBack admin → Analytics** and switch to the **Activity** tab.
2. Click **Export balances** above the ledger. The **Export store credit balances** dialog opens.
3. Enter the destination in the **Email address** field; it can be any address, not just the store owner's. An address that isn't a valid email is refused with "Invalid email address", and nothing is sent.
4. Click **Send report**. A confirmation appears: "We'll send the report once it's ready."
5. The export is generated in the background and emailed as a CSV attachment. Large customer bases take longer; the email arrives when generation finishes, not instantly.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-e15d48ecaa1031670aae82f073484cea94377edf%2Fdb-p2-ga-export-balances-modal-annotated.png?alt=media" alt="The Export store credit balances dialog with an Email address field and the Close and Send report buttons." width="560"><figcaption><p>Enter any email address and click Send report. The CSV arrives by email.</p></figcaption></figure>

## What the export contains

The report is a full customer balance export: every customer with store credit, with their current balance and currency. It reflects live balances at the moment of generation.

{% hint style="info" %}
Credit that is still in its holding period isn't in the export: it isn't spendable balance yet. To see it, open the **Scheduled** view of the [Activity tab](/dollarback-store-credit/analytics-data-and-account/credit-logs-and-scheduled-rewards).
{% endhint %}

## When to use it

* **Reconciliation**: your total outstanding credit is a liability; accountants will ask for this file. For a quick on-screen figure, the Overview tab's [Outstanding liability section](/dollarback-store-credit/analytics-data-and-account/understand-your-analytics) shows the estimated total and what's expiring soon.
* **Migration audits**: after a [bulk import](/dollarback-store-credit/analytics-data-and-account/bulk-import-credit-csv) (for example when [migrating from another loyalty app](/dollarback-store-credit/getting-started/migrating-from-another-loyalty-app)), export and spot-check that balances landed as expected.
* **Before uninstalling**: take a snapshot of balances first; see [What happens when I uninstall?](/dollarback-store-credit/troubleshooting-and-faq/what-happens-when-i-uninstall).
* **Sharing**: the export goes to any email address, so you can send it straight to a bookkeeper or agency without giving them admin access.

## Verify it works

Send a report to your own address and open the attachment. You should recognize your test customers and their balances. If the email doesn't arrive within a reasonable time, check spam, then confirm the address was typed correctly and send again.

## Common issues

* "Invalid email address" under the field: the address isn't in a valid email format; correct it and click **Send report** again.
* "Failed to send report. Please try again.": the report couldn't be queued; try again in a moment.
* The email never arrived: check spam and the address spelling; then see [Emails aren't arriving](/dollarback-store-credit/troubleshooting-and-faq/emails-arent-arriving).
* A balance looks lower than expected: held (pending) credit isn't spendable balance; check the customer's rows in [Activity: credit logs & scheduled rewards](/dollarback-store-credit/analytics-data-and-account/credit-logs-and-scheduled-rewards).

## Related articles

* [Understand your analytics](/dollarback-store-credit/analytics-data-and-account/understand-your-analytics)
* [Bulk import credit (CSV)](/dollarback-store-credit/analytics-data-and-account/bulk-import-credit-csv)
* [Migrating from another loyalty app](/dollarback-store-credit/getting-started/migrating-from-another-loyalty-app)
* [What happens when I uninstall?](/dollarback-store-credit/troubleshooting-and-faq/what-happens-when-i-uninstall)


# Bulk import credit (CSV)

{% hint style="info" %}
**Plan:** bulk import is a plan-gated feature; check your plan's feature list. It is also blocked entirely on development stores.
{% endhint %}

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

*This article's section starts at 0:00 in the video.*

When you're done, you'll have credited (or debited) store credit for a whole list of customers from one CSV file. It's the tool for migrations, compensation batches, and B2B credit. This article is the full contract: the exact file format, how jobs run, and how errors are handled.

## Prerequisites

* A plan that includes bulk import (see [Plans, usage & overage billing](/dollarback-store-credit/analytics-data-and-account/plans-usage-and-overage-billing)).
* A live store; imports are blocked on development stores.
* Your customers already exist in Shopify; the import matches rows to existing customers, it doesn't create them.

## The CSV format

| Header              | Required                  | Notes                                                                                                                                                                                                                                                                                                                                                                                    |
| ------------------- | ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Amount`            | Yes                       | Positive number. Quoted fields and thousand separators are handled: `"8,260.90"` parses fine.                                                                                                                                                                                                                                                                                            |
| `Currency`          | Yes                       | The currency code for the row's amount. The column must exist; a row with an empty value is read as `USD`.                                                                                                                                                                                                                                                                               |
| `Email`             | One of Email / CustomerId | Matches the Shopify customer by email.                                                                                                                                                                                                                                                                                                                                                   |
| `CustomerId`        | One of Email / CustomerId | Matches by Shopify customer ID. **When both are present, CustomerId is tried first.** If no customer has that ID, the import tries the email; the row fails only when neither finds a customer.                                                                                                                                                                                          |
| `CompanyLocationId` | B2B mode only             | Required on every row when the job runs in B2B mode; the credit attaches to the company location instead of a customer. Enter the number only (for example `123456789`), not the full `gid://shopify/CompanyLocation/...` ID. The row still needs an Email or CustomerId of an existing customer.                                                                                        |
| `ExpiryDays`        | No                        | Whole days until that row's credit expires. Leave blank to use the job's **Credit expires** setting, or `0` for never. A value that isn't a whole number of 0 or more is ignored, and the row uses the job's setting.                                                                                                                                                                    |
| `ExpiresAt`         | No                        | An exact expiry for that row; it overrides `ExpiryDays`. `2026-12-31` is the end of that day and `2026-12-31 18:00` is that time, both in your store's time zone. A value with an offset, such as `2026-12-31T18:00:00+05:30`, is that exact moment. It must be at least an hour in the future. A value that isn't a date stops the whole file, so nothing is imported until you fix it. |

Header names are not case-sensitive (`email`, `Email` and `EMAIL` all work), columns can be in any order, and columns DollarBack doesn't know are ignored.

Additional constraints:

* **File size:** 5 MB maximum. Split larger files into multiple jobs.
* **Invalid rows are dropped before the job starts.** A row with no email and no customer ID, an amount that isn't a number, or an amount of 0 or less is left out of the job. It doesn't appear in the job log, and it isn't counted in the job's total. Compare the job's total with the number of rows in your file to spot dropped rows. (The note on the page says invalid rows are "skipped and logged"; they are skipped, but not logged.)
* **Amounts are always positive.** Whether the job credits or debits is set on the job, not per row.
* **Duplicates are not deduped.** Two rows for the same customer credit that customer twice. Clean your file before importing.

## Run an import

1. Open **DollarBack admin → Home** and, in the **Quick links** card, click **Open** next to **Bulk import**.
2. In the **Upload CSV File** section, click **Choose CSV File** and select your file.
3. Set **Action Type**: **Credit** or **Debit**.
4. For credits, set **Credit expires**: **Never** (the default), **After a number of days**, or **On a date** (a date and time in your store's time zone). It applies to every credited row, and an `ExpiryDays` or `ExpiresAt` column overrides it per row. The field is disabled for debits; expiry applies to credits only.
5. Choose your toggles:
   * **Notify Customers**, "Send notification email to customers": a credit import sends each customer the **Store Credit Credited** email, and a debit import sends **Store Credit Debited**. Each email goes out only if its template is enabled.
   * **Send to Integrations**, "Send event integrations": emits the credited/debited events to Klaviyo, Omnisend, Mailchimp, and Shopify Flow, exactly as an organic credit would.
   * **B2B Mode**, "Apply store credit to a company location. CSV must include a CompanyLocationId column." See [B2B store credit](/dollarback-store-credit/analytics-data-and-account/b2b-store-credit).
6. Optionally fill in **Reason** (up to 200 characters), for example "Spring migration" or "Delivery delay compensation". It is for your records only: customers don't see it. It is saved with the job and shown in the **Reason** column of **Bulk Import History**.
7. Click **Import CSV**.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-ff81b7ba24c21c43ce84de26ef72f3b73f1b988f%2Fdb-dash-plan-usage-quick-links-annotated.png?alt=media" alt="Two DollarBack home page cards. Plan and usage shows the current plan with a Manage link and the orders this period with a View link. Quick links shows Bulk import and Backfill past orders, each with an Open link."><figcaption><p>Bulk import has no item in the DollarBack menu. Open it from the Quick links card on the home page.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-d35daa1ecfbbad0854d32f948be4a796db71408d%2Fdb-bulk-import-form-annotated.png?alt=media" alt="The Bulk Import page with the Upload CSV File card (Action Type, Credit expires, Notify Customers, Send to Integrations, B2B Mode, Reason, Download Sample CSV, Choose CSV File) and the CSV Format Requirements card."><figcaption><p>Set the action, expiry and options, then choose your CSV; the Import CSV button appears once a file is selected.</p></figcaption></figure>

{% hint style="warning" %}
Think before enabling **Notify Customers** on a large migration import: every row sends an email. For silent migrations, leave it off.
{% endhint %}

## How jobs run

A job moves through: **pending → processing → completed / failed / stopped**.

* **One import at a time.** While a job is pending or processing, the page shows **An import is in progress** and a new upload is refused with "An import is already in progress. Wait for it to finish." Upload the next file when the job finishes, or stop it from **Bulk Import History**.
* **Rows commit individually**, in small batches. There is no all-or-nothing transaction: a job that fails halfway has still applied everything it processed.
* **Stop Import** halts the job but **keeps all rows already processed**. Don't re-run the same file after a stop; the processed customers would be credited again.
* **There is no automatic per-row retry.** A failed row stays failed until you fix it and import a corrected file containing only those rows.
* **Unknown customers don't kill the job.** A row whose CustomerId and Email both match no customer is logged as "Customer not found: " followed by the row's email (or ID), and processing continues with the next row.

## Read the job log

Each job in the history keeps a downloadable log with one entry per processed row (rows dropped before the job started aren't listed):

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-aa669f5ce9ea53ad14527a0a85457247c5fa4214%2Fdb-bulk-import-history-annotated.png?alt=media" alt="The Bulk Import History table with one completed credit import, its progress, success and error counts, start and finish times, and a Download Logs link."><figcaption><p>Every import is listed in the history; download its log to see which rows failed and why.</p></figcaption></figure>

| Log column     | Contents                                                                                                                  |
| -------------- | ------------------------------------------------------------------------------------------------------------------------- |
| Customer ID    | The row's resolved (or attempted) customer ID.                                                                            |
| Customer Email | The row's email.                                                                                                          |
| Action Type    | Credit or debit.                                                                                                          |
| Amount         | The row's amount.                                                                                                         |
| Currency       | The row's currency.                                                                                                       |
| Status         | Whether the row succeeded or failed.                                                                                      |
| Log            | What happened to the row: "Successfully credited …" (or debited), or the reason it failed (e.g. "Customer not found: …"). |
| Timestamp      | When the row was processed.                                                                                               |

## Verify it works

Run a tiny test file first: two or three rows including yourself. After the job completes, check the customers' balances, then confirm the rows also appear in **Analytics → Activity**, under the **Credits earned** view. Remember that imports count toward outstanding liability but are excluded from the Overview's **Cashback issued** card and all campaign figures; see [Understand your analytics](/dollarback-store-credit/analytics-data-and-account/understand-your-analytics).

## Common issues

* Rows failed with "Customer not found", the upload was rejected, or a job stopped early: see [My bulk import failed](/dollarback-store-credit/troubleshooting-and-faq/bulk-import-failed) for the full diagnosis checklist.
* A customer was credited twice: the file contained two rows for them, or the same file was imported twice; duplicates are not deduped.
* The page says bulk import isn't available: plan gate or development store; see the hint at the top.

## Related articles

* [My bulk import failed](/dollarback-store-credit/troubleshooting-and-faq/bulk-import-failed)
* [B2B store credit](/dollarback-store-credit/analytics-data-and-account/b2b-store-credit)
* [Migrating from another loyalty app](/dollarback-store-credit/getting-started/migrating-from-another-loyalty-app)
* [Export balances & reports](/dollarback-store-credit/analytics-data-and-account/export-balances-and-reports)


# B2B store credit

{% hint style="info" %}
**Plan:** B2B store credit is a plan-gated feature; check your plan's feature list.
{% endhint %}

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

\_This article's section starts at 3:13 in the video.\_

When you're done, your B2B buyers' orders will earn store credit for their **company location** instead of the individual buyer, so the credit belongs to the business, whoever places the order.

## Prerequisites

* A plan that includes B2B store credit (see [Plans, usage & overage billing](/dollarback-store-credit/analytics-data-and-account/plans-usage-and-overage-billing)).
* Shopify B2B set up: companies with company locations, and buyers ordering on those locations.

## How B2B credit works

With the setting enabled, an order placed by a B2B buyer on a company location earns credit on the **location**, not on the buyer's personal customer record. Any buyer purchasing on that location can then spend the shared balance at checkout, the same way individual customers spend theirs. Everything else about earning (configs, calculation, triggers, holding periods) behaves as described in [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated).

## Enable it

1. Open **DollarBack admin → Settings** and find the **Advanced** section.
2. Turn on **Give store credit to B2B buyers on company locations**. The help text reads: "B2B buyers placing orders on a company location will earn store credit."
3. Save.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-259cc2529e62e4e71aab1766703fceb724a292f7%2Fdb-settings-advanced-annotated.png?alt=media" alt="The expanded Advanced card in Settings with the order edit tracking and B2B store credit checkboxes and the Exclude customers by tag field." width="560"><figcaption><p>Turn on B2B store credit in the Advanced section of Settings, then click Save Settings at the bottom of the page.</p></figcaption></figure>

## Credit locations in bulk

The [bulk import](/dollarback-store-credit/analytics-data-and-account/bulk-import-credit-csv) has a dedicated B2B mode for crediting or debiting company locations directly:

1. Open **DollarBack admin → Home** and, in the **Quick links** card, click **Open** next to **Bulk import**.
2. Turn on **B2B Mode**: "Apply store credit to a company location. CSV must include a CompanyLocationId column."
3. Your CSV needs the standard columns plus `CompanyLocationId` on **every** row: `CustomerId,Email,CompanyLocationId,Amount,Currency`. Rows missing a `CompanyLocationId` fail in B2B mode.
   * Enter the location ID as the number only, for example `123456789`. The **Download Sample CSV** file shows full IDs (`gid://shopify/CompanyLocation/123456789`); replace those with the number.
   * Each row also needs the `CustomerId` or `Email` of a buyer who already exists as a customer in Shopify. A row whose buyer can't be found fails with "Customer not found", even though the credit goes to the location.
4. Run the import as usual. You'll find each location's ID on the company's location in Shopify admin.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-254d889efa39b502f32f78818456ceb38657a552%2Fdb-bulk-import-form-b2b-annotated.png?alt=media" alt="The Bulk Import page with the B2B Mode switch in the Upload CSV File card."><figcaption><p>Turn on B2B Mode to credit or debit company locations; your CSV then needs a CompanyLocationId column.</p></figcaption></figure>

## Where location balances live

B2B credit is Shopify-native store credit held on the company location. Look it up in **Shopify admin → Customers → Companies**, on the location itself, not on any individual buyer's customer profile. The location's transactions also appear in **DollarBack admin → Analytics → Activity** like any other credit movement.

## Refunds and clawbacks on location credit

A refund, cancellation, or order edit claws back location credit the same way as personal credit. One difference: company locations have no owed-balance safety net. For a personal customer, DollarBack records credit they already spent as [store credit owed](/dollarback-store-credit/analytics-data-and-account/admin-blocks-customer-and-order-pages#store-credit-owed-on-the-customer-page) and takes it from their next cashback. For a location, nothing is recorded as owed, so if the location has already spent the credit, the clawback isn't recovered from future cashback.

## Verify it works

Place a test B2B order as a buyer on a company location (a draft order on the location works too). After the credit trigger fires, check the location in Shopify admin. The balance should be on the location, and a matching row should appear in the transaction logs. Then start a new checkout on that location and confirm store credit is offered as a payment option.

## Common issues

* A B2B buyer earned personal credit instead of location credit: the Advanced setting was off when the order was placed; enabling it isn't retroactive.
* A customer who registered as a business can't spend the cashback they earned before: that balance is still on their personal account. See [Move a customer's balance to their company location](/dollarback-store-credit/analytics-data-and-account/move-balance-to-company-location).
* B2B bulk import rows fail: missing `CompanyLocationId`, a full `gid://` ID instead of the number, or a buyer email or ID that matches no customer; see [My bulk import failed](/dollarback-store-credit/troubleshooting-and-faq/bulk-import-failed).
* Credit doesn't show at checkout for a buyer: confirm the checkout is on the company location that holds the balance; see [Store credit isn't available at checkout](/dollarback-store-credit/troubleshooting-and-faq/store-credit-isnt-available-at-checkout).

## Related articles

* [Move a customer's balance to their company location](/dollarback-store-credit/analytics-data-and-account/move-balance-to-company-location)
* [Bulk import credit (CSV)](/dollarback-store-credit/analytics-data-and-account/bulk-import-credit-csv)
* [Exclude customers from earning](/dollarback-store-credit/earning-cashback-programs/exclude-customers-from-earning)
* [Advanced settings](/dollarback-store-credit/settings/advanced-settings)
* [Plans, usage & overage billing](/dollarback-store-credit/analytics-data-and-account/plans-usage-and-overage-billing)


# Move a customer's balance to their company location

{% hint style="info" %}
**Plan:** the bulk import route needs a plan with bulk import and B2B store credit; check your plan's feature list. The Shopify Flow route uses only Shopify's own Flow app.
{% endhint %}

When you're done, a customer who registers as a business (becomes a contact on a company location) will be able to spend the cashback they earned as an individual, because the balance now sits on their company location.

## Why the balance needs to move

Once a customer is a contact on a company location, their checkout becomes a B2B checkout. At a B2B checkout, Shopify only offers store credit held on the **company location**, not on the buyer's personal account (see Shopify's [considerations for B2B store credit](https://help.shopify.com/en/manual/b2b/checkout-and-orders/store-credit#considerations-for-accepting-store-credit-as-a-payment-method-for-b2b)). The personal balance isn't lost, it just can't be spent until it's on the location.

There are two ways to move it:

| Route                                          | Best for                                                                         | Effort                |
| ---------------------------------------------- | -------------------------------------------------------------------------------- | --------------------- |
| [Shopify Flow](#automate-it-with-shopify-flow) | Every new registration, automatically                                            | One-time setup        |
| [Bulk import](#move-a-balance-by-hand)         | Customers who registered before you set up the workflow, or fixing a single case | A minute per customer |

## Prerequisites

* Shopify B2B set up, with companies and company locations.
* **Give store credit to B2B buyers on company locations** turned on in **DollarBack admin → Settings → Advanced**, so future B2B orders earn on the location. See [B2B store credit](/dollarback-store-credit/analytics-data-and-account/b2b-store-credit).
* For the Flow route: the Shopify Flow app installed on your store.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-259cc2529e62e4e71aab1766703fceb724a292f7%2Fdb-settings-advanced-annotated.png?alt=media" alt="The expanded Advanced card in Settings with the order edit tracking and B2B store credit checkboxes and the Exclude customers by tag field." width="560"><figcaption><p>Give store credit to B2B buyers on company locations is in the Advanced section of Settings.</p></figcaption></figure>

## Automate it with Shopify Flow

The workflow has one trigger, one condition and two actions:

```
Trigger    Company contact assigned permission
Condition  The customer has a store credit balance above 0
Action 1   Send Admin API request → storeCreditAccountCredit  (credit the location)
Action 2   Send Admin API request → storeCreditAccountDebit   (debit the customer)
```

{% hint style="warning" %}
This workflow moves real store credit. Run it once on your own customer account before you rely on it, and check the result in Flow's run history.
{% endhint %}

### 1. Create the workflow and pick the trigger

1. In Shopify admin, open **Apps → Flow** and click **Create workflow**.
2. Click **Select a trigger** and choose **Company contact assigned permission**. It runs whenever a customer is given access to a company location, including when a registration form creates the company.

### 2. Add a condition

1. Click **+** → **Condition**.
2. Choose **Company contact → Customer → Store credit accounts**, set it to **At least one of**, then **Balance → Amount** **is greater than** `0`.

The condition also keeps the workflow from doing anything when the same customer is added to a second location later, because their personal balance is already zero.

### 3. Credit the company location

1. On the **Then** branch, add the action **Send Admin API request**.
2. Set **Mutation** to `storeCreditAccountCredit`.
3. Paste this into **Mutation inputs**. Change `EUR` to your store credit currency.

{% code title="Mutation inputs: storeCreditAccountCredit" %}

```liquid
{%- assign amount = 0 -%}
{%- assign currency = "EUR" -%}
{%- for account in companyContact.customer.storeCreditAccounts -%}
  {%- if account.balance.currencyCode == currency -%}
    {%- assign amount = account.balance.amount -%}
  {%- endif -%}
{%- endfor -%}
{%- for assignment in companyContact.roleAssignments -%}
  {%- if forloop.first -%}
{
  "id": "{{ assignment.companyLocation.id }}",
  "creditInput": {
    "creditAmount": { "amount": "{{ amount }}", "currencyCode": "{{ currency }}" }
  }
}
  {%- endif -%}
{%- endfor -%}
```

{% endcode %}

### 4. Debit the customer's personal balance

1. Below the first action, add a second **Send Admin API request**.
2. Set **Mutation** to `storeCreditAccountDebit`.
3. Paste this into **Mutation inputs**, using the same currency as step 3.

{% code title="Mutation inputs: storeCreditAccountDebit" %}

```liquid
{%- assign amount = 0 -%}
{%- assign currency = "EUR" -%}
{%- for account in companyContact.customer.storeCreditAccounts -%}
  {%- if account.balance.currencyCode == currency -%}
    {%- assign amount = account.balance.amount -%}
  {%- endif -%}
{%- endfor -%}
{
  "id": "{{ companyContact.customer.id }}",
  "debitInput": {
    "debitAmount": { "amount": "{{ amount }}", "currencyCode": "{{ currency }}" }
  }
}
```

{% endcode %}

Keep the credit action first and the debit action second, so the customer never ends up with less than they had.

### 5. Turn it on

Name the workflow (for example *Move cashback to company location*) and click **Turn on workflow**.

### Good to know

* **Currency:** the workflow moves one currency. If you issue store credit in several currencies, make one copy of the workflow per currency.
* **Several locations:** the balance goes to the first location the customer is assigned to. For a new registration, that's the location the form creates.
* **Expiry:** the moved balance has no expiry date. To set one, add `"expiresAt": "2027-06-30T00:00:00Z"` inside `creditInput`.
* **Where it shows up:** the move happens directly in Shopify, so both transactions appear on the customer and the company location in Shopify admin. It doesn't appear in DollarBack's **Activity** log.
* **Credit still on hold** from a personal order lands on the personal account when it releases, after the workflow has run. Move it by hand with the steps below.

## Move a balance by hand

Use two one-row [bulk imports](/dollarback-store-credit/analytics-data-and-account/bulk-import-credit-csv): first credit the location, then debit the customer. Both appear in DollarBack's **Activity** log.

### 1. Find the balance and the location ID

1. In Shopify admin, open the customer and note their store credit balance and currency.
2. Open **Customers → Companies**, then the company, then the location. The location ID is the number at the end of the page address: `.../companies/.../locations/1234567890`.

{% hint style="warning" %}
Enter the location ID as a number only (`1234567890`), not in the `gid://shopify/CompanyLocation/...` form.
{% endhint %}

### 2. Credit the company location

Create a CSV with one row:

```
Email,CompanyLocationId,Amount,Currency,ExpiryDays
customer@example.com,1234567890,10.00,EUR,0
```

1. Open **DollarBack admin → Home** and, in the **Quick links** card, click **Open** next to **Bulk import**.
2. Set **Action Type** to **Credit** and turn on **B2B Mode**.
3. Leave **Notify Customers** off.
4. In **Reason**, enter something like *Moved personal balance to company location*.
5. Upload the file and click **Import CSV**.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-f3b877e4cdaba9ac9d6a2b12aa6a42fb01601083%2Fdb-bulk-import-b2b-move-annotated.png?alt=media" alt="The Upload CSV File card with Action Type, Credit expires, the Notify Customers, Send to Integrations and B2B Mode switches, and the Reason field." width="560"><figcaption><p>For a balance move, run two one-row imports: a Credit with B2B Mode on, then a Debit with B2B Mode off.</p></figcaption></figure>

`ExpiryDays` is optional: `0` means no expiry.

### 3. Debit the customer

Create a second CSV for the same customer and amount, without the location column:

```
Email,Amount,Currency
customer@example.com,10.00,EUR
```

1. Open **DollarBack admin → Home** and, in the **Quick links** card, click **Open** next to **Bulk import**.
2. Set **Action Type** to **Debit** and make sure **B2B Mode** is **off**.
3. Leave **Notify Customers** off.
4. Upload the file and click **Import CSV**.

To move several customers at once, put one row per customer in each file. Duplicate rows are not removed.

## Verify it works

* The company location in Shopify admin shows the moved balance.
* The customer's personal store credit is zero.
* A B2B checkout as that customer offers store credit as a payment method.

## Common issues

* **The Flow run failed:** open the run in Flow's run history to see which action failed. If the credit action failed, nothing was taken from the customer; move the balance by hand.
* **Bulk import rows failed with a location error:** the `CompanyLocationId` was in the `gid://` form, or belongs to another company. See [My bulk import failed](/dollarback-store-credit/troubleshooting-and-faq/bulk-import-failed).
* **Store credit isn't offered at checkout:** confirm the buyer is checking out on the location that holds the balance. See [Store credit isn't available at checkout](/dollarback-store-credit/troubleshooting-and-faq/store-credit-isnt-available-at-checkout).
* **Every buyer at the company can spend the balance:** that's expected. Location credit belongs to the business, not to one buyer.

## Related articles

* [B2B store credit](/dollarback-store-credit/analytics-data-and-account/b2b-store-credit)
* [Bulk import credit (CSV)](/dollarback-store-credit/analytics-data-and-account/bulk-import-credit-csv)
* [Shopify Flow: triggers and actions](/dollarback-store-credit/integrations/shopify-flow-triggers-and-actions)


# Admin blocks on the customer & order pages

DollarBack puts three cards directly inside Shopify admin, so you can answer "what did DollarBack do on this order?", "why did this customer earn less than expected?" and "can you undo that reward they just claimed?" without opening the app. All three are installed with the app; there is nothing to enable.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-eb7c8debf4bb60a7b2fd0f0df1eafcf112a9fc77%2Fdb-order-blocks-add-picker-annotated.png?alt=media" alt="The Blocks card on a Shopify order page with the Block button pressed and a popover offering DollarBack summary."><figcaption><p>If a DollarBack card isn't on the page, add it from Blocks; you only need to do this once per page type.</p></figcaption></figure>

## "DollarBack summary" on the order page

Open **Shopify admin → Orders** and pick any order. The **DollarBack summary** card sits among the app blocks on the order detail page and shows every way DollarBack touched that order:

| Row                | What it shows                                                                                                                                                                                                                                                                                                       |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Cashback**       | Store credit issued for this order, with a **Pending** badge while the credit is still scheduled and **Credited** once it lands. A badge like "2× tier" appears when a loyalty tier multiplier was applied.                                                                                                         |
| **Redeemed**       | Store credit the customer spent paying for this order.                                                                                                                                                                                                                                                              |
| **No cashback**    | Shown instead of Cashback when the order earned nothing, with the reason recorded at calculation time. For what each reason means and what to check, see [What the reason on the order means](/dollarback-store-credit/troubleshooting-and-faq/customer-didnt-receive-cashback#what-the-reason-on-the-order-means). |
| **Discount codes** | Earn-side reward codes issued from this order, with "(revoked)" appended if a code was later revoked.                                                                                                                                                                                                               |
| **Referral**       | The referrer this order was attributed to, and the commission they earned.                                                                                                                                                                                                                                          |
| **Edited**         | How many times cashback or the referral reward was recalculated after order edits.                                                                                                                                                                                                                                  |

Orders DollarBack never touched show "No DollarBack activity on this order."

The card is a read-only view of the data DollarBack writes to the order itself; see [Metafields & data storage reference](/dollarback-store-credit/developer-tools/metafields-and-data-storage) if you want to consume the same data in Flow or your own tooling.

## "Store credit owed" on the customer page

Open **Shopify admin → Customers** and pick a customer. The **Store credit owed** card tracks store credit the customer owes you, per currency. When there is no debt, it reads "This customer owes nothing." Otherwise it lists the amount owed in each currency under **Owes**. As the card's own help text (**How does this work?**) puts it: "Store credit this customer owes you. It's taken back from their future cashback. Set it to 0 to clear it."

### Where owed credit comes from

When a refund, cancellation, or order edit claws back credit the customer has **already spent**, their Shopify balance can't go below zero. DollarBack records the shortfall as owed instead, and automatically deducts it from the customer's **next cashback** before crediting: they earn less until the debt is paid down. See [Refunds, cancellations & order edits](/dollarback-store-credit/spending-store-credit-and-rewards/refunds-cancellations-and-order-edits) for when clawbacks happen.

### Change or clear an owed balance

The card has one row for changes: **Currency**, **Set amount owed**, and **Save**. The amount you enter replaces what the customer owes in that currency.

1. Pick a **Currency**. The list holds your store currency, the currencies of the customer's store credit balances, and any currency the customer already owes in.
2. In **Set amount owed**, enter the new total for that currency. Enter **0** to write the debt off entirely, a lower amount to forgive part of it, or a higher amount to record a debt yourself (for example after settling something off-platform).
3. Click **Save**. The card confirms with "Saved." The customer's next cashback is no longer reduced (or is reduced by the new amount).

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-876961002de617cd72fa11f07f02f06e46a63762%2Fdb-customer-store-credit-owed-annotated.png?alt=media" alt="The Store credit owed admin block with the text &#x22;This customer owes nothing.&#x22;, a currency picker set to USD, a Set amount owed field and a Save button."><figcaption><p>The Store credit owed card shows what a customer owes you and lets you change or clear it.</p></figcaption></figure>

{% hint style="warning" %}
**Set amount owed** never gives the customer store credit. Raising it adds to what they owe, and their future cashback is reduced by that amount. To give credit back, use Shopify's store credit on the customer page, or the **Reward redemptions** card below for a reward refund.
{% endhint %}

Every manual change is written into the underlying record as an "admin\_override" entry with a timestamp, so support can always reconstruct who changed what.

## "Reward redemptions" on the customer page

The third card on the customer page lists the [reward marketplace](/dollarback-store-credit/spending-store-credit-and-rewards/set-up-the-reward-marketplace) rewards this customer has claimed, and lets you undo one. It's the support answer to "I redeemed the wrong reward, can I have my credit back?"

Each row shows the reward title and its cost, the discount code, and the date it was redeemed, with a **Refund** button.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-9bcbd8d15345402674a16afbc9b70c8c5f2faea0%2Fdb-customer-reward-redemptions-annotated.png?alt=media" alt="Reward redemptions block on a Shopify customer page, showing an unused Free shipping reward code with a Refund button" width="560"><figcaption><p>Each unused redemption shows the reward, its cost, the code and the redeemed date. Refund opens a confirmation view first.</p></figcaption></figure>

{% hint style="info" %}
The list only shows redemptions you can actually act on. A code the customer has already **used**, or one that has already been **refunded**, is left out — so an empty card reading *"Nothing to refund. Used and already-refunded codes aren't listed."* usually means the reward was spent, not that it never existed. Check [Activity](/dollarback-store-credit/analytics-data-and-account/credit-logs-and-scheduled-rewards) for the full history.
{% endhint %}

### Refund a redemption

1. Click **Refund** on the row you want to undo. The card switches to a confirmation view: *"Returns \<amount> of store credit to this customer and permanently deletes the code."*
2. Set **Credit expires in** — days from today, where **0** means the returned credit never expires. It defaults to 0.
3. Click **Refund \<amount>**. The row disappears and the card confirms *"Refunded \<amount> to this customer."*

The refund returns the exact store credit the customer spent, in the currency they spent it, and **deletes the discount code at Shopify**. Deletion happens first, deliberately: if anything fails afterwards it's better for the customer to be briefly out of pocket than to hold both the code and the credit. Use the arrow at the top left to back out without refunding.

{% hint style="warning" %}
There is no undo, and no partial refund. The code is gone from Shopify the moment you confirm, and the customer will need to redeem the reward again to get a new one. If the customer might still want the reward, check with them before refunding rather than after.
{% endhint %}

## Verify it works

1. Set a test customer's owed amount to 0 and save; the card should confirm with "Saved."
2. Trigger a qualifying order for that customer and check **DollarBack admin → Analytics → Activity**: the full cashback amount should be credited, with no recovery deduction.

## Common issues

* **Card doesn't load** ("Couldn't load. Refresh to try again."): a transient admin error; refresh the page.
* **"Didn't save. Try again."**: the write to Shopify failed; retry, and check the staff account has permission to edit customers.
* **"Enter an amount of 0 or more."**: **Set amount owed** is empty or negative. Enter 0 to clear the debt, or a positive amount.
* **Customer keeps earning less than the program promises**: check this card first; an owed balance silently reduces every payout until cleared.
* **A redemption you expected isn't in "Reward redemptions"**: the code has already been used or refunded, so it's filtered out of the list.
* **Refund fails with "We couldn't find that redemption." or "That redemption was already refunded."**: the redemption record couldn't be matched, or someone refunded it in another tab. Refresh the customer page and check the list again.
* **"Couldn't remove the discount code — nothing was refunded. Try again."**: the code is still live and no credit moved. Click **Refund** again.
* **"The code was removed but Shopify rejected the credit. Try the refund again."**: rare. The code is gone but the credit wasn't returned yet. The row stays in the list: click **Refund** again. A retry is safe; the credit is returned only once. Don't use the **Store credit owed** card for this: it records a debt, it doesn't return credit.
* **"The refund is still processing. Refresh in a moment to see it."**: wait a moment, then refresh the customer page.

## Related articles

* [Refunds, cancellations & order edits](/dollarback-store-credit/spending-store-credit-and-rewards/refunds-cancellations-and-order-edits)
* [Metafields & data storage reference](/dollarback-store-credit/developer-tools/metafields-and-data-storage)
* [Activity: credit logs & scheduled rewards](/dollarback-store-credit/analytics-data-and-account/credit-logs-and-scheduled-rewards)
* [Set up the reward marketplace](/dollarback-store-credit/spending-store-credit-and-rewards/set-up-the-reward-marketplace)
* [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated)


# Plans, usage & overage billing

This page explains how DollarBack billing works: what counts against your plan's order limit, when the counter resets, what happens when you go over, and how upgrades, trials, and legacy plans behave.

Open **DollarBack admin → Billing** (the **Plans** page) to see your plan, your usage this cycle, and the **Compare plans** table. The **Billing FAQ** button at the top of the page opens this article.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-8e61a752f1a3f8348295cf97112b16071fe39e45%2Fdb-plans-current-and-compare-annotated.png?alt=media" alt="The Plans page with the current Enterprise plan card, its usage counter and reset date, and the Compare plans table with prices, included orders, overage and free trial rows."><figcaption><p>The Plans page shows your plan and usage this cycle, then compares what each plan includes.</p></figcaption></figure>

## What plans differ by

The **Compare plans** table has one column per plan and one row per feature. The **VOLUME** and **EARNING CREDIT** rows are always shown; click **Show all features** under the table to see the **MORE** rows.

| Row on the Plans page                                         | What it unlocks                                                                                                                                                                                      | Plan               |
| ------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ |
| **Orders included each month**                                | The included order volume (see counting rules below).                                                                                                                                                | Every plan         |
| **If you go over**                                            | The per-order overage price and its monthly cap, or **Asked to upgrade** when the plan has no overage.                                                                                               | Every plan         |
| **Free trial**                                                | The trial length in days.                                                                                                                                                                            | Plans with a trial |
| **Cashback and referral programs**                            | Your cashback programs and referral program.                                                                                                                                                         | Every plan         |
| **VIP tiers**                                                 | [Loyalty tiers](/dollarback-store-credit/loyalty-tiers/loyalty-tiers-overview).                                                                                                                      | Pro and above      |
| **Auto-adjust on refunds and edits**                          | [Order-edit tracking](/dollarback-store-credit/spending-store-credit-and-rewards/refunds-cancellations-and-order-edits).                                                                             | Advanced and above |
| **Backfill credit for past orders**                           | [Backfill cashback for past orders](/dollarback-store-credit/earning-cashback-programs/backfill-cashback-for-past-orders).                                                                           | Enterprise only    |
| **Klaviyo, Omnisend, Mailchimp and Flow integrations** (MORE) | Klaviyo, Omnisend, Mailchimp, Shopify Flow and Judge.me.                                                                                                                                             | Pro and above      |
| **B2B store credit** (MORE)                                   | [B2B store credit](/dollarback-store-credit/analytics-data-and-account/b2b-store-credit).                                                                                                            | Advanced and above |
| **Custom sending domain** (MORE)                              | [Sender identity & custom domain](/dollarback-store-credit/notifications/sender-identity-and-custom-domain).                                                                                         | Advanced and above |
| **Apple and Google Wallet passes** (MORE)                     | [Wallet passes](/dollarback-store-credit/integrations/wallet-passes) for Apple Wallet and Google Wallet.                                                                                             | Enterprise         |
| **Api Access** (MORE)                                         | The **Developer API** page: generating and rotating a [Merchant API](/dollarback-store-credit/developer-tools/merchant-api-keys-and-endpoints) key. On a lower plan the page shows **Upgrade plan**. | Advanced and above |

[Bulk import credit (CSV)](/dollarback-store-credit/analytics-data-and-account/bulk-import-credit-csv) is available on Pro and above.

{% hint style="info" %}
**Backfill is Enterprise only.** The Plans page currently shows a tick in the **Backfill credit for past orders** row for Pro and Advanced as well. That tick reflects Bulk import, not backfill. On Pro and Advanced the backfill page says the feature isn't included in your plan.
{% endhint %}

Prices are shown per month. Where a plan also comes yearly, use the **Monthly** / **Annual** switch above the table to see the yearly price.

## How orders are counted

* **Every order created on your store counts once**, whether or not it earned cashback, and regardless of your cashback trigger setting. Usage measures store volume, not program activity.
* Each order is **deduplicated by its order ID**, so an order can never count twice.
* Usage accrues against your **billing period**. At the top of the Plans page, **Orders this cycle** shows your count against the limit (for example "1,240 of 1,000") with a progress bar, the reset date ("Resets … · N days left") and your orders in the last 30 days. The counter resets when a new billing period starts.
* Plans with unlimited volume show **Unlimited** in the table, and your count shows as "· unlimited".

## Overage

When your orders exceed the plan's included limit, additional orders bill as **usage charges** at the per-order rate in the **If you go over** row (for example "$X / order"). Where the plan defines one, overage is **capped** at a maximum per month ("never more than $X / mo"). The top of the Plans page shows how much overage you've used this cycle ("$Y of $X overage used"). You'll never pay more than the cap in overage for that period, and orders keep processing normally. Cashback never stops being earned because you crossed the limit; you're billed for the extra volume instead.

If your plan has no overage, or you've used the whole overage cap, the DollarBack admin locks until you upgrade or the period resets. Your customers keep earning and spending cashback. See [When the admin locks](#when-the-admin-locks).

If you're paying overage regularly, compare it against the next plan up. A higher included limit is usually cheaper than sustained overage.

## Trials

The **Free trial** row shows each plan's trial length. On a plan with a trial, the button includes it, for example **Start · N-day trial** or **Upgrade · N-day trial**. Charges are handled by Shopify billing and begin when the trial ends; cancelling or downgrading before then means you're not charged for that plan.

## Upgrades & downgrades

Click a plan's button (**Upgrade**, **Downgrade**, **Switch to yearly** or **Switch to monthly**; your own plan shows **Current plan**). This opens Shopify's billing confirmation. Approve it there and the new plan takes effect. Feature gates apply immediately with the plan switch; there is no grace period and no "until the end of the billing period". Downgrading below a feature (say, bulk import or order editing) removes access to it, though nothing already earned by customers is taken away. Balances, tiers already assigned, and issued codes remain.

What a downgrade does to each gated feature:

* **Order editing** (for example Advanced → Pro): the **Enable order edit tracking** switch in **Settings → Advanced** locks. From the moment of the switch, edits, refunds, and cancellations no longer adjust cashback; credit already issued or clawed back stays as it is, and owed amounts already recorded aren't erased. Credit that is still in its holding period is recalculated when the hold ends against the order as it is then, so a refund during the hold still reduces it. Full detail in [Refunds, cancellations & order edits](/dollarback-store-credit/spending-store-credit-and-rewards/refunds-cancellations-and-order-edits).
* **Tiers** (for example Pro → Free): the **Tiers** page locks with an **Upgrade plan** button, but your tier setup is kept, not deleted. Customers stay in the tiers they hold and the multiplier keeps applying to their orders until you upgrade and change the setup.
* **B2B store credit** (for example Advanced → Pro): cashback on B2B orders, and referral rewards on them, no longer go to the company location. They go to the buyer's own store credit account instead. Balances already on company locations stay there.
* **Integrations** (for example Pro → Free): the Klaviyo, Omnisend, Mailchimp, Flow and Judge.me pages show an upgrade prompt instead of their settings, and you can't connect Judge.me. An integration that is already connected keeps running.
* **Bulk import, backfill, custom domain**: the page or card locks with an upgrade prompt. Nothing already imported, credited, or sent is reversed.

Upgrading again unlocks everything immediately, but nothing is reconciled retroactively: an order edited while order editing was off is only recalculated if it's edited again afterwards.

## Custom pricing

High-volume stores, agencies, and platforms can get a custom plan. At the bottom of the Plans page, next to "Doing more than 5,000 orders a month?", click **Talk to us**. It opens a chat pre-filled with a custom-plan request.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-6b8e962c2aed31ecf6972d4abf8c72c9cf7715f5%2Fdb-p2-ga-plans-talk-to-us-annotated.png?alt=media" alt="The Before you change plan card at the bottom of the Plans page, with four billing questions and the line Doing more than 5,000 orders a month? next to a Talk to us button."><figcaption><p>Click Talk to us at the bottom of the Plans page to ask for a custom plan.</p></figcaption></figure>

## Legacy plans

If you subscribed before the current plan lineup:

* **Prepaid yearly legacy plans keep working**. The Plans page shows: "You're already subscribed to a yearly plan, so it'll keep working as-is — no action needed for now."
* **Every other legacy plan** shows a critical banner on the Plans page: "Your plan is no longer offered. You're on {your plan}, which we no longer support. Pick one of the plans below to keep using DollarBack." Until you pick a current plan, the admin locks as described below.

## When the admin locks

In four cases, every DollarBack admin page except **Billing** shows a lock card instead of its content:

| Your account                                              | Lock card heading                      | Button           |
| --------------------------------------------------------- | -------------------------------------- | ---------------- |
| No plan selected                                          | Pick a plan to use DollarBack          | **View plans**   |
| A legacy plan (not prepaid yearly)                        | Your plan is no longer offered         | **Change plan**  |
| Over your plan's order limit, and the plan has no overage | You've reached your plan's order limit | **Upgrade plan** |
| Over the order limit, and the overage cap is used up      | You've used your overage cap           | **Upgrade plan** |

The over-limit cards show your usage (for example "1,240 / 1,000 orders") and the date the limit resets. Every lock card has a **Contact support** link, which opens the in-app chat.

{% hint style="info" %}
**Your storefront keeps running while the admin is locked.** The lock card says it: "Your current settings keep working. Your customers still earn and spend cashback." Checkout, the widgets, cashback, referrals and emails all carry on. Only the admin pages are closed, so you can't change programs or settings until you pick a plan or the limit resets.
{% endhint %}

**A store with nothing running yet isn't locked.** If you're on a legacy plan or over your limit but no cashback program and no referral program is turned on, you see a warning banner at the top of each page instead, and the admin stays open. The lock starts when you turn on a cashback or referral program. A store with no plan at all is always locked, so new installs pick a plan first.

If DollarBack made a custom plan for your store, the lock card's button reads **View your plan** and takes you to it.

## Verify it works

After subscribing, the Plans page should show your plan as active with the usage meter against the new limit, and previously gated pages (for example **Bulk import**) should load without an upgrade banner.

## Common issues

* A feature page shows an upgrade prompt: your plan doesn't include that feature; check its row in the **Compare plans** table (click **Show all features** for the **MORE** rows).
* Every page shows a lock card: your account is in one of the four cases in [When the admin locks](#when-the-admin-locks). Open **Billing** and pick a plan, or use **Contact support** if you think the billing state is wrong.
* Usage looks higher than your cashback activity: every created order counts, not just orders that earned cashback.
* You expected the counter to reset: it resets with your billing period, shown as a date range on the Plans page, not on calendar months.

## Related articles

* [Choose a plan & start your trial](/dollarback-store-credit/getting-started/choose-a-plan-and-start-your-trial)
* [Bulk import credit (CSV)](/dollarback-store-credit/analytics-data-and-account/bulk-import-credit-csv)
* [B2B store credit](/dollarback-store-credit/analytics-data-and-account/b2b-store-credit)
* [Loyalty tiers overview](/dollarback-store-credit/loyalty-tiers/loyalty-tiers-overview)


# Settings

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

\_The settings page tour starts at 2:34 in the video.\_

Everything on **DollarBack admin → Settings**, the page that "Configure\[s] how cashback is calculated and distributed". These settings are **global**: they apply to all cashback programs at once, and (where noted) to referral rewards too. Per-program options (values, dates, targeting, sales channels, per-customer limits) live in the program editor instead; see [Set up purchase cashback](/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback).

The page is organized as collapsible cards. Changes only take effect when you click **Save Settings** (a save bar also appears as soon as anything is dirty), and they apply to orders processed *after* the change; issued credits are never rewritten.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-8fab8d0b123fb87797a9531f05c552d73971abc8%2Fdb-settings-overview-annotated.png?alt=media" alt="The DollarBack Settings page with the collapsed cards Cashback Calculation, Trigger and Timing, Store Credit Visibility, Special Order Types and Advanced, a Developer API card with a Manage button, a More card with links to Notifications, Plans and Billing and Suggest a feature, and a greyed-out Save Settings button."><figcaption><p>Settings has five collapsible cards. Open one with its arrow, and click Save Settings to apply your changes.</p></figcaption></figure>

## The cards, in page order

| Card                        | What it controls                                                      | Article                                                                              |
| --------------------------- | --------------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
| **Cashback Calculation**    | The order amount cashback is based on, caps, shipping, rounding       | [Cashback Calculation](/dollarback-store-credit/settings/cashback-calculation)       |
| **Trigger & Timing**        | Which order event awards cashback and the holding period              | [Trigger & Timing](/dollarback-store-credit/settings/trigger-and-timing)             |
| **Store Credit Visibility** | When store credit appears as a payment option at checkout             | [Store Credit Visibility](/dollarback-store-credit/settings/store-credit-visibility) |
| **Special Order Types**     | Cashback behavior when orders involve store credit or gift cards      | [Special Order Types](/dollarback-store-credit/settings/special-order-types)         |
| **Advanced**                | Order edit tracking, B2B credit, tag exclusions (plan-gated features) | [Advanced](/dollarback-store-credit/settings/advanced-settings)                      |

## Developer API

Not a setting but a shortcut: the **Developer API** card ("Generate an API key to read configs and submit birthday / social rewards programmatically") opens the Merchant API page via **Manage**. Full reference: [Merchant API: keys & endpoints](/dollarback-store-credit/developer-tools/merchant-api-keys-and-endpoints).

## The "More" sidebar

The **More** card links to three pages that live outside Settings:

* **Notifications**: "Email alerts for credits, expiry, and birthdays"; see [Email notifications overview](/dollarback-store-credit/notifications/email-notifications-overview).
* **Plans & Billing**: your subscription; see [Plans, usage & overage billing](/dollarback-store-credit/analytics-data-and-account/plans-usage-and-overage-billing).
* **Suggest a feature**: the public roadmap, where you can tell us what to build next.

## Settings that live elsewhere

Merchants often look on this page for these; they're configured on other pages:

* **Credit expiry and reminder emails**: see [Credit expiry & reminders](/dollarback-store-credit/spending-store-credit-and-rewards/credit-expiry-and-reminders).
* **Email templates and sender identity**: **DollarBack admin → Notifications**.
* **Per-program options**: reward value and kind, dates, product targeting, "give cashback when discount codes are used", and sales-channel restrictions are set per program in the cashback program editor (**DollarBack admin → Home → Cashback tab → Manage configurations**). Purchase programs have no frequency limit. Custom (API) programs can limit how many times each customer earns the reward, and programs that give a discount code can cap how many codes one customer gets (**Limit issues per customer**).
* **Reward marketplace stacking rules**: the Combinations card on the **Reward marketplace** page; see [Discount combination rules](/dollarback-store-credit/spending-store-credit-and-rewards/discount-combination-rules).


# Cashback Calculation

The first card on **DollarBack admin → Settings** defines "what order amount cashback is based on" and sets "any caps or rounding rules". Everything here applies to every cashback program at once, and the same base feeds percentage referral rewards.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-bff40884c8f3f13152c42648a3eb009f208b8770%2Fdb-p2-es-cashback-calculation-annotated.png?alt=media" alt="The expanded Cashback Calculation card: Base cashback on with the options Order Total and Order Subtotal, a Maximum cashback per order field set to $0, and two checkboxes, Include shipping costs in cashback calculation and Round up cashback to the nearest whole number." width="560"><figcaption><p>This card sets the order amount that every program calculates cashback from. In this example store, Order Subtotal is selected and shipping is not included.</p></figcaption></figure>

## Base cashback on

| Option                    | Effect                                                            |
| ------------------------- | ----------------------------------------------------------------- |
| **Order Total** (default) | "Calculate cashback from the full order amount, including taxes." |
| **Order Subtotal**        | "Calculate cashback from the subtotal before taxes and shipping." |

This is usually the single most impactful setting on the page: switching between the two changes every program's payout on tax-charging stores.

## Maximum cashback per order

A hard cap on the total cashback one order can earn, in your store currency. "Cap the total cashback awarded per order. Set to 0 for no limit." Default: 0 (no limit).

When the cap is hit, all matching programs and lines are **scaled down proportionally**; nothing is dropped outright. That keeps the per-line attribution intact, which matters later for refund clawbacks.

## Options

* **Include shipping costs in cashback calculation** (default: on): adds shipping charges into the base. "When unchecked, shipping charges are excluded from the calculated amount." In **Order Total** mode it applies to every order.
* **Round up cashback to the nearest whole number** (default: off): rounds each credit up as the last step of the calculation, after the **Maximum cashback per order** cap (e.g. $8.19 becomes $9.00). Popular for keeping widget messaging clean ("Earn $9 back").

{% hint style="warning" %}
**Order Subtotal doesn't always leave shipping out.** With **Include shipping costs** on, Subtotal mode still adds shipping on orders with a single line item and for order goals that cover all products. Turn the option off if you never want cashback on shipping.
{% endhint %}

{% hint style="info" %}
An order that gives more than one credit (for example an order goal plus a percentage program) rounds each one up separately, so with **Round up** on the total can end up slightly above the cap.
{% endhint %}

## Verify it works

Place a test order with tax and shipping, then compare the credited amount in **Analytics → Activity** against your base choice. If it looks off, walk the full pipeline in [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated); discounts, gift cards, and competing programs are the usual suspects, not this card.

## Related articles

* [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated)
* [Special Order Types](/dollarback-store-credit/settings/special-order-types)
* [Set up purchase cashback](/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback)


# Trigger & Timing

The **Trigger & Timing** card on **DollarBack admin → Settings** lets you "choose when cashback is awarded and whether to delay it". These two settings together decide when a customer actually sees spendable credit.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-e3af5009ddfafc8c70cd5ecf04cd6a3f17a6783b%2Fdb-settings-trigger-timing-annotated.png?alt=media" alt="The expanded Trigger and Timing card: Give cashback when, with Order Created selected and the options Order Fulfilled and Order Paid, and a Holding period field set to 0 days." width="560"><figcaption><p>Pick the order event that awards cashback, and how many days to hold it.</p></figcaption></figure>

## Give cashback when

Which order event triggers calculation and issuance, for every program at once:

| Option                      | Effect                                                         |
| --------------------------- | -------------------------------------------------------------- |
| **Order Created** (default) | "Award cashback immediately when an order is placed."          |
| **Order Fulfilled**         | "Award cashback once the order has been shipped or fulfilled." |
| **Order Paid**              | "Award cashback once payment is confirmed."                    |

Pick **Order Paid** if you take manual payments or see failed captures; **Order Fulfilled** if you want credit to appear only after shipping (a natural fraud buffer for high-risk categories).

## Holding period

A delay, 0 to 90 days, before issued credit becomes spendable. "Delay before the customer receives their store credit and discount-code rewards. Set to 0 to award immediately." Default: 0.

The hold applies to discount-code rewards from orders as well as to store credit: the code is issued when the hold ends. During the hold the credit isn't in the customer's balance, and the storefront widgets don't show it, so customers don't see anything until it's released. You can review the queue in **Analytics → Activity**, under the **Scheduled** view. When the hold elapses the credit is released automatically.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-9b349c33c3b891323b5b68c4504717e08424faa6%2Fdb-p2-es-activity-scheduled-annotated.png?alt=media" alt="Analytics, Activity page with the tabs Credits earned, Credit spent, Scheduled, Discount codes, Referrals and Clawbacks. Scheduled and Clawbacks are marked."><figcaption><p>Credit in a holding period is on the <strong>Scheduled</strong> tab of <strong>Analytics → Activity</strong>.</p></figcaption></figure>

{% hint style="warning" %}
**A hold can push credit past a fixed expiry date.** If a program's credit expires **On a date**, the last orders' credit can fall after that date, and those orders get no credit. The card then shows a warning such as **2 campaigns expire inside this holding period**, and lists, for each program, the date after which orders get no credit. The program editor shows the same warning under **Credit expires**: "Orders after \[date] get no credit". Pick a later expiry date or a shorter hold.
{% endhint %}

{% hint style="info" %}
Trigger and holding period **stack**. With Order Fulfilled + a 14-day hold, credit is calculated at fulfillment and becomes spendable 14 days later. Use the hold to outlast your return window, so most clawbacks resolve against pending credit instead of an already-spent balance. Unless **Enable order edit tracking** is on in [Advanced](/dollarback-store-credit/settings/advanced-settings), the hold is the only time a refund reduces the reward automatically.
{% endhint %}

## Verify it works

Place a test order and watch **Analytics → Activity**: the credit row should appear at your chosen trigger event, in Pending status if a hold is set, then flip to credited when released. The full lifecycle, including what happens on refunds during the hold, is in [When credit is issued](/dollarback-store-credit/earning-cashback-programs/when-credit-is-issued).

## Related articles

* [When credit is issued](/dollarback-store-credit/earning-cashback-programs/when-credit-is-issued)
* [Refunds, cancellations & order edits](/dollarback-store-credit/spending-store-credit-and-rewards/refunds-cancellations-and-order-edits)
* [Activity: credit logs & scheduled rewards](/dollarback-store-credit/analytics-data-and-account/credit-logs-and-scheduled-rewards)


# Store Credit Visibility

The **Store Credit Visibility** card on **DollarBack admin → Settings** "control\[s] when store credit appears as a payment option at checkout". Behind the scenes it drives a Shopify payment-customization function, so the hiding happens natively at checkout.

## The setting

| Option                    | Effect                                                             |
| ------------------------- | ------------------------------------------------------------------ |
| **Always show** (default) | "Store credit is always available as a payment option."            |
| **Show on condition**     | "Only show store credit when the cart meets a specific threshold." |

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-7e26a8faadb8faf56599066a2ba0403138114bdc%2Fdb-settings-store-credit-visibility-annotated.png?alt=media" alt="The expanded Store Credit Visibility card with Always show selected, a Show on condition option, and a Dollarlabs: Ultimate Discounts box marked Installed." width="560"><figcaption><p>Keep Always show, or choose Show on condition to hide store credit below a cart amount.</p></figcaption></figure>

## Visibility condition

Choosing **Show on condition** reveals a three-part rule builder:

* **Amount type**: **Cart Total** or **Cart Subtotal**
* **Operator**: `>` `<` `>=` `<=`
* **Value**: the threshold amount, in your store's base currency. At checkout in another currency, Shopify's conversion rate for that checkout converts it.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-d923f9d606de61daa79bef211444203b3aefd3c7%2Fdb-store-credit-visibility-condition-annotated.png?alt=media" alt="The Store Credit Visibility card with Show on condition selected and a Visibility condition rule of three fields: Amount type (Cart Total), Operator and Value." width="560"><figcaption><p>With Show on condition, store credit shows only when the cart meets your rule.</p></figcaption></figure>

Example: Cart Total `>=` 50 shows store credit only on carts of $50 or more, a common way to protect margins on small orders. Switching back to **Always show** resets the rule to its neutral default (total > 0).

{% hint style="warning" %}
**A Value of 0 never hides store credit**, whatever the operator.
{% endhint %}

## What customers see

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-d2df4a9de3811a5251f2e77f9453c0134b2d2afe%2Fdb-cx-checkout-apply-store-credit.png?alt=media" alt="Checkout payment section with the Apply store credit option ticked and the amount $20.00." width="520"><figcaption><p>When store credit is shown, your customers see Shopify's Apply store credit option in the payment section of checkout.</p></figcaption></figure>

Setup walkthrough, storefront demos, and the fine print (what the customer sees, gift-card interplay): [Hide store credit at checkout](/dollarback-store-credit/spending-store-credit-and-rewards/hide-store-credit-at-checkout).

## Need richer rules?

The card also surfaces our companion app, **Dollarlabs: Ultimate Discounts**, for "advanced visibility rules": per-product, per-collection, or per-customer-segment visibility beyond a single cart threshold. If it's installed you'll see an **Installed** badge here; otherwise an **Install App** button.

## Verify it works

Build a cart just below your threshold and start checkout: store credit should be absent as a payment option. Add an item to cross the threshold and refresh: it should appear. If it doesn't behave as expected, walk [Store credit isn't available at checkout](/dollarback-store-credit/troubleshooting-and-faq/store-credit-isnt-available-at-checkout).

## Related articles

* [Hide store credit at checkout](/dollarback-store-credit/spending-store-credit-and-rewards/hide-store-credit-at-checkout)
* [Store credit isn't available at checkout](/dollarback-store-credit/troubleshooting-and-faq/store-credit-isnt-available-at-checkout)
* [How customers spend their credit](/dollarback-store-credit/spending-store-credit-and-rewards/how-customers-spend-their-credit)


# Special Order Types

The **Special Order Types** card on **DollarBack admin → Settings** "fine-tune\[s] cashback behaviour when orders involve store credit or gift cards". Three settings, all independent of each other, and the source of most "why did this order earn less?" questions.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-b2e4d216060df4f1821269ef330a521cf6df54a0%2Fdb-settings-special-order-types-annotated.png?alt=media" alt="The expanded Special Order Types card with two groups of options, When a customer pays with store credit (Cashback on amount paid with real money only selected) and When a customer pays with gift cards (Cashback on non-gift card items only selected), and a checked option, Give cashback when customers purchase gift card products." width="560"><figcaption><p>Three separate settings: paying with store credit, paying with a gift card, and buying a gift card.</p></figcaption></figure>

## When a customer pays with store credit

The "no cashback on cashback" control. How the credit-paid portion of an order counts toward new cashback:

| Option                                                     | Effect                                                                     |
| ---------------------------------------------------------- | -------------------------------------------------------------------------- |
| **No cashback**                                            | "Skip cashback entirely if store credit was used."                         |
| **Cashback on full order amount**                          | "Award cashback on the total order value regardless of store credit used." |
| **Cashback on amount paid with real money only** (default) | "Award cashback only on the portion paid outside of store credit."         |

With the third option, the credit-paid amount is deducted **proportionally from every line** before calculation, so per-line attribution (and later refund clawbacks) stays fair. Scoped order-goal programs only lose the share that falls on their matching lines.

## When a customer pays with gift cards

The same three-way choice for the gift-card-paid portion, independent from the setting above:

| Option                                             | Effect                                                                   |
| -------------------------------------------------- | ------------------------------------------------------------------------ |
| **No cashback**                                    | "Skip cashback entirely if gift cards were used."                        |
| **Cashback on full order amount**                  | "Award cashback on the total order value regardless of gift cards used." |
| **Cashback on non-gift card items only** (default) | "Award cashback only on the portion paid outside of gift cards."         |

{% hint style="info" %}
Both defaults changed in September 2026: store credit was **No cashback** and gift cards were **Cashback on full order amount**. Saving the Settings page saves every card on it, so a store that clicked **Save** on Settings before the change kept the old values, even if nobody opened this card. The new defaults apply only on a store whose Settings were never saved before the change. There, an order paid partly with credit or a gift card now earns on the remainder instead of earning nothing (credit) or everything (gift cards). Check this card to see which values your store has.
{% endhint %}

## Give cashback when customers purchase gift card products

Whether gift-card **product lines** earn cashback at all. "When enabled, buying a gift card product earns cashback like any other item." Default: on.

When off, gift-card lines are filtered out of the calculation entirely: they earn nothing themselves and don't count toward order-goal thresholds. Note the distinction from the setting above: this one is about *buying* a gift card, that one about *paying with* one.

{% hint style="info" %}
The referral reward base follows the same store-credit and gift-card deductions, so a generous setting here also raises referral commissions; see [How referral rewards are calculated & tracked](/dollarback-store-credit/referral-program/how-referral-rewards-are-calculated-and-tracked).
{% endhint %}

## Verify it works

Pay for a test order partly with store credit and check the credited amount in **Analytics → Activity** against your choices. The order metafield `no-credit-reason` (visible in the [DollarBack summary admin block](/dollarback-store-credit/analytics-data-and-account/admin-blocks-customer-and-order-pages)) records when one of these settings zeroed out an order.

## Related articles

* [How cashback is calculated](/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated)
* [How referral rewards are calculated & tracked](/dollarback-store-credit/referral-program/how-referral-rewards-are-calculated-and-tracked)
* [Cashback Calculation](/dollarback-store-credit/settings/cashback-calculation)


# Advanced

The **Advanced** card on **DollarBack admin → Settings** holds "plan-gated features for order lifecycle management and B2B", plus the global tag exclusion list. The two toggles show a lock icon with "Upgrade your plan to use this feature" when your plan doesn't include them.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-259cc2529e62e4e71aab1766703fceb724a292f7%2Fdb-settings-advanced-annotated.png?alt=media" alt="The expanded Advanced card with Enable order edit tracking checked, Give store credit to B2B buyers on company locations not checked, and an Exclude customers by tag box that contains wholesale." width="560"><figcaption><p>Advanced holds the plan-gated order and B2B options and the store-wide tag exclusion.</p></figcaption></figure>

## Enable order edit tracking

"Recalculate cashback automatically when orders are edited, refunded, or cancelled." Default: off. Needs a plan that includes **Auto-adjust on refunds and edits** (see **Billing**).

{% hint style="warning" %}
**It is off by default, and it works only when your plan includes Auto-adjust on refunds and edits.** Without both, refunds, cancellations and edits don't change credit that is already issued. Credit still in the [holding period](/dollarback-store-credit/settings/trigger-and-timing) is different: DollarBack recalculates it from the order when the hold ends, with or without this switch.
{% endhint %}

When on, every edit is reconciled as a **diff**: pending credit is offset first, then the live balance, and any shortfall becomes owed credit recovered from future cashback. The full mechanics, including the clawback order and the immutable audit trail, are in [Refunds, cancellations & order edits](/dollarback-store-credit/spending-store-credit-and-rewards/refunds-cancellations-and-order-edits).

When off, awarded cashback simply stays as issued when orders change; you can still adjust balances manually. Downgrading to a plan without order editing locks the switch and has the same effect from that moment on; the details are in the same article.

## Give store credit to B2B buyers on company locations

"B2B buyers placing orders on a company location will earn store credit." Default: off. Needs a plan that includes **B2B store credit** (see **Billing**).

Credit is issued to the B2B **company location** rather than the individual buyer, so any buyer on that location can spend it. Setup, eligibility rules, and how it appears in checkout: [B2B store credit](/dollarback-store-credit/analytics-data-and-account/b2b-store-credit).

## Exclude customers by tag

A comma-separated list of Shopify customer tags (placeholder: "e.g. wholesale, employee, vip"). "Customers with any of these tags will not earn cashback. Separate multiple tags with commas."

Tags must match exactly, including upper and lower case: `Wholesale` does not exclude a customer tagged `wholesale`. Spaces around each comma are ignored.

This is the **global** exclusion for rewards earned from orders: a tagged customer earns no purchase cashback (including order goals) and no purchase discount codes, and backfill skips their past orders.

{% hint style="info" %}
**This list only covers rewards from orders.** Signup, newsletter, birthday, social follow, review, custom (API) and referral rewards don't check it. Newsletter, birthday, social follow and review programs have their own **Exclude customer tags** field in the program editor; signup and custom (API) programs have no tag fields.
{% endhint %}

Per-program include/exclude tag targeting is separate and set in the program editor; the interplay between the two is covered in [Exclude customers from earning](/dollarback-store-credit/earning-cashback-programs/exclude-customers-from-earning). If you use [loyalty tiers](/dollarback-store-credit/loyalty-tiers/loyalty-tiers-overview), per-program tag targeting is ignored for store-credit purchase programs while tiers are active, but this global list still applies.

{% hint style="warning" %}
Exclusion applies at earn time. Tagging a customer doesn't remove credit they already have; it only stops new cashback going forward.
{% endhint %}

## Verify it works

Tag a test customer with one of your excluded tags, place a qualifying order, and confirm no credit row appears in **Analytics → Activity**. Then remove the tag and repeat; credit should flow again.

## Related articles

* [Refunds, cancellations & order edits](/dollarback-store-credit/spending-store-credit-and-rewards/refunds-cancellations-and-order-edits)
* [B2B store credit](/dollarback-store-credit/analytics-data-and-account/b2b-store-credit)
* [Exclude customers from earning](/dollarback-store-credit/earning-cashback-programs/exclude-customers-from-earning)
* [Plans, usage & overage billing](/dollarback-store-credit/analytics-data-and-account/plans-usage-and-overage-billing)




---

[Next Page](https://help.dollarlabs.io/llms-full.txt/1)

