You will learn
Learn how to set up dedicated click tracking and best practices when doing so. Dedicated click tracking allows you to show your own domain on click tracking links rather than the default Klaviyo domain.
Set up dedicated click tracking
Setting up dedicated click tracking requires adding additional CNAME records to your DNS settings with your hosting provider. We provide the records below, which you add into your DNS provider.
Add the following 2 CNAME records to set up your dedicated click tracking domain:
Depending on your DNS provider, the name of the
Value fields in the example above may differ. Check out our links below to the documentation for some popular DNS providers if you're having trouble.
Note that in the table above, the trk subdomain is an arbitrary choice. You can use any subdomain as long as it is not being used by another DNS record. However, the 161779 subdomain needs to be entered exactly as shown.
Additionally, if your DNS provider allows you to proxy records, you will see issues with the setup of dedicated click tracking in Klaviyo with this feature enabled. This commonly happens with Cloudflare but is possible with other DNS providers too. You’ll need to disable the proxying of your records for them to resolve over the internet, and so their presence can be verified. Once the click tracking domain has been applied to your account, you can enable the proxy again for the trk record or its equivalent.
After you've updated your DNS records, reach out to Klaviyo support from the relevant account to validate your records. Make sure to include the hostnames you used for the CNAME records and say whether you intend to set up Secure Sockets Layer (SSL) for dedicated click tracking. If you will not use SSL, we will apply the dedicated click tracking domain to your account and reach out with a confirmation.
If you have a HTTP Strict Transport Security (HSTS) record in place for your domain with the "includeSubDomains” directive, SSL for dedicated click tracking is required by browsers for your links to function properly. Otherwise, you need to remove this HSTS record (or the "includeSubDomains" directive) and wait for the cached version to expire its TTL (time-to-live).
SSL for dedicated click tracking
We recommend that you set up SSL certificates for your dedicated click tracking domain as a next step in this process.
SSL is an encryption-based internet security protocol used to ensure privacy, authentication, and data integrity over internet communications. Provisioning SSL certificates allows your URLs to begin with HTTPS instead of the HTTP, and your click tracking domain to point to your own content delivery network (CDN). This indicates to users clicking on your links that the connection with the associated domain is secure, thus increasing customer trust and security.
Please reach out to our support team to have the CNAME records validated before beginning the process for SSL for dedicated click tracking. Include the hostnames you made use of for the CNAME records, and that you intend to set the click tracking up with SSL.
Tips for where to update your DNS records
You can update your DNS records wherever you have registered or currently manage your domain names. However, not all domain registration services allow you to edit all DNS records. If you cannot update the records above, contact your DNS provider for information on how to update these records.
The process of adding records to your DNS depends on what domain provider you are using. Below are links to documentation for common providers: