# Track Cashback & Loyalty Traffic with Shopify

As a brand using impact.com’s Shopify plugin, ensure your cashback and loyalty partners are set up correctly so that you benefit fully from our plugin’s [consent management update](https://help.impact.com/brand/what-would-you-like-to-learn-about/technical-integration-guides/shopify-plugin-consent-management-explained). Setting up these partners correctly allows you to track their traffic reliably even when customers skip your privacy/cookie pop-up, because their consent is already given through participation in the cashback and loyalty referral.

You have 2 options to ensure your cashback and loyalty traffic is tracked reliably:

* **Brand-led option** — Gives you more control by allowing you to implement the required update yourself, without relying on your partners to make any changes.
* **Partner-led option** — This option only works for approved partners, and typically requires extra work on their part.

#### Brand-led option: Configure a dynamic landing page URL

First, update your impact.com [gateway settings](https://help.impact.com/brand/what-would-you-like-to-learn-about/account-administration/program-settings/tracking-settings/configure-gateway-tracking-settings), then assign a [custom tracking value](https://help.impact.com/brand/what-would-you-like-to-learn-about/platform-features/tracking/set-up-tracking/assign-custom-tracking-values-to-partners) to your cashback/loyalty partners. Once done, impact.com will append the required parameter to your landing page URL whenever you receive traffic from those partners.

**Step 1: Update your gateway settings**

1. From the top navigation bar, select ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-1183576591b45997efe4dc81a25024640591d02a%2F245137dc972a7a7f6165b59538fcdbac8fd5bd8fee4ba9f20c1a2982c5b58b57.svg?alt=media) **\[User profile] → Settings**.
2. In the right column, scroll down to the *Tracking* section and select **Gateway**.
3. Below *Program Tracking Template*, ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-6282f271b7521383385339243690b303086736d9%2F3b5a585dd2895bdf1c30d1236c72ba590dddd18717863b27074c8d313d05ae20.svg?alt=media) **\[Add]** a new row.
4. Enter `im_rewards` in the *name* field, and `{mp_value1}` in the *value* field.
   * Alternatively, if you’re already using the `{mp_value1}` field for another purpose, use `{mp_value2}` or `{mp_value3}`.
5. **Save** your changes.

**Step 2: Assign custom tracking values**

{% hint style="info" %}
**Tip:** If you have a large number of cashback and loyalty partners, you can [Bulk edit](https://help.impact.com/brand/platform-features/tracking/set-up-tracking/assign-custom-tracking-values-to-partners#bulk-edit-partner-custom-values-0-1) their custom values instead of following this flow.
{% endhint %}

1. From the left navigation menu, select ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%2Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg?alt=media) **\[Engage] → Partners → Partners**.
2. Hover over the relevant partner, then at the end of the row, select ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-8ec3e877b1397045c61d394485e72ac4d93120ee%2Fc6ddb46c637059f06e86c790a911217a9428f5c47b5efef046f90555e85b03cd.svg?alt=media) **\[More] → Tracking → Custom Values**.
   * If your cashback and loyalty partners are part of their own [partner group](https://help.impact.com/brand/what-would-you-like-to-learn-about/platform-features/reach-out-to-partners/partner-groups/create-and-manage-partner-groups), use the **Group Name** filter to find them easily.
3. On the *Edit Partner Custom Values* screen, in the *Partner Value 1* field, enter **1**.
   * If you set up the `{mp_value2}` or `{mp_value3}` query string parameter in your gateway settings, you would still enter **1** as the *Partner Value*.
4. **Save** your changes, then repeat this process for all your cashback and loyalty partners.
5. Lastly, we recommend reaching out to your CSM or [Support](https://app.impact.com/support/portal.ihtml) to ensure everything is implemented correctly for your use case.

#### Partner-led option: Share instructions with partners

When using this option, bear in mind that your cashback and loyalty partners will need to update their tracking links manually, which leaves more room for human error and requires extra work on their part.

{% hint style="warning" %}
**Remember:** This method only works for partners who are currently approved by impact.com for this tracking setup. You may experience some tracking drop-off if unapproved partners try to use this parameter.
{% endhint %}

1. Reach out to your cashback and loyalty partners via one of the following methods:
   * **Tasks** — Use impact.com’s built-in [tasks](https://help.impact.com/brand/what-would-you-like-to-learn-about/account-administration/account-settings/manage-tasks) feature to assign an action item.
   * **Messaging** — Use impact.com’s built-in [messaging](https://help.impact.com/brand/what-would-you-like-to-learn-about/platform-features/reach-out-to-partners/messaging/send-a-message-to-a-partner) feature to contact them easily.
   * **Business contact** — Reach out directly to the partner’s [business contact](https://help.impact.com/brand/what-would-you-like-to-learn-about/platform-features/reach-out-to-partners/partner-management/get-partner-contact-information).
2. Ask the partner to add the `im_rewards=1` parameter to their tracking links.
   * Share this partner-facing guide on how to add dynamic parameters to tracking links: [Add Reporting Information to Your Tracking Links](https://app.gitbook.com/s/b2rE79d9UhOKZQLgzSqx/what-would-you-like-to-learn-about/platform-features/tracking/tracking-links/create-and-manage-links/add-reporting-information-to-your-tracking-links).

{% hint style="info" %}
**Example:** Here’s an example of how the partner’s tracking link should look: `https://stark-industries.pxf.io/c/1111/222222/3333?&im_rewards=1`
{% 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://help.impact.com/brand/what-would-you-like-to-learn-about/technical-integration-guides/track-cashback-and-loyalty-traffic-with-shopify.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.
