Custom tracking domain
Send your analytics through a subdomain of your own website, so fewer events are lost to ad blockers.
By default, the web snippet sends events to your region's address, such as https://app.myjourneyanalytics.com. Some ad blockers and privacy tools block requests to analytics services, which means some visits are never counted.
A custom tracking domain sends those requests through a subdomain of your own site instead, such as t.example.com. You add one DNS record; the app checks it, and the domain is then served with its own HTTPS certificate.
Custom tracking domains are available on plans that include Custom tracking domains. Your plan sets how many domains your organization can add. Adding and managing them needs organization admin access.
1. Add your domain in the app
- Open Settings → Organization → Managed reverse proxy.
- Click Add managed proxy and enter the subdomain you want to use, for example
t.example.com. Choose a neutral name; names containing words like "analytics" or "tracking" are more likely to be blocked. - Click Add. The app shows the CNAME record to create.
2. Create the CNAME record
In the DNS settings for your domain, create the CNAME record exactly as the app shows it:
| Type | Name | Target |
|---|---|---|
| CNAME | t (your subdomain) | the target shown in the app |
3. Wait for the domain to go live
The domain's status in the list changes as each step completes:
| Status | Meaning |
|---|---|
| Waiting | The app is waiting to see your CNAME record. |
| Issuing | The record was found and the HTTPS certificate is being set up. |
| Live | The domain is ready to use. |
| Erroring | Something went wrong. Use Retry from the row's menu. |
| Timed out | The CNAME record was not found in time. Fix the record, then use Retry, or delete the domain and add it again. |
DNS changes usually appear within minutes, but can take up to a day or two depending on your provider.
Open a domain's row to see its CNAME target again. Diagnose, in the row's menu, runs a set of checks and suggests a fix for anything that fails.
4. Update your snippet
Once a domain is live, the settings page shows Update your SDK configuration with the code to use, and the snippet under Settings → Project → General uses your new domain automatically. Copy the updated snippet to your site, or change api_host in your existing snippet to your new subdomain, for example from https://app.myjourneyanalytics.com to https://t.example.com.
The updated snippet also sets ui_host to the app's own address, so links from your site to the app, such as the toolbar, still open the app.
Then check that events are arriving, as you did when you first installed the snippet.
Removing a domain
Choose Delete from the domain's row menu. Events sent to a deleted domain are not processed, so update your snippet first.
Troubleshooting
- Stuck on Waiting: check the record's name and target for typos, and that it is a CNAME rather than an A record.
- Erroring: make sure the record is not proxied at your DNS provider, and that no CAA record on your domain prevents certificates from being issued. Run Diagnose for details.
- Still blocked: some privacy tools block by behaviour rather than by address, so a custom domain reduces, but cannot eliminate, lost events.
Can't find what you need? Contact support