On this page
What this issue is
URL encoding (percent-encoding) replaces unsafe characters in a link with a % and two digits. A space becomes %20, an ampersand becomes %26, and an equals sign becomes %3D. The % sign itself becomes %25.
Double encoding happens when that process runs twice on the same value. The % from the first pass is encoded again as %25. So spring sale becomes spring%20sale, then spring%2520sale. The browser decodes it only once, so your analytics tool receives the literal text spring%20sale instead of spring sale.
Intended value: spring sale
Encoded once: utm_campaign=spring%20sale (reads as: spring sale)
Encoded twice: utm_campaign=spring%2520sale (reads as: spring%20sale)Why it costs you leads or sales
The visitor still lands on your page and can still convert, so the direct damage is low. The cost is in reporting. Your campaign appears under a messy name such as spring%20sale, next to a clean spring sale row from other links. Budget decisions then rest on split or unreadable data.
It can also break rules built on exact values. Filters, channel groupings, and dashboards that match utm_campaign will miss the encoded version. In worse cases, a double-encoded & or = merges several parameters into one value, so utm_medium and utm_campaign may go missing entirely.
- Link builtValue encoded once: spring%20sale
- Tool re-encodesEmail or redirect tool encodes % again: spring%2520sale
- Landing pagePage loads; URL holds spring%2520sale
- Analytics reportCampaign shows as spring%20sale, split from clean rows
The click works, but the campaign name arrives garbled.
How to check if your site has it
Search your reports for percent signsGoogle Analytics 4
In GA4, open Reports > Acquisition > Traffic acquisition. Set the dimension to Session campaign (or Session manual term or content) and search for
%. Any row containing%20,%3Dor%26is a sign of double encoding.Look at the landing page URL
In Explore or the Pages and screens report, add Page location (or Landing page + query string) and search for
%25. That sequence means a percent sign was encoded.Click your own live links
Click the link from the real email, ad, or social post. Compare the address bar to the link you built. If
%20has become%2520, something in between is re-encoding it.Find which tool does it
Test the same link in your UTM builder, your email platform preview, your link shortener, and your ad platform. The first place where
%25appears is the cause.
How to fix it
The most reliable fix is to stop needing encoding at all. Use lowercase values with hyphens or underscores, such as spring-sale, and no spaces, accents, ampersands or slashes. Then no tool has anything to encode.
Rebuild the link with plain values
Replace spaces with hyphens or underscores and remove special characters. Example:
utm_campaign=spring-sale.Paste the raw link once
If you need spaces, enter the plain text version in the tool, such as
spring sale. Do not paste an already encoded link into a field that encodes for you.Fix the tool that re-encodes
Check the email platform, shortener, or redirect for a setting such as auto-encode URLs or custom tracking parameters. Enter UTMs in the dedicated UTM fields instead of pasting them into the base URL.
Replace live links
Update links in scheduled emails, ads, bios, and QR codes. Already sent messages cannot be changed.
Merge old rows in reporting
Use a custom channel group or a Looker Studio calculated field to treat the old garbled value and the clean one as one campaign.
Check URL variables
If you build links with a Custom JavaScript variable, do not run
encodeURIComponenton a value that is already encoded. Read values with a URL variable (Query component), which returns them decoded.Check passing values to forms
When copying UTMs into hidden form fields, store the decoded value and let the form encode it on submit.
Check redirect plugins
In redirect or link-tracking plugins, enter the destination once, unencoded, and tick the option to pass query strings if offered. Avoid pasting an encoded URL into a field that also encodes.
Check form plugins
If a form plugin builds a redirect URL with a UTM merge tag, test whether it encodes the value again.
Encode exactly once
Build query strings with URLSearchParams, which encodes each value one time. Do not wrap its output in encodeURIComponent again.
const params = new URLSearchParams({
utm_source: 'newsletter',
utm_medium: 'email',
utm_campaign: 'spring sale'
});
const url = 'https://example.com/offer?' + params.toString();
// utm_campaign=spring+sale (encoded once)
// Wrong: double encoding
// encodeURIComponent(params.toString())Double encoded
- utm_campaign=spring%2520sale
- Report shows spring%20sale
- Splits from the clean row
Clean values
- utm_campaign=spring-sale
- Report shows spring-sale
- One row per campaign
How to confirm it's fixed
- Click the new live link and confirm the address bar has no
%25. - Open GA4 Realtime and check the campaign name shows without percent codes.
- Send a test email or post and repeat the check from the real channel.
- After a day, search Traffic acquisition for
%and confirm no new rows appear. - Confirm old links are replaced in scheduled sends, ads, and bios.
How to prevent it happening again
- Keep a naming guide: lowercase, hyphens, no spaces or symbols.
- Use one shared UTM builder or spreadsheet for the whole team.
- Never paste an already encoded link into a tool that encodes for you.
- Test every new email or ad template link once before launch.
- Review campaign names in GA4 monthly and look for percent signs.
How FunnelGuard handles this
FunnelGuard does not check for double-encoded UTM values today. It is a possible future check. We do not claim it detects this issue.
What FunnelGuard does cover nearby: a robot visitor runs your real journeys, such as lead forms and checkouts, and checks the tracking hits sent to GA4, Google Ads, Meta and other platforms. It also checks that test leads reach your inbox and CRM. That helps you notice when tracking breaks, though not when a campaign name is garbled.
To watch for double encoding yourself, add a monthly GA4 check: search the campaign dimensions for %. You can also set up a Looker Studio table with a filter on %25 or %20, and click a sample link from each email and ad template before launch.
Questions people ask
Why does my UTM campaign show %20 in Google Analytics?
It usually means the value was encoded twice, so GA4 received the literal text %20 instead of a space. Find the tool that re-encodes the link, such as an email platform or redirect, and enter plain values there. Then replace the live links.
What does %2520 mean in a URL?
It is a space that has been percent-encoded twice. The first pass turns the space into %20, and the second turns the % into %25, giving %2520. A browser decodes it once, leaving %20 as visible text.
How do I fix double-encoded UTM parameters?
Rebuild the link with plain values such as spring-sale, and enter UTMs once in the right fields. Check which tool in the chain re-encodes and fix its setting. Replace live links and merge old rows in reporting.
Do double-encoded UTMs stop tracking working?
Usually not completely. The visit is still recorded, but the campaign name looks wrong or splits from the correct one. If an encoded & or = merges parameters, some UTMs can go missing.
Should I use spaces in UTM values?
It is safer not to. Use lowercase words joined by hyphens or underscores. That avoids encoding problems and also prevents case or spacing duplicates in reports.
How can I find double-encoded UTMs in GA4?
Open Traffic acquisition, set the dimension to Session campaign, and search for %. Do the same for source, medium and content. Any hit with %20, %26 or %3D points to double encoding.
Can I fix old data that has double-encoded UTMs?
Not in GA4 itself, as processed data is not edited. You can combine the garbled and clean values in a Looker Studio calculated field or a custom channel group.
Does FunnelGuard detect double-encoded UTMs?
No. FunnelGuard does not check for this yet, though it could be a future check. It does monitor your funnels and tracking hits, so a manual GA4 search for % is the way to watch for it today.
Related issues
- TRK-319UTM values with inconsistent casing (Facebook vs facebook)Fix guide
- TRK-333Shortener/redirect link (bit.ly, Linktree) strips UTMsFix guide
- TRK-311UTMs lost on redirect (http->https, www, trailing slash)Fix guide
- TRK-312UTMs lost when moving from landing page to form pageFix guide
- TRK-317UTMs overwritten by internal links with utm tagsFix guide
- TRK-334Server redirects drop query string (301 to /)Fix guide