obtener Variables UTM delivery | Community
Skip to main content
JESUSBA1
Level 2
July 2, 2024
Question

obtener Variables UTM delivery

  • July 2, 2024
  • 1 reply
  • 1767 views

Good morning,
I am trying to retrieve these variables to add them as UTM parameters in a URL from a delivery but unfortunately when previewing they are always empty except the transaction ID.

I am using them like this inside the HTM Context.
<p>Message type: <%= delivery.messageType %></p>
<p>Operation ID: <%= delivery.operation_id %></p>
<p>Operation label: <%= delivery.operation.label %></p>
<p>Internal name of operation: <%= delivery.operation.internalName %></p>

The idea is to somehow fill in these variables.
(utm_medium ,utm_source ,utm_campaign,utm_content,utm_term)
to be able to concatenate them in my url, can you help me?

Thank you!

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

OscarGo
Level 3
July 2, 2024

Hi @jesusba1 

 

You can add that info by customizing your ''NmsTracking_ClickFormula'' option:

 

JESUSBA1
JESUSBA1Author
Level 2
July 2, 2024

Thank you! How can I rescue the channel, I still see it empty?

Thank you very much.

JESUSBA1
JESUSBA1Author
Level 2
July 3, 2024

That's where I'm looking at it, it doesn't give me any information beyond that.

Maybe it's giving an error to include it inside the href when concatenating it? this is my customization block.

 

 


Solved, I managed to make it work by creating a content block to retrieve the variables and using the variable directly in the html.