Reference
Link building and encoding
Exactly how a link is put together, encoded and checked.
How a link is built
https://is added when the destination has no scheme; only http and https addresses can be tracked.- The destination's own query string and
#fragmentare kept, byte for byte. - Existing
utm_parameters, and any key your project uses, are replaced or removed. - Parameters follow in your fields' order; empty ones are left out.
Encoding
Values are percent-encoded, except : / @ (readable in combined codes) and { } (ad platform macros must stay literal). Anything that could split a value, like & = # + or spaces, is always encoded.
Built by the same code the app uses
https://acme.com/p?ref=nav&utm_campaign=summer%20%26%2050%25&cid=em:braze:spring&utm_content={{ad.name}}Checks
| Check | When |
|---|---|
| Required fields filled in | Before a link can be created |
| Destination is a web address | As you type |
| Every part of a combined code filled in, and no part containing the separator | Combined code format |
| Text fields match any pattern or length you set | As you type |
| Over 100 characters | Warning only (Google Analytics truncates) |
Link IDs
utm_id is a random 8-digit number, new for every link, so you can find one exact URL again among many. In One ID only format the ID is instead made from the link's values.