top of page
  • Writer's pictureLeila

How to append UTM parameters to a button, linked to a cloudpage when setting up in content builder?

Updated: Sep 14, 2023

The problem: When adding UTM parameters directly to the html, they are automatically stripped out and removed from the html. #sfmcsad :-(

Understanding the effectiveness of your marketing campaigns is crucial. One of the best ways to track and measure the success of your marketing efforts is by using UTM parameters.

Finding yourself struggling to append UTM parameters to your cloudpage links in Salesforce Marketing Cloud (SFMC) Content Builder?

You're not alone!

This SFMC.Essentials blog reveals a pragmatic way to append UTM parameters to your cloudpage links and zooms in on best practices to ensure effective campaign tracking.

TL;DR skip to the solution please: Use the following code:

Understanding UTM Parameters and Their Importance

Let's briefly discuss what UTM parameters are, and why they are essential for your marketing campaigns.

UTM, what is it?
  • UTM (Urchin Tracking Module) parameters are tags that you can add to your URLs to track the effectiveness of your campaigns and analyze visitor behavior.

  • By appending UTM parameters to your cloud page links, you gain valuable insights into how your audience interacts with your content, helping you make data-driven decisions and optimize your marketing strategies.

The Challenges of Appending UTM Parameters in SFMC Content Builder

In SFMC Content Builder, you may have tried adding UTM parameters directly to the HTML of your button linking to a cloud page. However, upon saving your changes, you might have noticed that the UTM parameters are automatically removed from the HTML. This can be frustrating, as it limits your ability to track your campaigns effectively.

The Pragmatic Answer & fix: Appending UTM Parameters

Don't worry! SFMC.Essentials got you covered with a workaround that allows you to append UTM parameters to your cloud page links in Content Builder.

Use the following code:

“redirectto(concat(cloudpagesurl(PAGEID, var1,value1),’&utm=Mchack”)))

This code effectively bypasses the limitation and allows you to append UTM parameters to your cloud page links without them being removed automatically.

Best Practices for Appending UTM Parameters in Content Builder

Now that you know the workaround, let's discuss some best practices for appending UTM parameters to ensure accurate campaign tracking:

  1. Be consistent with your UTM parameter naming conventions. This will make it easier to analyze your data and compare the performance of different campaigns.

  2. Use descriptive and meaningful values for your UTM parameters to help you quickly identify the source, medium, and campaign associated with each link.

  3. Periodically review and update your UTM parameters to ensure they accurately reflect your current marketing initiatives.

Congrats, you now have the knowledge to add UTM parameters to a cloudpage when setting up in content builder!

Finding yourself needed some extra pair of brains? Have a quick session with one of the SFMC.Essentials fixers

bottom of page