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 trackingSet up dedicated click tracking
You can either manually set up dedicated click tracking, or reach out to Klaviyo to have it enabled automatically if you are on a dynamic branded sending domain configuration.
Automatically set up dedicated click trackingAutomatically set up dedicated click tracking
If you have a dynamic branded sending domain configuration in Klaviyo, you can reach out to Klaviyo’s support team to have a click tracking domain with SSL enabled for your account. If you are on a static configuration and would like Klaviyo to enable dedicated click tracking with SSL for you, consider moving to the dynamic configuration if possible.
You must be on a paid account for Klaviyo to set up a click tracking domain on your behalf.
Klaviyo will set the following click tracking domain for your brand:
trk.yourbrandeddomain.com
It is not possible for Klaviyo to create a custom click tracking domain on your behalf and the click tracking domain will always match the example above.
For example, if the branded sending domain is send.klaviyo.com, the dedicated click tracking domain would be trk.send.klaviyo.com.
Manually set up dedicated click trackingManually 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:
Type | Hostname | Value |
CNAME | trk | sendgrid.net |
CNAME | 161779 | sendgrid.net |
Depending on your DNS provider, the name of the Hostname
and Value
fields in the example above may differ. For example, some DNS providers may call it Hostname
and others Name
. However, the records you need to enter are the same.
Check out our links below to the documentation for some popular DNS providers if you're having trouble.
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 trackingSSL for dedicated click tracking
It is highly recommended that you set up SSL certificates for your dedicated click tracking domain as a next step in this process.
If Klaviyo enabled dedicated click tracking for your account, SSL is already configured.
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:
Additional resources