Set up your custom tracking domain, step by step
Add the DNS record at Cloudflare, GoDaddy, Namecheap, Shopify, Wix and more
Written By David
Last updated 9 days ago
To use a custom tracking domain such as stats.yourshop.com, you add one line to your domain's settings. This line is called a DNS record. You don't need to be technical. It takes about 5 minutes, and this guide shows you exactly where to click.
What you're doing, in one sentence
You're putting up a signpost that says: "when someone asks for stats.yourshop.com, send them to Cromojo". Your website, your emails and everything else on your domain stay exactly as they are.
Before you start
In Cromojo, go to Settings > Analytics. Under Custom tracking domain (First-party tracking), click Set it up.
Keep that page open. It shows the three values you'll copy:
Always copy the values from your Cromojo page. The ones above are only an example.
Step 1: Find where your domain is managed
Your DNS records live with the company that manages your domain. It's usually where you bought the domain, but not always.
Not sure? Search for your domain on lookup.icann.org. Under Name servers, the names tell you who manages your DNS. For example, names ending in
cloudflare.commean Cloudflare, anddomaincontrol.commeans GoDaddy.Log in to that company's website. That's where you add the record.
Step 2: Add the record
Every provider calls things slightly differently, but it's always the same three boxes. Pick yours below.
Cloudflare
Open your domain and go to DNS > Records. Click Add record.
Type: CNAME. Name:
stats. Target:custom.cromojo.com.Important: click the orange cloud so it turns grey ("DNS only"). An orange cloud stops the setup from working.
Click Save.
GoDaddy
Go to My Products, find your domain and click DNS.
Click Add New Record.
Type: CNAME. Name:
stats. Value:custom.cromojo.com. Leave TTL as it is.Click Save.
Namecheap
Go to Domain List and click Manage next to your domain.
Open the Advanced DNS tab and click Add New Record.
Type: CNAME Record. Host:
stats. Value:custom.cromojo.com.Click the green tick to save.
Hostinger
Go to Domains, pick your domain and open DNS / Nameservers.
Under Manage DNS records, choose Type: CNAME. Name:
stats. Target:custom.cromojo.com.Click Add Record.
Squarespace Domains (including domains moved from Google Domains)
Go to Domains, click your domain and open DNS (or DNS Settings).
Under Custom records, click Add record.
Type: CNAME. Host:
stats. Data:custom.cromojo.com.Click Save.
Shopify (domain bought through Shopify)
In Shopify admin, go to Settings > Domains.
Click your domain, then Domain settings > Edit DNS settings.
Click Add custom record > CNAME record. Name:
stats. Points to:custom.cromojo.com.Click Confirm.
Wix (domain bought through Wix)
Go to Domains, click the menu next to your domain and choose Manage DNS Records.
Under CNAME (Aliases), click Add Record.
Host name:
stats. Value:custom.cromojo.com.Click Save.
Another provider (OVH, IONOS, Gandi, your web host...)
Look for a page called DNS, DNS zone, DNS records or Advanced DNS. Add a new record with the three values from your Cromojo page. If you can't find it, ask your provider's support: "Please add a CNAME record named stats pointing to custom.cromojo.com." They do this every day.
Step 3: Check it worked
Go back to Cromojo and click Verify.
When you see a green line saying the domain is pointing at us, click Save.
Cromojo then sets up the security certificate by itself, usually within a few minutes. When the box says Active, copy your new snippet and replace the old one on your website.
Verify says it can't find the record yet? That's normal. New records can take from a few minutes to a few hours to show up across the internet. Wait a little and click Verify again. You can close the page in the meantime: your current snippet keeps working and no visits are lost.
Common mistakes
Typing the full address in the Name box. Most providers add your domain for you. If you type
stats.yourshop.com, you may end up withstats.yourshop.com.yourshop.com. Type onlystats, unless your provider's own help says otherwise.Cloudflare's orange cloud. The record must be grey ("DNS only").
Choosing the wrong type. It must be CNAME, not A, TXT or URL redirect.
Using your main domain. The tracking domain must be a subdomain, such as
stats.yourshop.com. Your main address,yourshop.com, won't work.An old record with the same name. If a record named
statsalready exists, delete it or choose another name in Cromojo, such asdataort.
Still stuck?
Email support@cromojo.com with your website address and the name of your domain provider. A screenshot of your DNS page helps us spot the problem quickly.