Markup Validation for URLs with UTM

Hi, I love your site and use it often to check HTML email code. One area I cannot find help with is the way your validator handles URLs with UTM code. For example, placing the following URL in a link causes 4 Errors and 6 warning(s):

https://www.lps.upenn.edu/about/events/pre-health-post-baccalaureate-programs-virtual-information-session?utm_source=asda&utm_medium=email&utm_campaign=prehealth_asda_email

It looks like the ampersand is the main culprit and the validator rule "to escape all instances." When I click your "Ampersands in URLs" link, I get a dead link: https://www.htmlhelp.com/tools/validator/problems.html#amp

For tracking purposes, I cannot alter the URL (or the ampersand code) in any way. Can you tell me how I can use the tracking URLs and still pass validation, if possible? Or any best practices? I know URLs with UTM snippets are popular and want to keep my code as tight as possible.

Thank you, Jeff Lyons

Jeff Lyons
Assistant Director of Web Development
University of Pennsylvania
College of Liberal & Professional Studies
3440 Market Street, Suite 450
Philadelphia, PA 19104
lyonsj@sas.upenn.edu

Received on Friday, 3 December 2021 08:29:41 UTC