> For the complete documentation index, see [llms.txt](https://help.branch.io/llms.txt).

# Enable ShopBack (New)

> Integrate ShopBack with Branch to earn cashback, track conversions, and enhance your app's marketing performance.

## Overview

[ShopBack](https://www.shopback.com) is a rewards and discovery platform across Asia-Pacific that helps users find merchants and earn cashback while delivering performance-based marketing to advertisers. Connect ShopBack to Branch to attribute clicks and installs, forward conversion events via Postbacks, and deep link users into your app.

For more information about integrating ad partners in general, visit our [Ad Partner Integration Guide](https://help.branch.io/marketer-hub/ad-partner-integration-guide-new.md).

> **Note: this guide is for new Branch**
>
> Please note that this guide is about integrating ShopBack in the [new Branch experience](https://help.branch.io/marketer-hub/new-branch-overview.md). For information on ShopBack in legacy Branch, visit our [legacy guide](https://help.branch.io/marketer-hub/shopback.md).

### Partner capabilities

| Capability | Details |
| --- | --- |
| Company type | Rewards and discovery platform |
| Deep linking | Supported |
| Attribution | Click-through attribution |
| Ad campaign types | Acquisition campaigns, Retargeting campaigns |
| Ad formats | Banners, Interstitials, Native store placements, In-app challenges and badges, Push notifications, QR codes (offline) |
| Click types | Server-to-server (S2S) app redirection, Client-side event tracking |
| Supported platforms | iOS, Android |
| Link wrapping | Supported |
| Cost ingestion support | Not supported |
| Pricing models | CPA |

## Before you begin

To set up the ShopBack integration, you need:

- Ad partner integrations enabled for your Branch account. Availability varies by Branch plan. See [Branch pricing](https://www.branch.io/pricing/) or contact your Branch representative.
- A Branch account with access to **Configuration > Ad Partners** and admin permissions to enable and configure integrations.
- The Branch SDK implemented in your app ([iOS](https://help.branch.io/developer-hub/ios-sdk-overview.md) | [Android](https://help.branch.io/developer-hub/android-sdk-overview.md)) with [event tracking](https://help.branch.io/developer-hub/track-branch-events.md) configured.
- A ShopBack account with admin access, along with your ShopBack **Security Token**. Contact your ShopBack account manager to obtain it.
- [PAM](https://help.branch.io/marketer-hub/predictive-aggregate-measurement.md) enabled (recommended).

> **Note: PAM uses two separate toggles**
>
> The **PAM for Publishers** toggle for this partner, found under **Partner settings** > **Manage account**, is separate from the account-level **PAM switch**. **PAM for Publishers** must be enabled to reconcile conversion events with your partner. To attribute events with PAM, you also need PAM enabled on the [Attribution page](https://help.branch.io/account-hub/attribution-page-new.md) under **Configuration** > **Attribution**. Learn more in our [PAM Overview](https://help.branch.io/marketer-hub/predictive-aggregate-measurement.md#pam-for-publishers).

## Enable ShopBack

To begin, navigate to **Configuration > Ad Partners > ShopBack**.

Branch enables ShopBack's basic setup automatically. On the **Status** tab, the **Ad Linking** and **Attribution** cards show **Enabled**. The **Postbacks** card shows **Needs Setup** until you provide your Security Token.

To complete postback setup, select **Partner settings** to open the **Manage account** dialog. Under **Postback Credentials**, enter your ShopBack **Security Token**, then select **Save**. This token is automatically added to your ShopBack postbacks.

(Recommended) To configure the optional **PAM for Publishers** privacy setting, select **Partner settings** to open the **Manage account** dialog and enable the toggle. When enabled, [PAM for Publishers](https://help.branch.io/marketer-hub/predictive-aggregate-measurement.md#pam-for-publishers) removes advertiser-specific user identifiers from postbacks for users who haven't opted in via Apple's App Tracking Transparency (ATT) framework, prioritizing identifiers provided directly by ShopBack.

## Configure attribution

By default, ShopBack uses your global app attribution settings. To set attribution windows specific to ShopBack, enable the **Override global app settings** toggle on the **Attribution windows** tab.

For more information, follow [Configure attribution](https://help.branch.io/marketer-hub/ad-partner-integration-guide-new.md#configure-attribution) in the general [Ad Partner Integration Guide](https://help.branch.io/marketer-hub/ad-partner-integration-guide-new.md).

## Configure postbacks

Enabling ShopBack automatically activates postbacks for `INSTALL`, `OPEN`, and `PURCHASE`. To review or add postbacks, select the **Postback config** tab on the ShopBack page. The default postback URL template is:

```url
http://shopback.go2cloud.org/aff_goal?a=lsr&goal_id={goal_id}&transaction_id={click_id}&security_token={security_token}&adv_sub={event_id}&adv_sub4={event_value}&datetime={event_time}
```

To add postbacks for additional events or to customize postback behavior, follow [Configure postbacks](https://help.branch.io/marketer-hub/ad-partner-integration-guide-new.md#configure-postbacks) in the general [Ad Partner Integration Guide](https://help.branch.io/marketer-hub/ad-partner-integration-guide-new.md).

> **Note: ShopBack Goal IDs**
>
> ShopBack requires a Goal ID that corresponds to each postback. Provide the Goal ID for each event you configure, then select **Save**. Contact your ShopBack account manager to learn how to access your Goal IDs.

## Create a Branch Ad Link

Create a Branch Ad Link to use in your ShopBack campaigns. Branch uses the link to attribute clicks and installs and deep link users into your app.

Follow [Create Ad Links](https://help.branch.io/marketer-hub/ad-links-new.md).

## Verify your data

After your integration is connected and events are flowing, you can verify data is reaching Branch and ShopBack:

- **In Branch** [**Liveview**](https://app.branch.io/testing-and-monitoring/events): confirm that events from your app appear in real time. This is the fastest way to confirm SDK events are firing.
- **In Branch** [**Analysis dashboards**](https://help.branch.io/marketer-hub/analysis-dashboards-overview-new.md): review attributed installs and events where `Ad Partner Name = ShopBack`.
- **In ShopBack**: confirm that forwarded events are appearing in your ShopBack attribution reporting.

## Data mappings

### Campaign data

Branch populates the following fields from ShopBack campaign data.

| Branch field | Partner data |
| --- | --- |
| `~advertising_partner_name` | `"ShopBack"` (static) |
| `~feature` | `"paid advertising"` (static) |
