# Cpamatica integration

Source: https://skro.eu/docs/integrations/cpamatica-integration

Connect Cpamatica 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/cpamatica/cpamatica_1.png)

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

![Choose Cpamatica prefilled template](/images/docs/cpamatica/cpamatica_2.png)

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

4. Click **Save & Close**.

![Save Cpamatica as affiliate network](/images/docs/cpamatica/cpamatica_3.png)

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

## Step 2. Setting up a postback URL [#step-2-setting-up-a-postback-url]

1. Log in to **Cpamatica** account.

2. Go to **Conversion tracking** section on the panel and click **Create**.

![Add Cpamatica postback URL 1](/images/docs/cpamatica/cpamatica_4.png)

3. Select the required values for the following filters: **Offers, Goal and Lead status**.

4. Paste **Postback URL** in the **Postback link** field.

5. Click **Create** to store the settings.

![Add Cpamatica postback URL 2](/images/docs/cpamatica/cpamatica_4_1.png)

### Global Postback [#global-postback]

<Callout type="info">

`https://skrotrack.com/postback?clickId={click_id}&payout={payout}&transactionId={transaction_id}`

</Callout>

## Step 3. Get an offer from Cpamatica [#step-3-get-an-offer-from-cpamatica]

1. Go to **Offers**.

2. Select your **offer** from the list and click it.

![Get Cpamatica Offer URL link 1](/images/docs/cpamatica/cpamatica_5.png)

3. Click **Get link** to get the offer link.

![Get Cpamatica Offer URL link 2](/images/docs/cpamatica/cpamatica_6.png)

## Step 4. Add offer to Skro [#step-4-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 Cpamatica and add it to Offer URL field and change the macros to this **`&click_id={clickId}`**

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

**Example Offer URL:**

<Callout type="info">

`https://example_offer.com/click?offer_id=11111&aff_id=222222&click_id={clickId}`

</Callout>

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

![Add Cpamatica offer](/images/docs/cpamatica/cpamatica_7.png)

6. Click **Save & Close**.

## Step 5. Create a campaign on Skro [#step-5-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>
