# Refer-a-friend

## Post-purchase popup

{% hint style="warning" %}
**Important notice:**\
The **Post-purchase popup** feature will be **removed on January 21, 2025**, due to [Shopify’s deprecation of ScriptTag on checkout](https://shopify.dev/docs/apps/build/online-store/blocking-script-tags?syclid=ctb5vae3879s73ahli30t#does-your-app-still-require-scripttags-on-the-order-status-page). We recommend transitioning to the **Post-purchase signup** feature, which aligns with Shopify’s Checkout Extensibility framework. Please update your workflows accordingly.
{% endhint %}

#### Transition to Post-purchase signup

To continue engaging customers post-purchase, we recommend transitioning to the **Post-purchase signup** feature, which offers:

* **Compatibility**: Fully aligned with Shopify’s Checkout Extensibility framework.
* **Enhanced experience**: A streamlined signup flow for better customer engagement.
* **Ease of use**: Simple setup and customization for merchants.

For step-by-step instructions on implementing the Post-purchase signup feature, please refer to this [documentation](https://docs.uppromote.com/outreach/affiliate-recruitment/customer-referral?utm_source=post-purchase-popup\&utm_medium=click\&utm_campaign=doc#id-2.-post-purchase-signup).

## Convert signed-up customers to affiliates

{% hint style="warning" %}
As of 7 June 2024, the  *Convert signed-up customer* feature will be **unavailable** for all new merchants installing the app. This decision has been made to align with Shopify Checkout Extensibility.
{% endhint %}

Besides the **Post-purchase popup**, you can enable a new feature: **Convert signed-up customers** from your shop to affiliates. Please go to **Outreach > Affiliate recruitment > Convert signed-up customers.**

When customers register their accounts in your shop, our system **will automatically create affiliate accounts for them**. They will then get a notification email with their affiliate links and their affiliate log-in details.

Firstly, enable this feature and choose a program you want your customers to be in:

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2Fm59uDGxG3E7nXoOHX2IJ%2Fimage.png?alt=media&#x26;token=cec97dc4-9253-48c7-88b2-67ead04786fb" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Note**: The "Assign customer as downline affiliate" setting is only available in the Enterprise plan.&#x20;
{% endhint %}

You will be able to customize the notification email sent to new registered customers.

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2FcJaEJOZ77er4W9wawiQ1%2Fimage.png?alt=media&#x26;token=2ecda807-c016-4f86-a677-e5365df26670" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2Fbf7F6paQ6xfgwgd5uoCG%2Fimage.png?alt=media&#x26;token=bfb5ec6a-17b8-4242-986f-b3146031a1b0" alt=""><figcaption></figcaption></figure>

Click **Save** to save your settings.

***TIP**: Create a separate program for **Converted customers**, you can set this program to pay with* [***Store credit***](https://docs.uppromote.com/set-up/payment-setup/store-credit) *exclusively. That will help to keep your customers as loyal customers.*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.uppromote.com/outreach/affiliate-recruitment/refer-a-friend.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
