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

URL not tracking when v:rect used in button code

Avatar

Avatar
Give Back
Level 1
cmabruzzese0923
Level 1

Likes

0 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Give Back
View profile

Avatar
Give Back
Level 1
cmabruzzese0923
Level 1

Likes

0 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Give Back
View profile
cmabruzzese0923
Level 1

17-11-2020

Hello,

 

The code below is for a CTA button in an email. Because of the v:rect, this URL does not show up as a tracked URL. I removed the <v:rect and </v:rect> but this breaks the rendering. Does anyone know how to remedy this? As this is a clickable button, we DO need this tracked.

 

Thanks!
Cindy

 

<a class="button" <v:rect href="https://google.com" target="_blank" style="display:block; v-text-anchor:middle;width:280px;height:40px;text-decoration:none;" fillcolor="#1c69d4" stroke="f">
<!--[if mso]><center><![endif]--><span style="width:100%; vertical-align: middle; text-align:center; font-family: Arial, sans-serif; font-size:14px; line-height:18px; font-weight:bold; color:#ffffff; padding: 10px 0; background-color:#1c69d4; display:block;">See Offer</span><!--[if mso]></center>
</v:rect><![endif]--></a>

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar
Validate 500
Employee
Sukrity_Wadhwa
Employee

Likes

133 likes

Total Posts

820 posts

Correct Reply

36 solutions
Top badges earned
Validate 500
Validate 250
Validate 100
Validate 25
Validate 50
View profile

Avatar
Validate 500
Employee
Sukrity_Wadhwa
Employee

Likes

133 likes

Total Posts

820 posts

Correct Reply

36 solutions
Top badges earned
Validate 500
Validate 250
Validate 100
Validate 25
Validate 50
View profile
Sukrity_Wadhwa
Employee

27-11-2020

Hi @cmabruzzese0923,

Was the given solution helpful to resolve your query or do you need more help? Do let us know.

Thanks!

Avatar

Avatar
Contributor
MVP
wodnicki
MVP

Likes

941 likes

Total Posts

1,061 posts

Correct Reply

499 solutions
Top badges earned
Contributor
Shape 1
Give Back 100
Give Back 50
Give Back 25
View profile

Avatar
Contributor
MVP
wodnicki
MVP

Likes

941 likes

Total Posts

1,061 posts

Correct Reply

499 solutions
Top badges earned
Contributor
Shape 1
Give Back 100
Give Back 50
Give Back 25
View profile
wodnicki
MVP

17-11-2020

Hi,

 

That doesn't look like valid HTML. Is this what you intended?

<a class="button" href="https://google.com">
<!--[if mso]><v:rect target="_blank" style="display:block; v-text-anchor:middle;width:280px;height:40px;text-decoration:none;" fillcolor="#1c69d4" stroke="f">
<center><![endif]--><span style="width:100%; vertical-align: middle; text-align:center; font-family: Arial, sans-serif; font-size:14px; line-height:18px; font-weight:bold; color:#ffffff; padding: 10px 0; background-color:#1c69d4; display:block;">See Offer</span>
<!--[if mso]></center></v:rect><![endif]-->
</a>

 

Thanks,

-Jon