> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tracklysms.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TUNE/HasOffers

> Sync offers and track conversions from TUNE

Integrate with TUNE (formerly HasOffers) to sync offers and automatically track conversions.

## Overview

The TUNE integration provides:

* Automatic offer import
* Real-time conversion tracking
* Revenue attribution
* Payout synchronization

## Setup

### Prerequisites

<Check>TUNE account with API access</Check>
<Check>Network API key from TUNE</Check>
<Check>Admin access in Trackly</Check>

### Step 1: Add Integration

1. Go to **Integrations**
2. Click **Add Integration**
3. Select **TUNE/HasOffers**

### Step 2: Enter Credentials

| Field      | Value                       |
| ---------- | --------------------------- |
| Network ID | Your TUNE network ID        |
| API Key    | Your TUNE API key           |
| API Domain | Usually `api.hasoffers.com` |

Click **Test Connection** to verify.

### Step 3: Import Offers

1. Go to **Offers**
2. Click **Sync from TUNE**
3. Select offers to import
4. Click **Import**

## Tracking Clicks

Paste your TUNE tracking link as-is — no click-id parameter is needed. Trackly appends its click identifier (`ad_id`) to the link automatically when a contact clicks, and conversion reports are matched back to that identifier by the sync.

If your link contains a `{transaction_id}` macro, Trackly fills it at click time. Do not add other `{...}` placeholders — unrecognized single-brace macros are stripped from the URL.

No postback configuration is required in TUNE — conversions are pulled automatically through the connected integration. (A per-offer postback URL, generated in the offer's **Postback Config** section, is also supported as an alternative; see [Revenue Tracking](/guides/offers/revenue-tracking).)

## Syncing Offers

### Manual Sync

1. Go to **Offers**
2. Click **Sync from TUNE**
3. Choose offers
4. Import

### Auto-Sync

Enable automatic syncing:

1. Go to **Integrations > TUNE**
2. Enable **Auto-sync**
3. Set frequency

## What Syncs

| TUNE Field     | Trackly Field |
| -------------- | ------------- |
| Offer name     | Name          |
| Preview URL    | Tracking URL  |
| Default payout | Payout        |
| Status         | Status        |
| Advertiser     | Advertiser    |

## Conversion Tracking

When conversions happen:

1. TUNE fires postback to Trackly
2. `click_id` matches to original click
3. Revenue attributed to message
4. Reports updated

## Troubleshooting

<AccordionGroup>
  <Accordion title="Connection failed">
    * Verify API key is correct
    * Check network ID matches
    * Ensure API access is enabled in TUNE
  </Accordion>

  <Accordion title="Offers not syncing">
    * Check TUNE has offers available
    * Verify API permissions
    * Try manual sync
  </Accordion>

  <Accordion title="Conversions missing">
    * Verify postback URL is correct
    * Check click\_id is being passed
    * Test with TUNE's postback tester
  </Accordion>
</AccordionGroup>

For detailed setup, see [TUNE Integration Guide](/guides/offers/tune-integration).

## Next Steps

<CardGroup cols={2}>
  <Card title="Detailed Guide" icon="book" href="/guides/offers/tune-integration">
    Full setup instructions
  </Card>

  <Card title="Revenue Tracking" icon="dollar-sign" href="/guides/offers/revenue-tracking">
    Attribution and reporting
  </Card>
</CardGroup>
