Expand my Community achievements bar.

Never miss an update of the Adobe Journey Optimizer Community Lens! Subscribe now to get the latest updates, insights, and highlights delivered straight to your inbox every time a new edition drops.
SOLVED

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

Avatar

Level 2

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?

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

Screenshot 2025-11-11 at 4.32.43 PM.png

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

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

Thanks, Sathees

View solution in original post

4 Replies

Avatar

Community Advisor

@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,  

 Screenshot 2025-11-07 at 10.39.31 AM.png

  • When you use "em-" along with context.system.source.actionName,Screenshot 2025-11-07 at 10.47.53 AM.png

       URL parameters will look like below,

        Screenshot 2025-11-07 at 10.30.42 AM.png

Thanks, Sathees

Avatar

Level 2

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

Avatar

Correct answer by
Community Advisor

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

Screenshot 2025-11-11 at 4.32.43 PM.png

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

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

Thanks, Sathees

Avatar

Administrator

Hi @LuisCardenas,

Was the given solution helpful to resolve your query or do you still need more help here? Do let us know. In case the given solution was helpful, then kindly choose it as the 'Correct Reply'.

Thanks!



Sukrity Wadhwa