Knowledge Base
HomeMain site
HomeMain site
General Setup
Website SnippetsAPI Endpoints
General Setup
Website SnippetsAPI Endpoints
  1. General Setup
  • Introduction
  • Global code
  • Custom Domain
  1. General Setup

Custom Domain

Setting up the custom domain for your server-side tracking
This involves choosing and preparing the domain that will collect and forward your server-side tracking events reliably.
Configure a CNAME record
The names of the fields and the required entries to configure the record may differ between DNS control panels, but we’ve covered the most common options here. If you're uncertain, please check with your DNS provider.
Type: Select CNAME as the type of DNS record you want to create.
Name (or DNS entry): This is where you enter your subdomain. You might need to enter it in full (e.g., dre2.example.com) or just the part before your apex domain (e.g., dre2). If you’re not sure which format to use, consult your DNS provider.
Target (or Value / Destination): Enter the address where the subdomain should point.
TTL (Time To Live): This is the number of seconds that the DNS record can be cached. If you’re unsure what to set, we recommend selecting Auto or using the default value.
Here’s an example of a correct configuration:
TypeNameTarget
CNAMEdre2.example.com.app.datareshape.net
CNAME_acme-challenge.dre2.example.com.dre2.example.com.5c7e7c9aba529dca.dcv.cloudflare.com
Please make sure to replace "example.com" with your actual domain name.
Note: A CNAME record cannot coexist with another record for the same name. If you already have an A, AAAA, TXT, or any other record for your chosen subdomain, you will need to remove it before adding the CNAME.
Are you using Cloudflare?
Be sure to disable proxying (orange cloud) for this subdomain to ensure tracking works properly.
Modified at 2025-04-29 06:54:25
Previous
Global code
Built with