AnsweredAssumed Answered

Dynamic Links & Link Copy

Question asked by 6412947dfa45377882baa935fd02361b3e0f8e84 on Jan 16, 2018
Latest reply on Jan 16, 2018 by 6412947dfa45377882baa935fd02361b3e0f8e84

Hi All,

 

I could use some help. I'm trying create a simple link within an email, and that link needs to be dynamic both for its:

 

- URL, and its

- Link copy (based on language)

 

That is to say, for each language this email is sent to, the link needs to display in the recipients native language and have a unique URL. The code we're attempting to use looks like this (I've removed the inline styles for simplicity):

 

<a mktoname="Confirm Button" id="button-confirm" href="${buttonLink}" class="mktoText">${buttonText}</a>

 

Having been made dynamic, this works fine in the initial view, with Marketo seeing the tokens and allowing us to set both the URL and the default copy, like so:

 

email_fine.png

...but that simplicity falls down when it comes to setting the individual language values and links. The primarily interface when setting these values is the free-form WYSIWYG editor, shown here (note the dynamic language menu in the upper-right corner):

 

email_doh.png

 

...which, apart from stripping the underlying formatting when running the code through its filter and adding a helpful p tag (yes, I'm aware this can be turned off), this interface only appears to allow one to set the copy. It also introduces failure points for any non-tech savvy users that will be adding these values in future. Clearly not the desired outcome.

 

My first question is, why are these two interfaces different? What would be ideal, is that for each language there would be, as in the first attached image, an associated 'Button Text' and 'Button Link' fields to complete. Would this view too not benefit from being structured?

 

But my pressing question is, how can the goal of having unique links with unique copy be accomplished? Should this be marked up differently altogether, or am I think about this problem incorrectly?

 

Thank you in advance, I appreciate the help.

Outcomes