hi all, me again!
we've got an issue on a transactional (operational) email whereby we're using a token that's displaying a table, but the formatting of the table makes it difficult to read some of the info because of how it's aligning.
we remember a supplier had set this formatting up ages ago, but dont remember much else.
we're plugging in our own systems to Marketo, and the only info populating the table is text. where would the formatting be set please? the token i use is just: {{my.TEOrderDetails}}.
is this in admin or? we have a html guy, but he needs to know where to amend the formatting.
thanks as always!
KR, Mike
PS - At the mo, it's just a basic text token: {{my.TEOrderDetails}}, and the data is provided by an API from an internal system, our IT team are adamant that the formatting is applied on our side in marketo.
Without seeing any of your code it’s clearly impossible to answer!
All tokens are edited in the Tokens tab at the folder or program level. Ensure you’re editing the one where the token is under Local (not Inherited).
EDIT: If they’re passing “runtime” values for the token via API, then indeed you can’t edit or even view anything useful within the Marketo UI.
thanks for reply! so, as these emails are API triggered i cant give you a live a proper example, but i can give you this section of code if it helps?:
Dear {{my.TECustomerFirstName:default=edit me}},
<br />
<br />Thank you for placing your order.
<br />
<br />We acknowledge receipt for your paid for selections as detailed below:
<br />
<br />{{my.TEOrderDetails:default=edit me}}
<br />
</div>
<div>
<br />
Well, there’s no table there.
And if you don’t have a sample of how the {{my.TEOrderDetails}} is formatted when sent as part of a (presumably) Request Campaign or Schedule Campaign API call, don’t see how we could help you reformat it.
our IT team are adamant that the formatting is applied on our side in marketo.
This is 100% not true, they’re the ones formatting it.
okay so i can't show you full code, but i can give you how it comes through, which might help:
I personally don't think this is much helpful. W/o code, it's a bit difficult to provide a fix for the formatting issue. Additionally, as Sandy says, the token is most likely set at the run time so it's data (including the HTML) should be included in the payload of the request campaign call. The values passed at the runtime in the payload are considered and takes precendence if you have the token already set in Marketo. You should request the team responsible for setting up the necessary configs for triggering transactional emails via requesting the trigger campaign programmatically to provide the value of the token they've have it in the payload.
hi all,
The token that is sent to the Marketo API via our code is in completely plain HTML format. Example above.
There is purely data. IT can only affect things like the number of columns, the order of columns etc.
All styling is applied on the Marketo side via the email templates.
have we any ideas where i could amend the formatting please?
Gotcha- you should check whether you have styles defined for the table and its elements in the email then.
Edit- Users generally prefer inline styles within the tokens instead.
great, thanks Darshil, any idea how i'd action this please?
I suggest you modify the token value (i.e., the table HTML) to have the inline styles to ensure they are consistently applied across all the email clients as Sandy notes. Inline CSS has the highest priority so they'll be applied in case of conflicts from internal/external CSS.