# Create a Deeplink URL

> Learn how to create a deeplink URL to track conversions and optimize ROAS with AnyTrack.io. Get step-by-step instructions for setting up this powerful tracking feature.

If you are promoting affiliate offers, sometimes you want to send traffic directly to the offer links without going through your website.

## Why Use Deeplinks?

Deeplinks solve a common tracking challenge for affiliate marketers. Without them, you lose valuable conversion data when sending traffic directly to offers from email campaigns, social media, or other external sources.

<Cards columns={2}>

  <Card title="📊 Maintain Tracking Accuracy" icon="chart-line">
    Track conversions even when bypassing your website
  </Card>

  <Card title="⚡ Improve User Experience" icon="user-check">
    Send users directly to relevant offers
  </Card>

  <Card title="💰 Optimize ROAS" icon="dollar-sign">
    Get complete attribution data for better campaign optimization
  </Card>

  <Card title="🌐 Expand Reach" icon="globe">
    Use any traffic source while maintaining tracking capabilities
  </Card>

</Cards>

## Popular Use Cases

## Related Resources

- [TikTok Ads](/docs/tiktok-ads)
- [Install AnyTrack Tag](/docs/install-anytrack-tag)
- [Event Mapping](/docs/event-mapping)

<FaqAccordion title="Popular Use Cases" items={[
  {
    question: "Social Media Platforms",
    answer: "<strong>Social Media Bio Links</strong> - Instagram, TikTok, LinkedIn profiles where you can't add tracking tags<br/><strong>YouTube Descriptions</strong> - Direct links in video descriptions<br/><strong>Social media messages</strong> promoting affiliate offers<br/><strong>Influencer campaigns</strong> across social media platforms"

  },
  {
    question: "Messaging & Communication",
    answer: "<strong>Email Signatures</strong> - Direct affiliate links in professional signatures<br/><strong>WhatsApp/Telegram</strong> - Shared links in messaging apps<br/><strong>Email campaigns</strong> sending traffic directly to affiliate offers"
  },
  {
    question: "Offline and Print Materials",
    answer: "<strong>QR Codes</strong> - Print materials linking to tracked affiliate offers<br/><strong>PDF Documents</strong> - Clickable links in downloadable resources<br/><strong>Business cards and brochures</strong> with trackable links"
  }
]} />

AnyTrack tracks your links only when the Tracking Tag loads on your website. Fire the tag through a redirect to enable tracking.

> 📘 **Good to know**
>
> This feature is available from the Personal plan and up.

## What is a Deeplink?

A deeplink is a redirect URL that tracks user interactions before sending them to their final destination.

> _In the context of the World Wide Web, deep linking is the use of a hyperlink that links to a specific, generally searchable or indexed, piece of web content on a website rather than the website's home page._
>
> -Wikipedia

### Anatomy of a Deeplink

<Columns layout="auto">
  <Column>
    **Complete Deeplink URL:**
    ```http
    https://data.your-affiliate-link.com/deeplink?aid=y3Hd2xqGDbWy&url=https%3A%2F%2Fanytrack.io%2Faffiliate-program
    ```
  </Column>
</Columns>

<Cards columns={2}>

  <Card title="🌐 Base URL" icon="link">
    ```http
    https://data.your-affiliate-link.com/deeplink
    ```
    Your tracking domain endpoint
  </Card>

  <Card title="🎯 Destination URL" icon="external-link-alt">
    ```http
    https://anytrack.io/affiliate-program/
    ```
    Where users actually land
  </Card>

</Cards>

> 🚧 **Important**
>
> `https%3A%2F%2Fanytrack.io%2Fanytrack-affiliate-program%2F`

## How to Create Your Deeplink

<Cards columns={1}>

  <Card title="Step-by-Step Process" icon="list-ol">
    1. Go to <a href="https://utmhq.com">UtmHQ.com</a>
    2. Add your **Property ID** (find this in your <a href="https://dashboard.anytrack.io/asset/tracking-script">AnyTrack Dashboard</a>)
    3. Add the destination URL
    4. Click "Generate Short Link"
    5. Copy the short link or full URL
  </Card>

</Cards>

### Interactive Tutorial

<HTMLBlock html={"\n<iframe src=\"https://scribehow.com/embed/How_to_create_a_deeplink_for_AnyTrack__eoDmpODtRMyhIolc9DJuMA?skipIntro=true&as=video\" width=\"100%\" height=\"640\" allow=\"fullscreen\" style=\"aspect-ratio: 16 / 12; border: 0; min-height: 480px\"></iframe>\n"} />

### Short URL Benefits

<Callout icon="📘" theme="info">
You can use your own short URL service, but our provided short URL lets you configure **Open Graph** tags (the preview content that displays on social media).

<Image border={false} src={readmeAsset1} />

</Callout>

## Video Tutorial

<Embed typeOfEmbed="youtube" url="https://www.youtube.com/watch?v=If_y0VXLVsY" html="%3Ciframe%20class%3D%22embedly-embed%22%20src%3D%22%2F%2Fcdn.embedly.com%2Fwidgets%2Fmedia.html%3Fsrc%3Dhttps%253A%252F%252Fwww.youtube.com%252Fembed%252FIf_y0VXLVsY%253Ffeature%253Doembed%26display_name%3DYouTube%26url%3Dhttps%253A%252F%252Fwww.youtube.com%252Fwatch%253Fv%253DIf_y0VXLVsY%26image%3Dhttps%253A%252F%252Fi.ytimg.com%252Fvi%252FIf_y0VXLVsY%252Fhqdefault.jpg%26type%3Dtext%252Fhtml%26schema%3Dyoutube%22%20width%3D%22854%22%20height%3D%22480%22%20scrolling%3D%22no%22%20title%3D%22YouTube%20embed%22%20frameborder%3D%220%22%20allow%3D%22autoplay%3B%20fullscreen%3B%20encrypted-media%3B%20picture-in-picture%3B%22%20allowfullscreen%3D%22true%22%3E%3C%2Fiframe%3E" href="https://www.youtube.com/watch?v=If_y0VXLVsY" providerUrl="https://www.youtube.com/" providerName="YouTube" />

<FaqAccordion
  title="FAQ and Troubleshooting"
  icon="fa-duotone fa-circle-question"
  items={[
    {
      question: "What do I do if my offer link is not recognized?",
      answer: "If your offer link is not part of the AnyTrack integration catalog, manually append the <code>subid</code> parameter and the <code>--CLICK-ID--</code> token to your link.<br /><br /><strong>Example:</strong> If your partner's <code>subid</code> parameter is <code>custom_id</code>, add it like this:<br /><br /><pre><code>https://anytrack.io?custom_id=--CLICK-ID--</code></pre>"

    },
    {
      question: "Can I use short URL services with deeplinks?",
      answer: "Yes. You can embed the final deeplink URL in a short URL provider such as Bitly, Replug, or HubSpot. The AnyTrack-provided short URL also lets you configure Open Graph tags for social media previews."
    },
    {
      question: "Can I use deeplinks to advertise on Google Ads or Facebook Ads?",
      answer: "Ad platforms typically reject redirect URLs during review. Deeplinks work best with email and social media channels that allow custom URLs."
    },
    {
      question: "Can I use deeplinks in email campaigns?",
      answer: "Yes. Email campaigns are an ideal use case for deeplink tracking."
    },
    {
      question: "What should I do if my deeplink does not work?",
      answer: "Verify your property is active and your account is not limited. Check that the destination URL is properly formatted. Confirm your custom domain points to the correct DNS records.<br /><br />Deeplinks do not rely on cookies to redirect visitors. However, ad blockers may prevent the Tracking Tag from loading and block the redirect."
    }
  ]}
/>
