Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Tracking url in the variable content

chiDing
Level 2
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
pablo_rosero1
Correct answer by
Level 10
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
pablo_rosero1
Correct answer by
Level 10
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