> ## Documentation Index
> Fetch the complete documentation index at: https://docs.referrush.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GoKwik & Shopflo Checkout

> Show customers their referral link on your GoKwik or Shopflo thank you page right after they buy.

If your store uses **GoKwik** or **Shopflo** for checkout, customers see their thank you page instead of Shopify's. The [Referral Link Extension](https://docs.referrush.com/setup/app-embeds/thank-you-page.md) only works on Shopify's checkout pages, so add the ReferRush script to your GoKwik or Shopflo thank you page instead.

The script shows the same referral card: the customer's referral link, share buttons, and what they and their friends get.

## The script

Copy this script. You'll paste it into your GoKwik or Shopflo dashboard in the steps below.

```html theme={null}
<script
  src="https://refero1.web.app/referrush-checkout-extension.js"
  defer
></script>
```

> [!WARNING]
>
> Paste the script exactly as shown, on its own line. Don't paste it inside another `<script>` block.

## GoKwik

**1. Open your GoKwik dashboard**

Log in to your GoKwik merchant dashboard.

**2. Open the Additional Script section**

Go to **Checkout Settings** → **Order Confirmation Page** → **GoKwik Thank You Page** → **Additional Script**.

**3. Paste the script**

Paste [the script](#the-script) on a new line at the very bottom of the **Additional Script** box. Keep any scripts that are already there.

**4. Save and test**

Click **Save**, then place a test order. The referral card shows below the order status on the thank you page.

## Shopflo

**1. Open your Shopflo dashboard**

Log in to your Shopflo merchant dashboard.

**2. Open the Additional Scripts section**

Go to **Settings** → **Integrations** → **Additional Scripts**.

**3. Paste the script**

Paste [the script](#the-script) into the **Additional Scripts** section, on its own line. Keep any scripts that are already there.

**4. Save and test**

Click **Save**, then place a test order. The referral card shows below the bill summary on mobile, and in the right-hand column on desktop.

> [!TIP]
>
> After a real order reaches the thank you page, the **Thank-You Page** status in your ReferRush dashboard under **Channels** → **Checkout Extension** turns active.

## Customize it

In your ReferRush dashboard, go to **Channels** → **Checkout Extension**.

* **Hide the referral CTA on checkout:** off by default, so customers see their referral link right after they buy. Turn it on to give customers their link only after their order is delivered. Until then, the card shows "You can refer your friends once your order arrives!"

The offer and reward shown in the card come from your [Offer & Reward](https://docs.referrush.com/setup/offer.md) settings.

## Troubleshooting

> [accordion] The referral card is not showing
>
> * Make sure you clicked **Save** in your GoKwik or Shopflo dashboard after pasting the script.
> * Make sure the script is on its own line and not inside another `<script>` block.
> * Make sure your referral program is turned on in your ReferRush dashboard. The card is hidden while it is off.
> * Make sure your offer and reward are fully set in [Offer & Reward](https://docs.referrush.com/setup/offer.md). The card is hidden until they are.

> [accordion] The card says "You can refer your friends once your order arrives!"
>
> **Hide the referral CTA on checkout** is turned on in your ReferRush dashboard. Turn it off to show the referral link right after purchase.

> [accordion] The Thank-You Page status still shows inactive
>
> The status updates when a real order reaches the thank you page. Place an order and check again after a few minutes.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.