How to set up dedicated click tracking

read
Last updated at:

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:

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. 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.

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:

Additional resources

x
Was this article helpful?
77 out of 119 found this helpful