⏱️ Setup time: about 5-10 minutes + DNS propagation time | Level: Beginner
Why your own subdomain?
Server-side GTM works best on your own subdomain (e.g. sgtm.yourdomain.cz). This way:
- Cookies are first-party (valid for 2 years, not 7 days)
- Ad-blockers don't block requests to your domain
- Data stays under your control
Step 1: Add the domain in the dashboard
- Sign in to the admin
- Go to the Domains section
- Enter the subdomain (e.g.
sgtm.yourdomain.cz) - The system shows you the CNAME target
Step 2: Set up DNS at your registrar
Add a CNAME record:
| Type: | CNAME |
| Name: | sgtm |
| Value: | your-id.sgtm.datanostro.com |
| TTL: | 3600 (or auto) |
Step 3: Verification
After setting up DNS (propagation can take 5 min to 48 hours):
- In the dashboard click Verify DNS
- The system automatically checks the CNAME record
- After successful verification an SSL certificate is generated automatically
💡 Tip: If you use Cloudflare, turn off the proxy (orange cloud) for the CNAME record — set it to DNS only (gray cloud).