Add your tracking subdomain
Your tracking server runs on a subdomain of your own website, such as sst.yourstore.com. That makes tracking first-party, so browsers and ad blockers treat it as part of your site. This guide covers step 3 of the setup, Add your tracking domain.
Before you start
- Finish step 2 (Google Tag Manager). Step 3 opens after it.
- Have the login for the place where your domain's DNS is managed. This is often where you bought the domain, but not always. If your domain uses Cloudflare's nameservers, for example, you add the records in Cloudflare even if you bought the domain elsewhere.
- Not sure who manages your DNS, or someone else does it for you? Step 3 has a Send to my developer button. More on that below.
1. Choose your subdomain
In step 3, type your subdomain in Your subdomain. Use a short, neutral word before your domain, such as sst or sgtm, for example sst.yourstore.com. Avoid names like track, data or analytics: ad blockers block them, and KiteTrack will ask for another name.
- Use the same domain your store or website runs on, so tracking stays first-party.
- Use a subdomain, not your main domain. If you type
yourstore.comon its own, KiteTrack asks you to add a subdomain, so your main site keeps working. - Pick a name that is not already in use. Do not use
www,shopor any name your site already runs on. If the name is already set up for server-side tracking somewhere else, such as an old account, KiteTrack says so: pick another name or remove it there first.
Leave Faster loading (global CDN) ticked. It is recommended: your tracking script loads from a server near each visitor. Turn it off only if your privacy policy needs it.
Click Continue.
2. Copy the DNS records
KiteTrack now shows a table of DNS records to add. There may be one record or two. Add every row.
| Column | What it means |
|---|---|
| Type | The record type. It is CNAME. |
| Name (host) | The short name to type in your DNS provider, such as track. |
| Points to | Where the record points. Copy it exactly. |
| Status | Not found yet until we can see the record, then Found. |
Use the Copy name and Copy value buttons next to each value. Copying by hand is the most common cause of typos.
If we can tell where your DNS is managed, step 3 says Your DNS is at followed by the provider's name, and shows short steps for that provider.
Someone else manages your DNS? Click Send to my developer. You can Copy instructions, Email them to my developer, or Download as text file. They get the exact records and steps.
3. Add the records at your DNS provider
Find your provider below. Add one record for each row of the table. Enter only the short name from the Name (host) column. Your provider adds your domain to the end for you.
Cloudflare
- Sign in at dash.cloudflare.com and open your domain.
- Go to DNS → Records and click Add record.
- Set Type to CNAME.
- Paste the name into Name and the value into Target.
- Set Proxy status to DNS only (grey cloud). The proxy must be off for these records. With the orange cloud on, your tracking domain cannot be verified.
- Click Save. Repeat for the second record, if there is one.
GoDaddy
- Sign in and open your Domain Portfolio.
- Select your domain, then open DNS.
- Click Add New Record and choose CNAME as the Type.
- Paste the name into Name and the value into Value. Leave TTL as it is.
- Click Save. If you added two records at once, click Save All Records.
Namecheap
- Sign in and open Domain List. Click Manage next to your domain.
- Open the Advanced DNS tab.
- Under Host Records, click Add New Record and choose CNAME Record.
- Paste the name into Host and the value into Value. Leave TTL on Automatic, or pick the lowest value.
- Click the green tick to save the row, or Save All Changes.
Hostinger
- Sign in to hPanel and open Domains. Click Manage next to your domain.
- Open DNS / Nameservers in the left menu.
- In the Manage DNS records form, set Type to CNAME.
- Paste the name into Name and the value into the target field.
- Leave TTL as it is and click Add Record.
Shopify-managed domains
Use this only if you bought the domain through Shopify, or your domain's DNS is managed by Shopify.
- In your Shopify admin, go to Settings → Domains.
- Click your domain, then open its DNS settings.
- Click Add custom record and choose CNAME.
- Paste the name and the value from KiteTrack's table into the two fields.
- Click Confirm.
Another provider
KiteTrack also shows its own short steps for Amazon Route 53, Squarespace, Wix, SiteGround and Bluehost when it detects them. For any other provider: open the DNS settings where your domain is managed and add each record as type CNAME, with the name and value from the table. If there is a proxy option, turn it off.
4. Wait, then check
DNS changes usually show within 30 minutes. It can take a few hours.
- You do not need to watch the page. We check your records every few minutes. The step list shows Waiting for DNS · we check every few minutes.
- To check yourself, click Check now. Under the button you see when we last checked and how many records we found.
- Carry on meanwhile. Steps 4 and 5 open as soon as you add the domain, and step 6 opens after step 5. You do not have to wait for the domain to be verified. Only the final test, step 7, waits for it.
Each row turns from Not found yet to Found once we can see the record. Verified comes a little later, when your tracking server has confirmed the domain and set up HTTPS.
5. Common mistakes
You typed the full domain in the name field. Most providers add your domain to the end of the name. If you type sst.yourstore.com, the record becomes sst.yourstore.com.yourstore.com and is never found. Type only track, the value from the Name (host) column.
A record with the same name already exists. A name can hold only one CNAME, and a CNAME cannot sit next to another record (such as an A record) with the same name. Delete or change the old record, or go back and choose a different subdomain.
The Cloudflare proxy is on. If the cloud next to the record is orange, click it so it turns grey (DNS only), and save. The proxy hides the CNAME, so we cannot see it.
You added the records in the wrong place. If your domain's nameservers point somewhere other than where you bought it, records added at the registrar do nothing. Add them where step 3 says Your DNS is at.
The value has a typo or a missing part. Delete the record and add it again using the Copy value button.
You want a different subdomain. Click Use a different domain and start again. This works only until the domain is verified.
Still not verified after a few hours? You see Not verified yet when you click Check now. Check the points above, then ask us in Help & chat.
What success looks like
Step 3 shows Subdomain verified. Every record row shows Verified, and the step lists Subdomain added, DNS verified and HTTPS ready, each with its time.
Keep these DNS records in place for as long as you use KiteTrack. Removing one stops your tracking.
You can do steps 4 to 6 while you wait. For step 5, see Import your tracking files into Google Tag Manager.