> ## Documentation Index
> Fetch the complete documentation index at: https://docs.datalyr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# First-party tracking

> Serve supported tracking and campaign links from your own subdomain.

A first-party tracking domain uses a subdomain you control, such as `go.example.com`, for the Datalyr install path and supported tracking-link traffic. It can reduce blocking and keep links on your brand.

## Add a domain

1. Open **Settings → Domains**.
2. Add a dedicated subdomain. Datalyr suggests `go.` because tracker-like hostnames are more likely to be blocked.
3. Copy the DNS records shown for that domain.
4. Add them at your DNS provider exactly as displayed.
5. Return to Datalyr and select **Verify**.

The domain moves through Pending, Verifying, Active, or Failed. DNS changes can take time. Do not remove the shared install while verification is incomplete.

Once active, Datalyr can use the preferred active domain in the install snippet, and it becomes available when creating tracking links. If Shopify is connected, the domain card can offer **Route Shopify** to repoint the supported Web Pixel flow.

## Verify the result

1. Copy the install snippet from **Settings → Tracking** after activation.
2. Load a tracked page in a private window.
3. Confirm the script request uses your domain.
4. Find the pageview in **Live** or **Events**.
5. Create and test one link hosted on the domain.

<Warning>
  Removing a live domain can affect install snippets, redirect links, and a routed Shopify pixel. Move those flows first and follow the removal warning shown in Datalyr.
</Warning>

First-party delivery does not override consent, GPC, DNT, or other privacy controls.
