Expand my Community achievements bar.

We are excited to introduce our latest innovation to enhance the Adobe Campaign user experience — the Adobe Campaign v8 Web User Interface!
SOLVED

Tracking url in the variable content

Avatar

Level 2

Hi:

we have a case need to pass some html blocks as a variable to the messagecenter template.

so the template structure is:

<html>

     <%=rtEvent.ctx.contentBlock%>

</html>

This works perfectly fine in terms of html rentering.

however, if I have a link the contentBlock, it wont get escaped and tracked by the Adobe campaign.

for example, we pass:

<div>

    <a href="https://www.google.ca>"

</div>

Is there a way to make this work?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi Chi Ding,

Are you sure you're correctly formatting your HTML?

<div>

    <a href="https://www.google.ca">Google</a>

</div>

Let me know if this helps.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi Chi Ding,

Are you sure you're correctly formatting your HTML?

<div>

    <a href="https://www.google.ca">Google</a>

</div>

Let me know if this helps.