Can we add the variables in the URL Labels?

Avatar

Avatar

algerz81927054

Avatar

algerz81927054

algerz81927054

30-01-2018

Hello,

This question is about the "Delivery-Message tracking".

1407127_pastedImage_1.png

1407131_pastedImage_2.png

I hope to add some variables to the URL Labels to separate the duplicated named links. So that, when there are multiple versions in one delivery, I could segment the links for each version.

But unfortunately that the variables I added (such as "targetData.segmentCode) were regarded as a "String".  The variables' values won't be actually pulled through the report.

1407132_pastedImage_6.png

It is just read as "<%= targetData.segmentCode%> GIF Module", but I would like to let it be read as "V1_GIF Module".

Does anyone know why the variable failed to work and is there any method to solve this problem? Or, do we have any other way to version out the links in the delivery tracking?

Thanks a lot!

Regards,

Alger

View Entire Topic

Avatar

Avatar

algerz81927054

Avatar

algerz81927054

algerz81927054

17-05-2018

Hi Amit, sorry for the late reply and thank you so much for the answer. I really appreciate it!

I just have a further question on it:

When I trying adding the "_label" attribute to the <a> links. The result doesn't show what I'd like to see in the delivery interface.

Please see the example below:

1489202_pastedImage_1.png

Though I set the "_label" to be "PreHeader", it still reads "Pre-Header" (with an extra hyphen symbol) in the Adobe delivery interface.

1489203_pastedImage_2.png

I guess this is a cache problem, but I don't know how to solve it. I don't want the final Label to be "Pre-Header" and need it to be "PreHeader" as what I set in the HTML code.

*I also checked the XML of the delivery and found:

1489204_pastedImage_3.png

The label I set in the HTML becomes the value of the attribute "guessLabel" (in yellow). However, it is covered by the value of "label" (in pink). But actually, I never set a value "Pre-Header" in my delivery/code.

Do you know why this problem happened and what to do with it?

Many thanks!