Parameter space encoding
📎 Promotion link parameters
💡 Instructions for use
- Just fill in the target URL and required parameters, and the link will be updated in real time as you enter it; click "Generate Link" to force a refresh.
- When the target URL already contains query parameters, it will be automatically appended with a connector; when it contains an anchor, the parameters will be inserted before the anchor and will not become invalid.
- After checking automatic deduplication, the existing tracking parameters in the URL will be replaced by the values filled in on this page to avoid two copies of the same parameters appearing in the same link.
- The parameter detailed table lists the meaning and original value of each parameter to facilitate item-by-item verification during delivery; using it for intra-site interlinking will dilute the weight of inclusion, so it is only recommended for external delivery.
If a space is not handled properly, the link will be broken during transmission.
why code
Spaces and Chinese characters are special characters in URLs and must be escaped.
Unencoded links are easily truncated in emails and chat tools.
Optional
The encoding is 20 percent, which has the best compatibility.
It can also be replaced with a plus sign, underline, or dash to make it easier to read with the naked eye.
Make your own choices
The 20 percent sign is the safest and can be restored correctly on any platform.
Underlines and dashes are more readable, but they lose separation between words.
Chinese processing
Chinese is encoded byte by byte, resulting in longer but reliable links.
It is recommended that the Chinese event name be first connected with a dash in English or Pinyin.
Verification method
After generation, open it in the browser address bar and confirm that the parameter values are restored correctly.
If the parameter is truncated, check the encoding method of spaces and Chinese first.
Unified recommendations
Use the same encoding method for the same round of promotion to avoid two ways of writing.
When in doubt, choose the percent sign 20, which has the best compatibility; if it is readable by the naked eye, replace it with an underscore or a dash.
📖 Glossary
- UTM parameters
- A set of query parameters starting with utm appended to the end of the URL are used to tell the statistical tool where the visit came from and how it arrived. It is the basis for traffic attribution.
- Source
- Identifies which platform or location the traffic specifically comes from, such as a search engine, a social platform, or the name of an email newsletter, corresponding to the parameter utm_source.
- media
- Identifies the type or channel form of traffic, such as paid click, email, social, natural search, referral, corresponding parameter utm_medium.
- Activity name
- The name that identifies this round of promotion activities, such as spring promotion and new product launch, corresponds to the parameter utm_campaign, which is a key field to distinguish the effects of different activities.
- content identification
- Used to distinguish different materials or locations under the same activity, such as two types of copywriting for a banner or two buttons in an email, corresponding to the parameter utm_content.
- Keyword parameters
- Used to record paid search keywords, that is, what words the user searched for that triggered the advertisement, corresponding parameter utm_term; natural traffic generally does not need to be filled in.
- Activity number
- The newer parameter is used to unify cross-channel delivery under the same activity number, which is suitable for overall statistics when delivering on multiple platforms at the same time.
- attribution
- The rules for which source should be credited with a visit or conversion. The statistical tool will determine which click the credit belongs to according to the set attribution method and time window.
- Case sensitive
- Statistical tools usually distinguish sources and media as they are. For example, capital letters and lower case letters will be regarded as two different sources, so writing rules must be unified.
- URL encoding
- Chinese characters, spaces and special symbols must be expressed in percent sign encoding or replacement form in the URL, otherwise the link may be truncated or parsed incorrectly.
- anchor point
- The part of the URL after the hash mark is used to locate the location within the page. Parameters must be written before the anchor point, otherwise they will be regarded as the anchor point content and fail.
- query parameters
- A section of key-value pairs after the question mark in the URL. Multiple parameters are separated by connectors; adding UTM parameters is to append content to this section.
🔗 All keywords and tutorials
❓ FAQ
- Are plus signs and spaces the same thing?
- The plus sign in the query section is usually restored to a space, but some platforms do not recognize it, so use the percent sign 20 to be on the safe side.
- Will the Chinese parameters become very long?
- Yes. The length of Chinese characters increases after encoding by bytes. It is recommended to use English or Pinyin for key fields.