If you're seeing that links in your HubSpot emails are leading to an error page, there are a few possible explanations.
To resolve the issues covered below, contact your web developer or IT department to reconfigure your web server settings and/or security plugins. Alternatively, you can turn off email click tracking.
If you are linking to a webpage created in HubSpot that has a redirect set up, make sure to uncheck the Match the query string option for the redirect. You can learn more about managing your HubSpot redirects in this article.
Some security plugins can set limits on URL length. For example, if you have the Ultimate Security Checker installed in Wordpress, links that include more than 255 characters will not work.
External system settings
If you are linking or redirecting to an external non-HubSpot website, your web server may not be properly configured to handle additional tracking URL strings. Check with your web developer to find out if your system settings can be modified to allow for specific tracking parameters. HubSpot emails use the following cookies for tracking:
- hsenc (email click tracking)
- _hsmi (email click tracking)
- hsCtaTracking (CTA tracking)
In addition to the tracking parameters above, your external system should be configured to allow additional hyphens to be added to the URL.