# YTZ integration

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

Connect YTZ 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/ytz/ytz_1.png)

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

![Choose YTZ prefilled template](/images/docs/ytz/ytz_2.png)

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

4. Click **Save & Close**.

![Save YTZ as affiliate network](/images/docs/ytz/ytz_3.png)

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

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

1. Log in to **YTZ** account.

2. Go to the **Postback** section.

3. Click + on the far right to Add Account Level Postback.

4. Make sure you select correct protocol **https://**

5. Paste your postback URL in the box.

6. Click **Create Postback**.

![Add YTZ postback URL 2](/images/docs/ytz/ytz_4.png)

**Global Postback**

<Callout type="info">

`https://skrotrack.com/postback?clickId={S1}&payout={REVENUE}`

</Callout>

## Step 3. Get an offer from YTZ [#step-3-get-an-offer-from-ytz]

1. Go to **Campaigns** section on the panel.

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

![Get YTZ Offer URL link 1](/images/docs/ytz/ytz_5.png)

3. Copy Offer URL.

![Get YTZ Offer URL link 1](/images/docs/ytz/ytz_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 YTZ and add it to Offer URL field and change the macros to this **`kw={trafficSourceId}&s1={clickId}`**

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

**`{trafficSourceId}`** - It's your traffic source ID.

**Example Offer URL:**

<Callout type="info">

`https://cmsa.trck.com/?kw={trafficSourceId}&s1={clickId}`

</Callout>

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

![Add YTZ offer](/images/docs/ytz/ytz_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>
