Using a custom domain for tracking
Serve your tracking code from your own domain for a branded setup.
Why use a custom domain?
- Branding: your tracking code and any shared statistics pages use your own domain.
- First-party setup: requests go to your own domain instead of a third-party one.
Custom domains are available depending on your plan.
Step 1: Choose a subdomain
Pick a subdomain you aren't using for anything else, for example stats.yourdomain.com or analytics.yourdomain.com. A dedicated subdomain is safest, because it doesn't affect your main website.
Step 2: Point the subdomain's DNS to Analytix66
- Sign in to the company that manages your domain's DNS, for example your registrar, Cloudflare or your web host.
- Add the DNS record shown on the custom domain page in Analytix66. This is usually a CNAME record from your subdomain, for example
stats, toanalytix66.com. - Save the record. DNS changes can take from a few minutes up to 24–48 hours to spread.
If you use Cloudflare, set the record to DNS only (grey cloud) while you set it up.
Step 3: Add the domain in Analytix66
- Open Domains from the menu.
- Choose the option to add a new domain.
- Enter your subdomain, for example
stats.yourdomain.com, without a path. - Save. The domain may show as pending until it has been checked and activated. If it stays pending for more than a day, contact support.
Step 4: Use the domain for your website
- Go to Websites and open your website's settings.
- Select your custom domain and save.
- Copy the updated tracking code. It now loads from your domain. Replace the old snippet on your site with it.
- Visit your site and check Realtime to confirm visits are still being recorded.
Tips
- Don't remove the DNS record while the domain is in use, or tracking will stop.
- HTTPS is required. If your browser shows a certificate warning on the subdomain, wait a little and try again, or contact us.
- Need help? Email support@analytix66.com with your domain name and we'll check your setup, usually within one business day.