Track yourbrand.com/creator without any redirect. Your script detects vanity path landings automatically and attributes the visit to the right campaign.
The gold standard for podcast attribution — clean URLs, no third-party domains, 100% first-party.
No redirect servers. No third-party cookies. Just your domain, your tracker, and automatic attribution.
The podcast host says "go to yourbrand.com/tim" in the ad read. You've configured /tim as the vanity path in your Castlytics campaign.
The listener goes to yourbrand.com/tim — maybe right away, maybe hours later. Standard analytics marks this as direct traffic with no referrer.
When the page loads, the Castlytics script checks the URL path against your campaign vanity paths. It finds /tim matches the campaign for that creator.
A campaign_landing event is sent to Castlytics — the visitor is linked to the campaign. When they convert, the purchase is attributed to the right show.
Castlytics supports both. Here's when to use each.
yourbrand.com/tim
Best for: podcast ads, YouTube reads, radio-style placements
castlytics.app/r/abc123
Best for: show notes, newsletter links, clickable placements
Takes about 5 minutes. No developer required for the tracking script step.
Paste one script tag into your site's <head>. Works on any platform.
<script src="https://castlytics.app/tracker.js" data-key="YOUR_KEY" async></script>In Castlytics, create a campaign and enter the vanity path (e.g. /tim). The script will automatically watch for that path.
Give the host your vanity URL — yourbrand.com/tim — as their spoken CTA. Castlytics handles the rest when listeners arrive.
No. You can redirect /tim to your homepage or any landing page. The Castlytics script detects the original path before any redirect fires and records the attribution event. You just need to configure the path in your campaign.
Yes. Add the script to your theme.liquid file, set up a URL redirect in Shopify from /tim to your homepage or product page, and Castlytics will detect the path on landing. Connect the Shopify integration to auto-import orders as conversions without any extra code on your checkout page.
Castlytics matches paths exactly, not as prefixes, so /tim and /tim-podcast would be two separate campaigns. The script checks for exact matches, so there's no ambiguity.
Vanity paths require the tracking script on your own website — it's first-party, so it needs to run on your domain. If you don't have a tracking script installed, use a redirect link (castlytics.app/r/abc123) instead. You can always add a custom tracking domain like links.yourbrand.com for a branded redirect.
Yes. The attribution event fires on page load before any cookie is set. Even if the visitor blocks cookies, the vanity path landing is recorded. Cookie blocking only affects session continuity — if they convert on a different device later, that conversion won't link back to the original visit.
Free plan includes 3 campaigns, unlimited clicks, and 30-day attribution. No credit card required.
Create free account →