Skip to main content
Web Analytics

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

  1. In Cromojo, go to Settings > Analytics. Under Custom tracking domain (First-party tracking), click Set it up.

  2. Keep that page open. It shows the three values you'll copy:

Type

CNAME

Name (sometimes called Host)

stats 
(This is an example subdomain.
Pick whichever you want)

Points to (sometimes called Value or Target)

custom.cromojo.com

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.com mean Cloudflare, and domaincontrol.com means 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

  1. Open your domain and go to DNS > Records. Click Add record.

  2. Type: CNAME. Name: stats. Target: custom.cromojo.com.

  3. Important: click the orange cloud so it turns grey ("DNS only"). An orange cloud stops the setup from working.

  4. Click Save.

GoDaddy

  1. Go to My Products, find your domain and click DNS.

  2. Click Add New Record.

  3. Type: CNAME. Name: stats. Value: custom.cromojo.com. Leave TTL as it is.

  4. Click Save.

Namecheap

  1. Go to Domain List and click Manage next to your domain.

  2. Open the Advanced DNS tab and click Add New Record.

  3. Type: CNAME Record. Host: stats. Value: custom.cromojo.com.

  4. Click the green tick to save.

Hostinger

  1. Go to Domains, pick your domain and open DNS / Nameservers.

  2. Under Manage DNS records, choose Type: CNAME. Name: stats. Target: custom.cromojo.com.

  3. Click Add Record.

Squarespace Domains (including domains moved from Google Domains)

  1. Go to Domains, click your domain and open DNS (or DNS Settings).

  2. Under Custom records, click Add record.

  3. Type: CNAME. Host: stats. Data: custom.cromojo.com.

  4. Click Save.

Shopify (domain bought through Shopify)

  1. In Shopify admin, go to Settings > Domains.

  2. Click your domain, then Domain settings > Edit DNS settings.

  3. Click Add custom record > CNAME record. Name: stats. Points to: custom.cromojo.com.

  4. Click Confirm.

Wix (domain bought through Wix)

  1. Go to Domains, click the menu next to your domain and choose Manage DNS Records.

  2. Under CNAME (Aliases), click Add Record.

  3. Host name: stats. Value: custom.cromojo.com.

  4. 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

  1. Go back to Cromojo and click Verify.

  2. When you see a green line saying the domain is pointing at us, click Save.

  3. 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 with stats.yourshop.com.yourshop.com. Type only stats, 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 stats already exists, delete it or choose another name in Cromojo, such as data or t.

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.

Related articles