Message Action Name in URL tracking parameters at email channel surface level | Community
Skip to main content
LuisCardenas
Level 2
November 7, 2025
Question

Message Action Name in URL tracking parameters at email channel surface level

  • November 7, 2025
  • 1 reply
  • 140 views

Hi all,

 

I am creating a url tracking parameter in Marketing Channel surface and want to add the message action name included in journeys.  But I need it to populate in the URL following this format: "em-"  + context.system.source.actionName.

 

When using context.system.source.actionName as is, it will show i.e.: Email+-+ "ActionName". Therefore, I'd need to replace the first part mentioned above (Email+-+) by "em-"

 

 

Is it possible to treat this type of contextual attributed at channel surface level?

 

1 reply

SatheeskannaK
Community Advisor
Community Advisor
November 7, 2025

@luiscardenas Yes, you can add an additional string at the channel surface level.

  • For your example, when you use context.system.source.actionName in the utm_campaign,  

 

  • When you use "em-" along with context.system.source.actionName,

       URL parameters will look like below,

        

Thanks, Sathees
LuisCardenas
Level 2
November 11, 2025

Thanks for the answe. However, my question/need is that I'd need it to be utm_campaign=em-actionName (removing the Email part that comes after "em-" in your screenshots).

 

I'd appreciate any help

SatheeskannaK
Community Advisor
Community Advisor
November 11, 2025

@luiscardenas If I understood your ask correctly when I use the below function in utm_campaign gives a link with this UTM.

{%= replace(context.system.source.actionName,"Email","em-") %}

Result: utm_source=AJO&utm_medium=Email&utm_campaign=em-&correlationId="1232432432"

Thanks, Sathees