MoreConvert Documentation

How to Add UTM Parameters to Wishlist URLs in Emails

If you’re sending wishlist emails (via automations or campaigns) and want to track clicks using UTM parameters or any other custom query arguments, you can easily do this using built-in filters.

Available Filters for Customizing Wishlist URLs #

You can modify the wishlist link using the following filters:

Email TypeFilter Name
Automationwlfmc_automation_emails_list_url
Campaignwlfmc_campaign_emails_list_url

These filters let you modify the final {wishlist_url} output before it’s inserted into the email template.

 

How to Add UTM Parameters to Wishlist URLs in Emails #

Example: Add UTM Parameters to the Wishlist URL #

Add the following code to your theme’s functions.php file or via a code snippet plugin:

add_filter( 'wlfmc_automation_emails_list_url', function( $wishlist_url, $wishlist, $automation ) {
return add_query_arg( array(
'utm_source' => 'newsletter',
'utm_medium' => 'email',
'utm_campaign' => 'wishlist',
), $wishlist_url );
}, 10, 3 );

If you’re sending the email via a campaign, use the campaign-specific filter:

add_filter( 'wlfmc_campaign_emails_list_url', function( $wishlist_url, $wishlist, $campaign ) {
return add_query_arg( array(
'utm_source' => 'newsletter',
'utm_medium' => 'email',
'utm_campaign' => 'wishlist',
), $wishlist_url );
}, 10, 3 );

Notes #

  • These filters work right before the email is sent, so no need to manually modify the {wishlist_url} placeholder in the email content.

  • You can use add_query_arg() to safely append multiple parameters.

  • It also works with custom query parameters unrelated to UTM tracking.

 

Conclusion #

To track and customize your wishlist links in email campaigns, simply hook into the appropriate filter and append your desired parameters.
For more advanced customization or help, feel free to contact our support team.

What are your feelings?
Updated on July 22, 2025

How to Add UTM Parameters to Wishlist URLs in Emails

If you’re sending wishlist emails (via automations or campaigns) and want to track clicks using UTM parameters or any other custom query arguments, you can easily do this using built-in filters.

Available Filters for Customizing Wishlist URLs #

You can modify the wishlist link using the following filters:

Email TypeFilter Name
Automationwlfmc_automation_emails_list_url
Campaignwlfmc_campaign_emails_list_url

These filters let you modify the final {wishlist_url} output before it’s inserted into the email template.

 

How to Add UTM Parameters to Wishlist URLs in Emails #

Example: Add UTM Parameters to the Wishlist URL #

Add the following code to your theme’s functions.php file or via a code snippet plugin:

add_filter( 'wlfmc_automation_emails_list_url', function( $wishlist_url, $wishlist, $automation ) {
return add_query_arg( array(
'utm_source' => 'newsletter',
'utm_medium' => 'email',
'utm_campaign' => 'wishlist',
), $wishlist_url );
}, 10, 3 );

If you’re sending the email via a campaign, use the campaign-specific filter:

add_filter( 'wlfmc_campaign_emails_list_url', function( $wishlist_url, $wishlist, $campaign ) {
return add_query_arg( array(
'utm_source' => 'newsletter',
'utm_medium' => 'email',
'utm_campaign' => 'wishlist',
), $wishlist_url );
}, 10, 3 );

Notes #

  • These filters work right before the email is sent, so no need to manually modify the {wishlist_url} placeholder in the email content.

  • You can use add_query_arg() to safely append multiple parameters.

  • It also works with custom query parameters unrelated to UTM tracking.

 

Conclusion #

To track and customize your wishlist links in email campaigns, simply hook into the appropriate filter and append your desired parameters.
For more advanced customization or help, feel free to contact our support team.

What are your feelings?
Updated on July 22, 2025