# Digistore24 Merchants

> Set up server-side conversion tracking for Digistore24 merchants using the built-in Vendor Postback URL from the AnyTrack Digistore24 integration. Track Purchases with full buyer and order data across Google Ads, Facebook Ads, and TikTok Ads.

## What Is Server-Side Tracking for Merchants?

Server-side tracking sends conversion data directly from Digistore24 servers to AnyTrack, bypassing browser limitations and ad blockers. For Digistore24 merchants, this means accurate conversion reporting regardless of whether customers use privacy-focused browsers or extensions.

AnyTrack receives real-time IPN (Instant Payment Notification) data from Digistore24 and forwards it to ad platforms like Facebook Ads, Google Ads, and TikTok Ads via the [Conversion API](/docs/conversion-api).

<Prerequisites
  title="Before you begin"
  items={[
    { label: "You have an active AnyTrack account with a paid subscription", done: true },
    { label: "You have a Digistore24 vendor (merchant) account", done: true },
    { label: "The AnyTrack Tracking Tag is installed on your website", done: true },
    { label: "You have at least one active product in Digistore24", done: true },
  ]}
/>

## The Digistore24 Vendor Postback URL

The Digistore24 integration in your AnyTrack dashboard now exposes a dedicated **Vendor Postback URL** built specifically for merchants. It includes the standard Digistore24 transaction data plus buyer details (`first_name`, `last_name`, `company`, `email`), the `order_id`, and `amount_vendor`.

Example Vendor Postback URL:

```http
https://t1.anytrack.io/<your-tracking-id>/collect/digistore24?cid={cid}&sid1={sid1}&sid2={sid2}&sid3={sid3}&sid4={sid4}&sid5={sid5}&campaignkey={campaignkey}&country={country}&amount_affiliate={amount_affiliate}&amount_brutto={amount_brutto}&amount_netto={amount_netto}&currency={currency}&product_id={product_id}&product_name={product_name}&transaction_id={transaction_id}&transaction_type={transaction_type}&merchant_id={merchant_id}&merchant_name={merchant_name}&billing_status={billing_status}&billing_type={billing_type}&order_type={order_type}&upsell_no={upsell_no}&is_test={is_test}&affiliate_id={affiliate_id}&affiliate_name={affiliate_name}&datetime_unix={datetime_unix}&random={random}&first_name={first_name}&last_name={last_name}&company={company}&email={email}&order_id={order_id}&amount_vendor={amount_vendor}
```

> 📘 **Example URL**
>
> The URL above is an example. Always copy your own Vendor Postback URL from the Digistore24 integration page in your [AnyTrack dashboard](https://dashboard.anytrack.io/catalog/digistore24) — your tracking ID is unique to your account.

## Set Up the Vendor Postback in Digistore24

### Step 1: Copy the Vendor Postback URL from AnyTrack

1. Go to the [Integration Catalog](https://dashboard.anytrack.io/catalog/) in your AnyTrack dashboard and open the **Digistore24** integration. If it is not yet installed, click **Install**.
2. On the Digistore24 integration page, locate the **Vendor Postback URL (For Vendors/merchant owners ONLY)** section.
3. Copy the full Vendor Postback URL.

### Step 2: Add the Postback URL in your Digistore24 vendor account

1. Log in to your Digistore24 vendor account.
2. Go to **Account** > **S2S Postback** and switch to the **Merchant Postbacks** tab (this is separate from the Affiliate IPN).
3. Click **Add new connection**.
4. Enter a **Name** for the connection (visible only to you).
5. Select the **Products** the postback should fire for.
6. Select the **Events** you want to transmit (typically Payment, Refund, Chargeback, and Rebill events).
7. Paste the Vendor Postback URL from Step 1.
8. Set **Currency** to "Do not currency convert amounts".
9. Make sure the connection is set to **Active**.
10. Click **Save**.
11. Click **Test connection** to confirm Digistore24 can reach AnyTrack.

> ❗ **Important**
>
> The Vendor Postback URL must be added under **Merchant Postbacks**, not the Affiliate S2S Postback. They are two different settings in Digistore24 and they send different placeholders.

### Step 3: Configure your promo links

For the `click_id` to be available in the postback, your Digistore24 promo links must carry it. Append the AnyTrack click ID as the `cid` parameter on every promo link you use on your own website:

```
https://www.digistore24.com/redir/PRODUCT/AFFILIATE/CAMPAIGN?cid=--CLICK-ID--
```

The `--CLICK-ID--` token is automatically replaced by the AnyTrack [Tracking Tag](/docs/install-anytrack-tag) when a visitor clicks the link. You can also pass `sid1` through `sid5` for extra tracking dimensions.

## Parameter Mapping Reference

The Vendor Postback URL is fully predefined — you do not need to map fields manually. The table below shows what each Digistore24 placeholder represents and how AnyTrack uses it.

### Standard Event Attributes

| Digistore24 Placeholder | AnyTrack Attribute | Description                                                |
| ----------------------- | ------------------ | ---------------------------------------------------------- |
| `{cid}`                 | `click_id`         | The AnyTrack click ID passed through the promo link        |
| `{amount_brutto}`       | `value`            | Gross transaction amount used as the conversion value      |
| `{amount_vendor}`       | `amount_vendor`    | Amount paid to the vendor after Digistore24 fees           |
| `{transaction_id}`      | `transaction_id`   | Unique transaction identifier                              |
| `{product_id}`          | `product_id`       | Digistore24 product ID                                     |
| `{product_name}`        | `product_name`     | Product name                                               |
| `{currency}`            | `currency`         | Transaction currency (e.g., USD)                           |
| `{email}`               | `email`            | Buyer email address                                        |
| `{first_name}`          | `firstName`        | Buyer first name                                           |
| `{last_name}`           | `lastName`         | Buyer last name                                            |
| `{company}`             | `company`          | Buyer company name                                         |
| `{country}`             | `country`          | Buyer country                                              |
| `{order_id}`            | `order_id`         | Digistore24 order identifier                               |
| `{datetime_unix}`       | `timestamp`        | Event timestamp as UNIX time                               |

### Pass-Through Attributes

| Digistore24 Placeholder | Description                                                                                                  |
| ----------------------- | ------------------------------------------------------------------------------------------------------------ |
| `{transaction_type}`    | payment, refund, chargeback, payment_missed, payment_denial, rebill_cancelled, rebill_resumed, last_paid_day |
| `{billing_status}`      | paying, completed, aborted                                                                                   |
| `{billing_type}`        | single_payment, subscription, installment                                                                    |
| `{order_type}`          | initial_sale, upsell                                                                                         |
| `{upsell_no}`           | Upsell number (0 = initial sale, 1 = first upsell)                                                           |
| `{is_test}`             | Test payment flag (1 for test, empty for real)                                                               |
| `{affiliate_id}`        | Affiliate ID, if the sale came through an affiliate                                                          |
| `{affiliate_name}`      | Affiliate name                                                                                               |
| `{merchant_id}`         | Vendor ID                                                                                                    |
| `{merchant_name}`       | Vendor name                                                                                                  |
| `{campaignkey}`         | Campaign key from the promo link                                                                             |
| `{sid1}` – `{sid5}`     | Sub IDs from the promo link                                                                                  |

## Validate Your Setup

After saving the Vendor Postback in Digistore24:

1. Place a test order on your product (Digistore24 supports test payments) or wait for a real conversion.
2. Open the [Event Log](/docs/event-log) in your AnyTrack dashboard.
3. Confirm a `Purchase` event appears with the correct `value`, `currency`, and `transaction_id`.
4. Verify buyer fields (`email`, `firstName`, `lastName`) and the `order_id` are present in the event attributes.

If conversions do not appear, check the [Troubleshooting guide](/docs/troubleshooting-integrations) for common integration issues.

<FaqAccordion
  title="FAQ and Troubleshooting"
  icon="fa-duotone fa-circle-question"
  items={[
    {
      question: "Where do I find the Vendor Postback URL in AnyTrack?",
      answer: "Open the Digistore24 integration in your AnyTrack dashboard. The page shows two predefined URLs — copy the one labeled Vendor Postback URL (For Vendors/merchant owners ONLY). The tracking ID in the URL is unique to your account."
    },
    {
      question: "What is the difference between the Affiliate and Vendor Postback URLs?",
      answer: "The Affiliate Postback URL is for marketers promoting other vendors' products. The Vendor Postback URL is for merchants selling their own products and includes additional buyer and order parameters: first_name, last_name, company, email, order_id, and amount_vendor."
    },
    {
      question: "Where in Digistore24 do I paste the Vendor Postback URL?",
      answer: "In your Digistore24 vendor account, go to Account > S2S Postback and switch to the Merchant Postbacks tab. Add a new connection there. Do not use the Affiliate IPN — that area sends a different set of placeholders."
    },
    {
      question: "What transaction types trigger the Vendor Postback?",
      answer: "Digistore24 sends postbacks for several transaction types: payment, refund, chargeback, payment_missed, payment_denial, rebill_cancelled, rebill_resumed, and last_paid_day. AnyTrack receives all of them. Use the transaction_type parameter to filter or segment conversions in your workflow."
    },
    {
      question: "Can I track subscriptions and recurring payments?",
      answer: "Yes. Digistore24 sends a postback for every billing event, including recurring subscription payments and installment charges. The billing_type parameter indicates whether the product uses single_payment, subscription, or installment billing."
    },
    {
      question: "How do I exclude test transactions from my reports?",
      answer: "The is_test parameter is set to 1 for test payments and empty for real payments. You can use this parameter to filter test transactions in your AnyTrack dashboard or downstream integrations."
    },
    {
      question: "Do I need the Tracking Tag installed if I use the Vendor Postback URL?",
      answer: "Yes. The Tracking Tag generates the click_id that links website sessions to conversions. Without the Tracking Tag, the cid placeholder in the Postback URL will be empty and AnyTrack cannot attribute conversions to ad campaigns."
    }
  ]}
/>
