# Integrations - Shopify functions

## Shopify customer list

If you want to sync your affiliates to your Shopify customer list (Shopify admin > Customers), you can activate the **Shopify customer sync** function. <mark style="color:red;">UpPromote</mark> will create a customer account for each of the affiliates in your Shopify admin.&#x20;

Simply go to **Settings** > **Integration > Shopify customers/orders > Shopify customer > Connect.**

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2FCAw6hWsZgL1MNrwijfOs%2Fimage.png?alt=media&#x26;token=9161afcb-7d83-4b57-b089-ae1cd105c63a" alt=""><figcaption></figcaption></figure>

After affiliate accounts are synced to your Shopify **Customers**, their profiles will have the tag "uppromote\_affiliate".

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2FFbU6Ho36vny1iD376wNh%2Fimage.png?alt=media&#x26;token=a3ea9444-b08f-4f1c-a0bc-5824b573e7fc" alt=""><figcaption><p>Shopify admin > Customers</p></figcaption></figure>

## Order tag

By enabling Order tag, every order tracked by <mark style="color:red;">**UpPromote**</mark> will be automatically tagged with **UpPromote\_order** on your Shopify order list (**Shopify admin** > **Orders**)

You are able to set up a tag for all referral order tracked by our system. This feature can be used for analyzing and supporting a third-party integration.

To set up **Order tag**, click **Settings** > **Integration** > **Order tag > Set up.**

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2FagwoiAXIhdN14sIufM1s%2Fimage.png?alt=media&#x26;token=0860c593-73a1-4b08-b628-2bd3c2570492" alt=""><figcaption></figcaption></figure>

Aside from the default tag, you can add variables that are listed on the popup onto the **Tag** field to determine the order from a specific affiliate/program.

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2F5Nw7aeflgQMbTuMoj7u8%2Fimage.png?alt=media&#x26;token=44d66e07-6614-422e-bb02-c6d1ee048fe4" alt=""><figcaption></figcaption></figure>

Upon analyzing, you can filter your referral order with tags in the **Orders** section on your Shopify admin page.

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2FMFnups5RICFm6K2OY1Kt%2Fimage.png?alt=media&#x26;token=e93def98-e2bb-42c1-837d-75a61da272b8" alt=""><figcaption><p>Shopify admin > Orders</p></figcaption></figure>

{% hint style="warning" %}
**Note:** Please note that in case the whole tag (including the variable value) has more than 40 characters, the system will not be able to add it to orders.&#x20;
{% endhint %}


---

# 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/settings/integrations/shopify-functions.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.
