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

Tracking url in the variable content

Avatar

Avatar
Validate 1
Level 1
chiDing
Level 1

Likes

3 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 1
chiDing
Level 1

Likes

3 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile
chiDing
Level 1

26-10-2018

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 250
Level 10
pablo_rosero1
Level 10

Likes

81 likes

Total Posts

348 posts

Correct Reply

77 solutions
Top badges earned
Validate 250
Validate 100
Validate 50
Validate 25
Validate 10
View profile

Avatar
Validate 250
Level 10
pablo_rosero1
Level 10

Likes

81 likes

Total Posts

348 posts

Correct Reply

77 solutions
Top badges earned
Validate 250
Validate 100
Validate 50
Validate 25
Validate 10
View profile
pablo_rosero1
Level 10

15-11-2018

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.

Answers (0)