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

# Enable Hopbug (New)

> Connect Hopbug to Branch to attribute clicks and installs on programmatic and mobile app-install campaigns.

## Overview

[Hopbug](https://www.hopbug.com/) is an Indonesia-based digital marketing agency that runs performance and branding campaigns, including programmatic and mobile app-install advertising. Connect Hopbug to Branch to attribute clicks and installs and configure Postbacks.

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 Hopbug in the [new Branch experience](https://help.branch.io/marketer-hub/new-branch-overview.md). For information on Hopbug in legacy Branch, visit our [legacy guide](https://help.branch.io/marketer-hub/hopbug.md).

### Partner capabilities

| Capability | Details |
| --- | --- |
| Company type | Non-SAN ad network |
| Deep linking | Supported |
| Attribution | Click-through attribution |
| Ad campaign types | Acquisition campaigns |
| Ad formats | Banner, Interstitial |
| Click types | Client-side click |
| Supported platforms | iOS, Android |
| Link wrapping | Not supported |
| Cost ingestion support | Not supported |
| Pricing models | CPI, CPC |

## Before you begin

To set up the Hopbug 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.
- A Hopbug account with admin access.
- [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 Hopbug

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

Hopbug doesn't require credentials to activate. The integration is enabled automatically when you select **Enable Hopbug** on the Hopbug page.

## Configure attribution

By default, Hopbug uses your global app attribution settings. To set attribution windows specific to Hopbug, 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 Hopbug automatically activates postbacks, including `INSTALL`, `OPEN`, and `PURCHASE`. The default postback URL template is:

```url
http://offers.hopbug.affise.com/postback?clickid=${(last_attributed_touch_data.~click_id)!}
```

To add postbacks for additional events or to customize 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).

## Create a Branch Ad Link

Create a Branch Ad Link to use in your Hopbug campaigns. Branch uses the link to attribute clicks 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:

- **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-data-sources-new.md): review attributed installs and events where `Ad Partner Name = Hopbug`.
- **In Hopbug**: confirm that forwarded events are appearing in your Hopbug attribution reporting.

## Data mappings

### Campaign data

Branch populates the following fields from Hopbug campaign data.

| Branch field | Partner data |
| --- | --- |
| `~advertising_partner_name` | `"Hopbug"` (static) |

### Link parameters

By default, Branch automatically appends these link parameters to Hopbug ad links. When a user clicks the link, Hopbug provides the corresponding values, which Branch ingests and uses for attribution and reporting.

| Branch parameter | Link placeholder |
| --- | --- |
| Click ID | `{tid}` |
| Secondary Publisher | `{sub_aff_id}` |
| Click AAID | `{googleaid}` |
