UTM Parameters and URL Length | Community
Skip to main content
Dave_Doran
Level 2
February 13, 2019
Question

UTM Parameters and URL Length

  • February 13, 2019
  • 2 replies
  • 7405 views

Does adding more/longer utm codes result in Marketo creating a longer url in emails (more characters in the mkt_tok)? I ask because we've noticed recently when hovering over some links in emails they seem to have very long urls that wrap for several lines. Not sure if this is due to adding more utm codes or something else.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Level 6
February 13, 2019

Utm's are set of 5 parameters:

1.utm_campaign

2. utm_medium

3. utm_source

4.utm_term

5.utm_content

There is no limit to the length of the utm's a URL. A URL that has fewer than 2000 characters will work with any combination of browser and web server. So even though there’s no limit on any individual UTM parameter, collectively, along with the destination URL, there’s a limit of about 2000 characters on the final URL.

-> It’s a good practice to keep the UTM parameters short and meaningful.

SanfordWhiteman
Level 10
February 13, 2019

Yes, but specifically the question is whether when Marketo rewrites a longer URL to bounce off the tracking domain, the tracked URL is made longer as a result.

SanfordWhiteman
Level 10
February 13, 2019

In short, no. The length of the tracking URL at your branding domain is not proportional to the length of the original target URL.