Setup and operations
Using Subdomains to Isolate Routing Campaigns
A dedicated subdomain gives each campaign a distinct host boundary without requiring another parent domain, while still needing clear ownership throughout its operational lifecycle.
Choose a subdomain naming scheme
Use stable, non-sensitive labels that distinguish environment or campaign family without embedding short-lived creative names. Document reserved names and avoid collisions with application, email, or administrative hosts.
Decide what the host isolates
Map each subdomain to a clear flow scope, destinations, source policy, and owner. When several campaigns share a host, use path prefixes only with explicit precedence and unknown-path behavior.
Configure DNS and certificates
Add the precise record required by the deployment, verify authoritative resolution, and confirm HTTPS before sending traffic. Wildcard certificates or DNS records simplify some estates but can widen the impact of a mistake.
Plan reuse and retirement
Track active links and DNS dependencies before repointing or removing a hostname. A retired campaign can still receive late clicks, so select a safe response and retention period instead of immediately assigning the name elsewhere.
Test isolation explicitly
Send known visits to the new subdomain, a neighboring campaign host, an unknown path, and both destinations. A change intended for one host must not alter event attribution or responses on the others.