The domains you add on the Script page decide where your tracking script collects visitors. This guide explains how domains are matched, and how to set them up so every page you care about is covered.
How domain matching works
When you add a domain, the script collects visitors on exactly two addresses:
https://<domain>https://www.<domain>
For example, adding example.com covers https://example.com and https://www.example.com. It doesn't cover any other subdomain, such as blog.example.com or support.example.com.
A few more rules:
www.is dropped. Addingwww.example.comsavesexample.com, which covers both versions. You don't need to add them separately.- Only the domain is kept. If you paste a full address, such as
https://www.example.com/pricing, onlyexample.comis saved. - HTTPS only. Pages served over plain
http://aren't collected. - No ports. Enter the domain without a port number, such as
:8080. - Once per account. You can't add a domain that's already in your account.
Best practices
1. Add the domain your pages load on
Enter the domain that appears in your visitors' address bar. Whether your site uses www or not, both versions are covered, so a redirect between them doesn't affect collection.
Recommended: yourcompany.com
This covers:
yourcompany.comwww.yourcompany.com
2. Add each other subdomain as its own domain
If visitors also browse a subdomain, such as blog.yourcompany.com or help.yourcompany.com, add it as a domain of its own and install the script made for it. Each added domain uses a domain seat. See Add Multiple Domains to Your Blue Tracely Account.
3. Install the snippet made for each domain
Each domain gets its own snippet. Install the one shown for that domain, on every page of that site. See Installing Your Blue Tracely Tracking Script.
Common mistakes to avoid
| Mistake | What happens | Fix |
|---|---|---|
Adding only yourcompany.com when visitors also use blog.yourcompany.com | Visitors on the blog aren't collected | Add blog.yourcompany.com as its own domain |
Adding support.yourcompany.com when you want your main site | Only the support site is collected | Add yourcompany.com |
| Installing one domain's snippet on another domain's site | The script doesn't collect there | Install the snippet shown for each domain |
Serving some pages over http:// | Those pages aren't collected | Serve your site over HTTPS |
Final tip
Add the domains your visitors actually browse, and nothing more. Every domain uses a seat, and a domain that gets no traffic only shows No signal received yet.