SOLVED

Re: Using my token to pass unique url breaks html once email sends

Go to solution
Chris_Morris1
Level 4

Using my token to pass unique url breaks html once email sends

I'm trying to pass a unique URL via email as part of a registration confirmation process. My unique url is in button form, as a 'my token' element. It looks beautiful in preview, but completely breaks on send. Any help would be appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Using my token to pass unique url breaks html once email sends

But I don't see any {{my.tokens}} in the content. And really we just need the snippet surrounding the token in question, not the full HTML of the email!

What we'd need is a comparison of [1] the HTML content with a hard-coded URL vs. [2] the exact same content with the token in place of the URL.  Again, you have to isolate the difference to being only the {{my.token}}, if that's what you think it the offending difference, or there are too many moving parts.

If you want to send me a sample of each of these variants, I'm happy to compare them for you, but you need to provide the 2 types of base materials so I can see "working" and "broken."

View solution in original post

5 REPLIES 5
SanfordWhiteman
Level 10 - Community Moderator

Re: Using my token to pass unique url breaks html once email sends

You're definitely going to need to post the code you want us to troubleshoot.

Please use syntax highlighting, too (choose "XML" type or "Plain").

Chris_Morris1
Level 4

Re: Using my token to pass unique url breaks html once email sends

@DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

html><head><META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">

meta http-equiv="Content-Type" content="text/html; charset=utf-8">

title></title>


style type="text/css">


{


{ width: 100% !important; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; margin: 0; padding: 0; }


{ width: 100% !important; }


{ max-width: 100%; }


{ width: 100% !important; max-width: 600px !important; position: relative !important; height: auto !important; top: 0px !important; }


{padding-left:10px!important;padding-right:10px!important;}


style>

head>

body style="padding:0; margin:0; " ><div class="mktEditable" id="Preheader" style="display:none; " >Preheader Text</div>

table class="table" style="font-family:Arial, Helvetica, sans-serif; color:#1b2126; width:700px; " align="center" border="0" cellpadding="0" cellspacing="0" ><tbody ><tr ><td class="pdlr" align="center" style="padding-left:10px; padding-right:10px; background:#ffffff; text-align:center; font-size:11px; padding-top:10px; padding-bottom:10px; " ><div class="mktEditable" id="Header" ><p><a target="_blank" href="http://www.takechargeamerica.org/" title="Take Charge America"><img style="display: block; border: none; margin-left: auto; margin-right: auto;" src="https://tcaimages.org/public/NewsLetter/tca-logo.png"></a></p>

div>

td>

tr>

tr>

td style="background: #053c7b; text-align: center; font-size: 11px;"><img style="display: block; border: none;" src="http://info.takechargeamerica.org/rs/715-VCG-874/images/t_30h_bg_strip.png"></td>

tr>

tr ><td class="pdlr" style="padding-left:0px; padding-right:10px; background:#ffffff; padding-top:50px; padding-bottom:50px; " ><table align="center" width="85%" style="margin-left:auto; margin-right:auto; font-family:Arial, Helvetica, sans-serif; " ><tbody ><tr ><td ><div class="mktEditable" id="Content" ><div style="text-align: center;"><span style="color: #225184; font-size: 20px;"><strong><span style="font-size: 24px;">You are almost there!</span></strong></span></div>

div style="text-align: center;"><br></div>

div style="text-align: center;"><span style="color: #225184; font-size: 20px;"><strong>Simply click the button below to confirm your registration:</strong></span></div>

div style="text-align: center;"><br></div>

div style="text-align: center; color: #225184;">

table align="center" style="font-family: Arial, Helvetica, sans-serif; margin: 10px auto; width: 238px;" border="0" cellpadding="0" cellspacing="0" height="44">

tbody>

tr>

td><a target="_blank" href="<a href="www.takechargeamerica.org">Verify Registration </a>" style="color: #ffffff; font-size: 18px; text-decoration: none; font-weight: bold;"><span style="padding: 10px 20px; background: #225184; border-radius: 5px; text-align: center;">Submit</span></a></td>

tr>

tbody>

table>

div>

p style="text-align: center;"><span style="font-size: 16px;">You can also paste this link into your browser: www.takechargeamerica.org<br></span></p>

p style="text-align: center;"><br></p>

p style="text-align: center;"><span style="font-size: 16px;">Questions? Please call a counselor at (800) 823-7396.</span></p>

p style="text-align: center;"><span style="font-size: 16px;">If you received this email by mistake, please delete it.</span></p>

div>

td>

tr>

tbody>

table>

td>

tr>

tr ><td class="pdlr" align="center" style="padding-left:10px; padding-right:10px; background:#1b2126; padding-top:30px; padding-bottom:30px; " ><div class="mktEditable" id="Footer-Top-Content" ><div><strong><span style="color: #43b7d7; font-size: 14px;"><a href="http://www.takechargeamerica.org/" target="_blank" title="TakeChargeAmerica.org" style="color: #43b7d7; text-decoration: none;">TakeChargeAmerica.org</a></span></strong></div>

div><span style="color: #ffffff; font-size: 14px;">20620 North 19th Avenue, Phoenix, Arizona 85027</span></div>

div><span style="color: #ffffff; font-size: 14px;">NOT A LOAN COMPANY</span></div>

div><br></div>

div><br></div>

div><strong><span style="color: #ffffff; font-size: 20px;">Stay In Touch</span></strong><br>

table class="table" width="284" style="margin-left: auto; margin-right: auto;">

tbody>

tr>

td style="text-align: center;"><a href="https://www.facebook.com/TakeChargeAmerica" target="_blank" title="Facebook"><img style="display: inline; border: none;" src="https://tcaimages.org/public/NewsLetter/facebook-icon.png"></a></td>

td style="text-align: center;"><a href="http://www.youtube.com/user/TakeChargeAmerica" target="_blank" title="Youtube"><img style="display: inline; border: none;" src="https://tcaimages.org/public/NewsLetter/youtube-icon.png"></a></td>

td style="text-align: center;"><a href="http://www.takechargeamerica.org/financial-education/blog/" target="_blank" title="Blog"><img style="display: inline; border: none;" src="https://tcaimages.org/public/NewsLetter/blog-icon.png"></a></td>

td style="text-align: center;"><a href="http://www.pinterest.com/itakecharge/" target="_blank" title="Pinterest"><img style="display: inline; border: none;" src="https://tcaimages.org/public/NewsLetter/pinterest-icon.png"></a></td>

td style="text-align: center;"><a href="https://twitter.com/tcasolutions" target="_blank" title="Twitter"><img style="display: inline; border: none;" src="https://tcaimages.org/public/NewsLetter/twitter-icon.png"></a></td>

td style="text-align: center;"><a href="https://www.linkedin.com/company/take-charge-america-inc.?trk=tyah&amp;trkInfo=tarId%3A1401741571228..." target="_blank" title="LinkedIn"><img style="display: inline; border: none;" src="https://tcaimages.org/public/NewsLetter/linkedin-icon.png"></a></td>

tr>

tbody>

table>

div>

div>

td>

tr>

tr ><td class="pdlr" style="padding-left:10px; padding-right:10px; background:#ffffff; padding-top:20px; padding-bottom:20px; " ><div class="mktEditable" id="Footer-Bottom-Content" ><div style="text-align: center;"><span style="font-size: 10px;">This message was sent by Take Charge America.</span></div>

div style="text-align: center;"><span style="font-size: 10px;">If you no longer wish to receive these emails you may <span style="color: #2c71cd;"><a href="http://info.takechargeamerica.org/UnsubscribePage.html?mkt_unsubscribe=1&mkt_tok=" target="_blank" title="unsubscribe" style="color: #2c71cd; text-decoration: none;">unsubscribe</a></span> here.</span></div>

div>

td>

tr>

tbody>

table>

body>

html>

Chris_Morris1
Level 4

Re: Using my token to pass unique url breaks html once email sends

Thank you, hopefully what I posted helps you help me. Thanks again.

SanfordWhiteman
Level 10 - Community Moderator

Re: Using my token to pass unique url breaks html once email sends

But I don't see any {{my.tokens}} in the content. And really we just need the snippet surrounding the token in question, not the full HTML of the email!

What we'd need is a comparison of [1] the HTML content with a hard-coded URL vs. [2] the exact same content with the token in place of the URL.  Again, you have to isolate the difference to being only the {{my.token}}, if that's what you think it the offending difference, or there are too many moving parts.

If you want to send me a sample of each of these variants, I'm happy to compare them for you, but you need to provide the 2 types of base materials so I can see "working" and "broken."

Chris_Morris1
Level 4

Re: Using my token to pass unique url breaks html once email sends

Message sent, thank you. I do appreciate the time you take to help others out, and for working with me to help answer my question. I love Marketo, but I’m not a developer. Working for a nonprofit, Marketo is one of three jobs for me. It’s thanks to helpful experts like yourself that I am able to progress with Marketo at all. Thanks again!