Setting Up a CNAME
First-party tracking via your own subdomain (recommended).
With a CNAME setup, the tugus script is served from your own subdomain
(e.g. metrics.yourshop.com) instead of from collect.tugus.io. This makes
tracking more resilient against ad blockers and extends the cookie lifetime
(first-party context).
Choose a subdomain
In the dashboard under Settings → Websites → your website → First-Party, configure your desired subdomain,
e.g. metrics.yourshop.com.
Set the DNS record
At your DNS provider, create a CNAME record that points to the target host shown in the dashboard.
Adjust the script URL
Once the CNAME is active, you serve the script via your subdomain. The technical details are available in the Developer Docs → CNAME / First-Party.
DNS changes can take up to 24 hours. The status of the CNAME setup is shown in the dashboard.