# Set up a tracking domain with Cloudflare

Source: https://skro.eu/docs/tracking-domain/cloudflare-and-skro

Configure a custom tracking subdomain in Cloudflare, add the CNAME record required by Skro, and verify the connection.

Use a custom tracking domain for your campaign links. This guide uses `go.example.com` and points it to `skrotrack.com`.

<Callout title="Before you begin">
You need access to your domain’s DNS settings and the **Settings → Domains** section in Skro. Use a subdomain, such as `go.example.com`, for this setup.
</Callout>

<Steps>

## Step 1. Add the domain in Skro [#step-1-add-the-domain-in-skro]

1. In Skro, open **Settings → Domains**.
2. Find **Tracking Domains** and add `go.example.com`.
3. Review the CNAME configuration shown for your domain.

![Add a custom tracking domain in Skro](/images/docs/tracking-domain/domain1.png)

![CNAME configuration for the domain](/images/docs/tracking-domain/domain2.png)

## Step 2. Create the CNAME record in Cloudflare [#step-2-create-the-cname-record-in-cloudflare]

1. Sign in to Cloudflare and select the domain.
2. Open **DNS → Records → Add Record**.
3. Enter these values:

| Field | Value |
| --- | --- |
| **Type** | CNAME |
| **Name** | `go` |
| **Target** | `skrotrack.com` |
| **Proxy status** | Off / DNS only |

![Cloudflare CNAME record for a tracking domain](/images/docs/tracking-domain/domain6.png)

4. Save the DNS record.

## Step 3. Verify the domain [#step-3-verify-the-domain]

Allow time for the DNS change to propagate, then return to **Tracking Domains** in Skro and verify the domain.

![Verify the custom tracking domain in Skro](/images/docs/tracking-domain/domain3.png)

</Steps>

## Troubleshooting [#troubleshooting]

Check that the record uses the correct subdomain and CNAME target. Keep the Cloudflare proxy disabled for this record. If verification fails immediately after saving, wait for DNS propagation and try again.

## Related guides [#related-guides]

<Cards>
  <Card title="Namecheap tracking domain" href="/docs/tracking-domain/namecheap-and-skro" />
  <Card title="Postback URL parameters" href="/docs/postback/parameters-in-postback-urls" />
</Cards>
