Why are my SendGrid links broken and how do I fix it?

Summary

Broken SendGrid links can stem from a multitude of factors including DNS configuration issues with CNAME and A records, unverified branded domains, inconsistent link tracking settings across subusers, aggressive spam filters, problems with HTTPS encryption or mixed content, incorrect IDN handling, low domain/link reputation, the use of URL shorteners, caching issues, and issues within the email headers. Troubleshooting involves verifying DNS settings, ensuring consistent subuser settings, monitoring and improving domain/link reputation, validating links, avoiding URL shorteners, addressing content encryption issues, and analyzing email headers.

Key findings

  • DNS Configuration: Incorrect CNAME and A records for branded domains are a common cause of broken links. Proper DNS setup is crucial.
  • Domain Verification: Unverified branded domains lead to tracking issues and broken links. Ensure domains are verified in SendGrid.
  • Spam Filters: Aggressive spam filters may flag rewritten links. Ensure proper SPF, DKIM, and DMARC records.
  • Link Reputation: A damaged link reputation results in broken links or deliverability issues. Monitor and improve reputation.
  • HTTPS Encryption: HTTPS encryption problems or mixed content on landing pages can cause link failures.
  • Subuser Settings: Inconsistent link tracking settings across subusers lead to link rewriting problems.
  • IDN Handling: Incorrect handling of Internationalized Domain Names (IDNs) may break links.
  • URL Shorteners: Using URL shorteners with SendGrid's link tracking can lead to conflicts.
  • Caching Issues: Caching on client or server-side may cause broken links.
  • Email Headers: Issues in email headers can cause incorrect link rewriting and broken links.

Key considerations

  • DNS Records: Regularly verify CNAME and A records for your branded domains.
  • Domain Reputation: Actively monitor and work to improve your sending domain and link reputation.
  • Link Validation: Always validate links before sending to avoid broken links.
  • HTTPS Compliance: Ensure your landing pages are fully HTTPS compliant and avoid mixed content.
  • Subuser Consistency: Keep link tracking settings consistent across all subusers in your SendGrid account.
  • Avoid URL Shorteners: Avoid using third-party URL shorteners in conjunction with SendGrid's link tracking.
  • Header Analysis: Analyze raw email headers to identify potential issues in link rewriting.
  • ESP Support: Contact SendGrid support for assistance with complex configuration issues or suspected platform problems.

What email marketers say
8Marketer opinions

Several factors can contribute to broken SendGrid links. These include incorrect setup of branded links and link tracking, aggressive spam filters, problems with HTTPS encryption or mixed content on landing pages, incorrect handling of internationalized domain names (IDNs), poor domain reputation for newly created domains, issues within email headers, and caching problems. Addressing these areas can help resolve the issue.

Key opinions

  • Branded Links: Incorrect branded link setup in SendGrid can cause broken links. Ensure proper configuration or temporarily disable link tracking.
  • Spam Filters: Aggressive spam filters may interpret rewritten links as suspicious. Verify domain reputation and ensure correct SPF, DKIM, and DMARC records.
  • Link Validation: Failing to validate links before sending can result in broken links being sent. Use link checker tools to catch issues.
  • HTTPS Encryption: HTTPS encryption and mixed content issues on landing pages can cause problems with redirects. Ensure the destination website supports HTTPS and has no mixed content warnings.
  • IDN Handling: Incorrect handling of internationalized domain names (IDNs) can lead to broken links. Test with non-ASCII characters.
  • Domain Reputation: Low domain reputation for newly created domains can cause broken links. Warm up the domain by gradually increasing sending volume.
  • Email Headers: Issues within email headers can result in unusual redirects or encoding problems, causing broken links. Analyze email headers to identify issues.
  • Caching Issues: Caching on the client or server-side can cause broken links. Clear browser cache and ensure caching mechanisms aren't interfering with link redirection.

Key considerations

  • Domain Reputation: Regularly monitor your domain's reputation to prevent issues with link deliverability.
  • Link Validation: Always validate your links before sending emails to avoid delivering broken links to recipients.
  • Branded Links Configuration: Properly configure branded links and ensure that they are correctly set up within SendGrid.
  • Content Encryption: Ensure that the landing pages support HTTPS and do not have mixed content warnings.
  • Email Header Analysis: Checking raw email headers can provide clues about how links are being rewritten and where they are breaking.
Marketer view

Email marketer from Marketing Forum suggests that a potential issue could be related to the encryption (HTTPS) of the landing page. They propose ensuring that the destination website supports HTTPS and that there are no mixed content warnings, as these can sometimes cause issues with redirected links.

February 2022 - Marketing Forum
Marketer view

Email marketer from Reddit mentions that issues can arise if the tracking domain or sending domain are newly created and haven't built up enough reputation. The user suggests warming up the domain by sending low volumes initially and gradually increasing the sending volume to establish a good sending reputation.

August 2022 - Reddit
Marketer view

Email marketer from Reddit suggests that the issue might be due to aggressive spam filters interpreting the rewritten links as suspicious. The user recommends checking your domain reputation and ensuring SPF, DKIM, and DMARC records are properly configured to improve deliverability and avoid links being flagged.

April 2022 - Reddit
Marketer view

Email marketer from Email on Acid shares that link validation is crucial before sending emails. They recommend using link checker tools to identify broken or redirected links before deployment. These tools can catch issues with SendGrid's rewritten links and prevent sending emails with broken links.

February 2022 - Email on Acid
Marketer view

Email marketer from Quora advises checking the raw email headers to examine how the links are being rewritten and whether there are any unusual redirects or encoding issues. Analysing the headers can provide clues about where the link is breaking.

April 2022 - Quora
Marketer view

Email marketer from EmailGeeks Forum points out that caching issues on the client-side or server-side can sometimes cause broken links. They suggest clearing browser cache and ensuring that any server-side caching mechanisms are not interfering with the link redirection process.

July 2021 - EmailGeeks Forum
Marketer view

Email marketer from Email Marketing Tips suggests that issues could arise from incorrect handling of internationalized domain names (IDNs) in the link rewriting process. They advise testing with non-ASCII characters and ensuring SendGrid supports these characters in link tracking.

February 2024 - Email Marketing Tips
Marketer view

Email marketer from Twilio indicates that broken links can occur if link tracking is enabled without proper setup of branded links. They advise users to ensure the branded links are correctly configured or to temporarily disable link tracking to see if that resolves the issue. They share a link to the setup documentation.

March 2024 - Twilio

What the experts say
5Expert opinions

Broken SendGrid links can arise from various issues including improper DNS setup by the ESP, requiring a DNS entry for correct redirection, conflicts from using URL shortening services with SendGrid's tracking, a damaged link reputation, or needing to disable link rewriting. Resolution involves contacting ESP support, avoiding URL shorteners, monitoring link reputation, and adjusting SendGrid settings.

Key opinions

  • DNS Setup: Incorrect DNS setup by SendGrid's link tracking feature can cause broken links. Verify the configuration and consider adding a DNS entry for the domain.
  • Link Rewriting: Link rewriting can be disabled in the SendGrid interface as a possible solution.
  • URL Shorteners: Using URL shortening services alongside SendGrid's link tracking can lead to conflicts.
  • Link Reputation: A damaged link reputation can result in broken links or deliverability problems.

Key considerations

  • ESP Support: Contacting SendGrid support is recommended for issues related to DNS setup and link tracking configuration.
  • Avoid URL Shorteners: Refrain from using URL shortening services when utilizing SendGrid's link tracking features.
  • Monitor Reputation: Actively monitor your sending domain and link reputation using tools like Google Search Console and SendGrid's dashboard.
  • SendGrid Settings: Consider disabling link rewriting within the SendGrid interface as a troubleshooting step.
Expert view

Expert from Email Geeks says that you can also disable link rewriting in the SendGrid interface using this link: <https://sendgrid.com/docs/ui/account-and-settings/tracking/#click-tracking>

March 2024 - Email Geeks
Expert view

Expert from Email Geeks suggests adding a DNS entry for the Sendgrid domain to redirect it correctly to the right place.

April 2023 - Email Geeks
Expert view

Expert from Spam Resource suggests that one potential reason for broken SendGrid links is the use of a URL shortening service in conjunction with SendGrid's link tracking. Combining these services can sometimes lead to conflicts or misinterpretation of the links by email clients or spam filters. They recommend avoiding URL shorteners when using SendGrid's link tracking.

November 2021 - Spam Resource
Expert view

Expert from Email Geeks suggests that the ESP (SendGrid) likely enabled link-tracking without proper DNS setup and recommends contacting ESP support to resolve the issue.

July 2022 - Email Geeks
Expert view

Expert from Word to the Wise explains that a damaged link reputation can cause links to be seen as broken or lead to deliverability issues. They recommend actively monitoring your sending domain and link reputation using tools like Google Search Console and SendGrid's reputation dashboard, and taking steps to address any identified issues.

September 2023 - Word to the Wise

What the documentation says
6Technical articles

Broken SendGrid links often result from DNS configuration issues, particularly with CNAME records for branded link domains. Other causes include inconsistent link tracking settings across subusers, issues with the root domain's A records, and unverified branded domains. Resolving these problems involves verifying DNS records, ensuring consistent subuser settings, and confirming domain verification within SendGrid.

Key findings

  • DNS Configuration: Incorrectly configured CNAME records for the branded link domain are a primary cause of broken SendGrid links.
  • DNS Propagation: Inconsistent DNS propagation can lead to intermittent link failures.
  • Subuser Settings: Conflicting link tracking settings across subusers can affect link rewriting and cause broken links.
  • Root Domain Resolution: If the root domain of the branded links isn't resolving correctly, the rewritten links will fail.
  • Domain Verification: Unverified branded domains can cause tracking issues and broken links.

Key considerations

  • CNAME Verification: Verify that the CNAME records for link tracking are correctly pointing to SendGrid's servers or the appropriate endpoint.
  • DNS Propagation Check: Use tools like MXToolbox to ensure the CNAME records are correctly propagated across different DNS servers.
  • Consistent Settings: Ensure link tracking settings are consistent across the main SendGrid account and all subusers.
  • Root Domain Resolution: Verify that the A records for the root domain are pointing to the correct IP addresses.
  • Domain Verification: Ensure that the branded domain has been verified within your SendGrid account.
Technical article

Documentation from SendGrid Support shares that if your account has multiple subusers with different settings, conflicting settings can affect link rewriting. Ensure that the link tracking settings are consistent across the main account and all subusers.

May 2021 - SendGrid Support
Technical article

Documentation from SendGrid explains that broken links due to click tracking often stem from DNS configuration issues. Specifically, the custom domain for link branding might not be correctly set up, causing links to redirect incorrectly or fail. They recommend verifying the CNAME records in your DNS settings to point to SendGrid's servers.

July 2021 - SendGrid
Technical article

Documentation from MXToolbox explains that incorrect DNS propagation can cause intermittent link failures. They recommend using MXToolbox's DNS lookup tools to verify that the CNAME records for link tracking are correctly propagated across different DNS servers. Inconsistent propagation can lead to some users experiencing broken links while others do not.

August 2023 - MXToolbox
Technical article

Documentation from SendGrid explains the need to verify your branded domain for link tracking. Ensure the domain has been verified within your SendGrid account. Unverified domains can cause tracking issues and broken links.

February 2024 - SendGrid
Technical article

Documentation from Stack Overflow shares that an incorrect or missing CNAME record for the branded link domain is a common cause. The user explains how to check DNS records using tools like `dig` or `nslookup` to confirm the CNAME is correctly pointing to `sendgrid.net` or the appropriate SendGrid endpoint.

November 2021 - Stack Overflow
Technical article

Documentation from DNS Checker recommends ensuring that the root domain of the branded links is resolving correctly. Use their tool to verify that the A records for the root domain are pointing to the correct IP addresses. If the root domain isn't resolving, the rewritten links will fail.

April 2023 - DNS Checker