Overview
You can now add a content area of type "Auto Append to URLs" to your mailings. This feature allows you to automatically append a specified value (such as UTM parameters or other query strings) to all (or selected) links in your mailing content. Optionally, you can restrict this behavior to links pointing to specific domains and allow user input to further customize the appended value.
How to Use
Adding an "Auto Append to URLs" Content Area
- In the content area editor, select "Auto Append to URLs" from the type dropdown.
- Configure the following options:
- Append Value: Enter the string to be appended to your URLs (e.g., utm_source=SmarterSends&utm_medium=Email).
- The system will automatically handle whether to use ? or & based on the existing structure of the URL.
- The value must not contain a ? character; it will be added automatically if needed.
- Domains (optional): If you want to restrict appending to certain domains, enter a comma-separated list of domain names (e.g., example.com,anotherdomain.org). If left blank, the append value will be applied to all links.
- Allow User Input: Enable this toggle if you want end users to add their own value that will be appended after the prefix you provide.
How It Works
When the mailing is generated, the system scans all links (<a> and <area> tags) in your email content.
For each link:
If Domains are specified, only links to those domains are affected.
If Domains is left blank, all links are affected.
The Append Value (and any user input, if enabled) is appended to the link's URL as query parameters.
The system ensures the correct use of ? or & in the URL.
Example
Suppose you set:
Append Value: utm_source=SmarterSends&utm_campaign=
Domains: example.com,another.com
Allow User Input: Enabled
If a user enters SpringSale for this content area when creating a mailing, then links to those domains will be modified as follows:
Original: https://example.com/page
Modified: https://example.com/page?utm_source=SmarterSends&utm_campaign=SpringSale
Links to other domains remain unchanged.
Validation
The Domains field is validated to ensure only valid domain names are accepted.
The Append Value cannot contain a ? character.
Spaces entered by a user are converted to a +.
If you have further questions or need help configuring this feature, please contact support or refer to the in-app tooltips for each field.
Comments
0 comments
Article is closed for comments.