# Digistore24 integration

Source: https://skro.eu/docs/integrations/digistore24-and-skro-integration

Connect Digistore24 to Skro, map click IDs, and configure postbacks to attribute conversions and revenue to your campaigns.

<Steps>

## Step 1. Add affiliate network to Skro [#step-1-add-affiliate-network-to-skro]

1. Go to **Affiliate Networks** and click **Create**.

![Add affiliate network](/images/docs/digistore24/digistore24_1.png)

2. Search Digistore24 and select the **Digistore24** template.

![Choose Digistore24 prefilled template](/images/docs/digistore24/digistore24_2.png)

3. Select your **Workspace** and **Copy** postback URL to your clipboard.

4. Click **Save & Close**.

![Save Digistore24 as affiliate network](/images/docs/digistore24/digistore24_3.png)

The Digistore24 affiliate network is now saved in Skro. Use the copied postback URL in Digistore24 in the next step.

## Step 2. 1 Setting up a postback URL for Digistore24 (Affiliate) [#step-2-1-setting-up-a-postback-url-for-digistore24-affiliate]

1. Log in to **Digistore24** account.

2. As an **Affiliate**, go to **Sales & partners** → **Integrations** page and click **Add s2s postback integration**.

![Add Digistore24 postback URL 1](/images/docs/digistore24/digistore24_4.png)

3. Set **Name** and thick all the **Events** that you want to track.

![Add Digistore24 postback URL 2](/images/docs/digistore24/digistore24_5.png)

4. Paste your **Postback URL** into the **Postback URL** field.

![Add Digistore24 postback URL 3](/images/docs/digistore24/digistore24_6.png)

5. Scroll down and click **Save**.

### Conversions via dynamic macros [#conversions-via-dynamic-macros]

Digistore24 supports 4 dynamic macros. Each macro corresponds to the events you want to track with its help:

- `{transaction_type}` = payment, refund, chargeback.
- `{order_type}` = initial_sale, upsell.
- `{billing_type}` = single_payment, subscription, installment
- `{billing_status}` = paying, completed, aborted.

<Callout type="warn">

Use only the macros corresponding to the conversion types you want to track. You don’t need to add all of them if that’s not your case.

</Callout>

We have used `{transaction_type}` in our prefilled template.

**Example of postback URL:**

<Callout type="info">

```text
https://skrotrack.com/postback?clickId={cid}&payout={amount_affiliate}&status={transaction_type}&transactionId={transaction_id}
```

</Callout>

### How to track conversions via **Order Type** dynamic macro? (Optional) [#how-to-track-conversions-via-order-type-dynamic-macro-optional]

1. To do that you will need to use **Custom Conversions** in Skro.

2. Create a two different custom conversions:

3. **initial_sale** - this is for **Purchase** events.

![Add Digistore24 postback URL 4](/images/docs/digistore24/digistore24_7.png)

4. **upsell** - this is for **Upsell** events.

![Add Digistore24 postback URL 5](/images/docs/digistore24/digistore24_8.png)

**Example of postback URL:**

<Callout type="info">

`https://skrotrack.com/postback?clickId={cid}&payout={amount_affiliate}&transactionId={transaction_id}&ce={order_type}`

</Callout>

<Card title="More info about Custom Conversions" href="/docs/postback/custom-conversions" />

## Step 3. 2 Setting up a postback URL for Digistore24 (Vendor) [#step-3-2-setting-up-a-postback-url-for-digistore24-vendor]

1. Log in to **Digistore24** account.

2. As **Vendor**, go to **Settings** → **Integrations (IPN) configuration** page and click **Add new connection**.

![Add Digistore24 postback URL 1](/images/docs/digistore24/digistore24_4_1.png)

3. Scroll down and click **S2S Postback** icon.

![Add Digistore24 postback URL 1](/images/docs/digistore24/digistore24_4_2.png)

4. Set **Name** and thick all the **Events** that you want to track.

![Add Digistore24 postback URL 2](/images/docs/digistore24/digistore24_4_3.png)

5. Paste your **Postback URL** into the **Postback URL** field.

![Add Digistore24 postback URL 3](/images/docs/digistore24/digistore24_4_4.png)

6. Scroll down and click **Save**.

### Conversions via dynamic macros [#conversions-via-dynamic-macros-1]

Digistore24 supports 4 dynamic macros. Each macro corresponds to the events you want to track with its help:

- `{transaction_type}` = payment, refund, chargeback.
- `{order_type}` = initial_sale, upsell.
- `{billing_type}` = single_payment, subscription, installment
- `{billing_status}` = paying, completed, aborted.

<Callout type="warn">

Use only the macros corresponding to the conversion types you want to track. You don’t need to add all of them if that’s not your case.

</Callout>

We have used `{transaction_type}` in our prefilled template.

**Example of postback URL:**

<Callout type="info">

`https://skrotrack.com/postback?clickId={cid}&payout={amount_vendor}&ce={transaction_type}&transactionId={transaction_id}`

</Callout>

### How to track conversions via **Order Type** dynamic macro? (Optional) [#how-to-track-conversions-via-order-type-dynamic-macro-optional-1]

1. To do that you will need to use **Custom Conversions** in Skro.

2. Create a two different custom conversions:

3. **initial_sale** - this is for **Purchase** events.

![Add Digistore24 postback URL 4](/images/docs/digistore24/digistore24_7.png)

4. **upsell** - this is for **Upsell** events.

![Add Digistore24 postback URL 5](/images/docs/digistore24/digistore24_8.png)

**Example of postback URL:**

<Callout type="info">

`https://skrotrack.com/postback?clickId={cid}&payout={amount_vendor}&transactionId={transaction_id}&ce={order_type}`

</Callout>

<Card title="More info about Custom Conversions" href="/docs/postback/custom-conversions" />

## Step 4. 1 How to track InitiateCheckout events on Digistore24 (Affiliate)? [#step-4-1-how-to-track-initiatecheckout-events-on-digistore24-affiliate]

1. Go to **Custom Conversion** and click **Create**.

2. Create a custom conversion for **InitiateCheckout**.

![Add InitiateCheckout event in Skro](/images/docs/digistore24/digistore24_9.png)

3. Log in to **Digistore24** account.

4. As an **Affiliate**, go to **Sales & partners** → **Tracking** page and click **Set up new tracking**.

![Add InitiateCheckout event in Digistore step 1](/images/docs/digistore24/digistore24_10.png)

5. Give a **Name** to your pixel.

6. Select **Sale Types** as **Initials Orders**.

7. Select **Tracking Type** as **Tracking pixel**.

8. Paste Skro postback URL into the **Tracking Pixel's URL** field

.

![Add InitiateCheckout event in Digistore step 2](/images/docs/digistore24/digistore24_11.png)

**Example of postback URL:**

<Callout type="info">

`https://skrotrack.com/postback?clickId=__cid__&ce=InitiateCheckout`

</Callout>

<Card title="More info about Custom Conversions" href="/docs/postback/custom-conversions" />

## Step 5. 2 How to track InitiateCheckout events on Digistore24 (Vendor)? [#step-5-2-how-to-track-initiatecheckout-events-on-digistore24-vendor]

1. Go to **Custom Conversion** and click **Create**.

2. Create a custom conversion for **InitiateCheckout**.

![Add InitiateCheckout event in Skro](/images/docs/digistore24/digistore24_9.png)

3. Log in to **Digistore24** account.

4. As **Vendor**, go to **My products** → **Tracking** page and click **Set up new tracking**.

![Add InitiateCheckout event in Digistore step 1](/images/docs/digistore24/digistore24_10_1.png)

5. Give a **Name** to your pixel.

6. Select **Sale Types** as **Initials Orders**.

7. Select **Tracking Type** as **Tracking pixel**.

8. Paste Skro postback URL into the **Tracking Pixel's URL** field

.

![Add InitiateCheckout event in Digistore step 2](/images/docs/digistore24/digistore24_11.png)

**Example of postback URL:**

<Callout type="info">

`https://skrotrack.com/postback?clickId=__cid__&ce=InitiateCheckout`

</Callout>

<Card title="More info about Custom Conversions" href="/docs/postback/custom-conversions" />

## Step 6. Get an offer from Digistore24 [#step-6-get-an-offer-from-digistore24]

1. In your Digistore24 account, go to **Marketplace**.

2. Select your offer from the list and click **Request Access** or click **Copy promo link**.

![Get Digistore24 Offer URL link](/images/docs/digistore24/digistore24_12.png)

## Step 7. Add offer to Skro [#step-7-add-offer-to-skro]

1. Go back to Skro and navigate to the **Offers** and click **Create**.

2. Choose your workspace.

3. Give a name to your offer.

4. Grab the offer link from Digistore24 and add it to Offer URL field and add this **`?cid={clickId}`** to your offer url.

**`{clickId}`** - The Skro click ID macro for conversion tracking.

**Example Offer URL:**

<Callout type="info">

`https://www.yourofferlink.com/DS24/Advanced-Amino/Muscle-Mass-Loss/HD.htm#aff=skro?cid={clickId}`

</Callout>

5. Choose Digistore24 from the **Affiliate Network** select box.

![Add Digistore24 offer](/images/docs/digistore24/digistore24_13.png)

6. Click **Save & Close**.

## Step 8. Create a campaign on Skro [#step-8-create-a-campaign-on-skro]

1. Start with the following guide:

<Card title="Get started with Facebook integration" href="/docs/integrations/facebook-meta-ads-integration" />

</Steps>

## Verify the setup [#verify-the-setup]

Follow a campaign link and complete a test conversion using your provider’s test workflow. Confirm that the original click ID reaches the provider and is returned to Skro, then check the event and revenue in your campaign report.

<Callout title="Troubleshooting">

If data is missing, check the selected workspace, integration, campaign, and reporting date range. Compare parameter names and macro values with the examples in this guide before repeating the test.

</Callout>

## Related guides [#related-guides]

<Cards>

<Card title="Postback URL parameters" href="/docs/postback/parameters-in-postback-urls" />

<Card title="Custom conversions" href="/docs/postback/custom-conversions" />

</Cards>
