SOLVED

Can I use tokens for pictures?

Go to solution
Anonymous
Not applicable

Can I use tokens for pictures?

We have some general pictures, like Social Media Icons or our logo for example, that we use again and again in emails. Sometimes these pictures change (like shortly we decided to put the social media icons in a flat design). Then I have to replace all those pictures in all my Emails and Templates.
Is there a way to tokenize these pictures and then use the tokens within my Emails instead of the pictures?
Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Re: Can I use tokens for pictures?

Hi Katrin,

Images are not associated automatically to tokens, like e.g. fields are. They have to be set manually in programs (or folders) in Marketing Activities. These are the so-called program tokens starting with "my."

https://community.marketo.com/MarketoTutorial?id=kA250000000KysJCAS

Imagine you had a folder called "German programs". Place a token like {{my.header-banner}} here and give it the value of most used banner image like "http://lp.yourcompany.com/rs/yourcompany/images/German_Header_Banner.jpg".

(That image doesn't need to be hosted in Marketo, it can also be hosted anywhere else on the web.)

You can now place that very token on all emails and landing pages below this folder, and if you want to change it on all assets (without the need to re-approve your assets!) you just have to edit this one token.

That would be a folder token and all folders and programs beneath it inherit its value.

Similar to that you'd have the above mentioned token for {{my.webinar-speaker-image}} in your webinar program and use the token on all emails, landing pages and thank-you-pages that should have that very speaker image.

I'd suggest to dive deep into the concept of cascading tokens, which is - at least in my opinion - one of Marketo's greatest features.

Hope this helps!

Best,
Michael

View solution in original post

10 REPLIES 10
Anonymous
Not applicable

Re: Can I use tokens for pictures?

Hi Kathrin,

I suppose that depends on how you place your images into your emails/landing pages. We basically work purely in HTML modes aka not use any WYSIWYG editors in Marketo. So we can place images like this:

<img src="{{my.webinar-speaker-image}}>

where the token value for my.webinar-speaker image is "http://lp.yourdomain.com/image.jpg".

We do that consequently for all images on both emails and landing pages.

Note also that can put even more complex HTML structures like a complete table including imagery and words into tokens.

So the answer would be yes, you can. Everything that can be token, should be one. 🙂

Best,
Michael

Dory_Viscoglio
Level 10

Re: Can I use tokens for pictures?

Agree with Michael, anything that can be tokenized should be tokenized if possible! It will make your life much easier when you're making many similar assets, or using the same images, copy, etc.
Anonymous
Not applicable

Re: Can I use tokens for pictures?

Hi Michael,

thank you very much for your answer. Th question for me is: Where do I set the token value for each image?
Can I do that somewhere within Marketo?
I think so, but I cannot find it. I was looking for that option somewhere in the Design-Studio where I store my images, but I could not find it. Do you maybe have some more details? Or a screenshot on that?

Best regards,
Katrin
Anonymous
Not applicable

Re: Can I use tokens for pictures?

Hi Katrin,

Images are not associated automatically to tokens, like e.g. fields are. They have to be set manually in programs (or folders) in Marketing Activities. These are the so-called program tokens starting with "my."

https://community.marketo.com/MarketoTutorial?id=kA250000000KysJCAS

Imagine you had a folder called "German programs". Place a token like {{my.header-banner}} here and give it the value of most used banner image like "http://lp.yourcompany.com/rs/yourcompany/images/German_Header_Banner.jpg".

(That image doesn't need to be hosted in Marketo, it can also be hosted anywhere else on the web.)

You can now place that very token on all emails and landing pages below this folder, and if you want to change it on all assets (without the need to re-approve your assets!) you just have to edit this one token.

That would be a folder token and all folders and programs beneath it inherit its value.

Similar to that you'd have the above mentioned token for {{my.webinar-speaker-image}} in your webinar program and use the token on all emails, landing pages and thank-you-pages that should have that very speaker image.

I'd suggest to dive deep into the concept of cascading tokens, which is - at least in my opinion - one of Marketo's greatest features.

Hope this helps!

Best,
Michael
Anonymous
Not applicable

Re: Can I use tokens for pictures?

Hi Michael,

I think I generally understand what you mean. But when I want to create a new token within a folder in Marketing Activities, I only have the following options to choose from:
  • Score
  • Date
  • Calendar file
  • Number
  • RTF
  • SFDC Campaign
  • Text
There is no option like URL oder Link or something similar. How did you do that?

Best,
Katrin
Anonymous
Not applicable

Re: Can I use tokens for pictures?

Ah, sorry. "http://lp.yourcompany.com/rs/yourcompany/images/German_Header_Banner.jpg" is in fact of the type text. Most of our tokens are text, as HTML is - after all - only text. 😉
Dory_Viscoglio
Level 10

Re: Can I use tokens for pictures?

The only caveat to what Michael has mentioned, is if you want to be able to track the clicks on the tokens, you need to use Rich Text instead of just Text for the token. Lessons learned 🙂
Anonymous
Not applicable

Re: Can I use tokens for pictures?

Thanks a lot Michael and Dory. 🙂
Alexis_Shamsi_H
Level 3

Re: Can I use tokens for pictures?

Hi everyone,

I need help with this feature and was hoping to reopen this thread:

I am working on an event program that uses My Tokens to populate information across all emails and landing pages in that program. There are 7 email assets, and each has a banner image and 3 detail images in the footer. One item I'd like to improve in this program is adding My Tokens for all 4 images so users do not need to update each individual image in all 7 emails.

I went into the HTML for the email templates, and updated the image src="" code:

<td bgcolor="#E8E6DF"><div class="mktEditable" id="banner-image2"><a href="http://www.fourseasons.com/?c=t"><img name="Four_Seasons_Save_the_Date_Final_r1_c2" src="{{my.Event Email Banner Image}}" width="600" height="252" id="Four_Seasons_Save_the_Date_Final_r1_c2" alt="Four Seasons" style="outline-style:none;text-decoration:none;-ms-interpolation-mode:bicubic;border-style:none;display:block;" /></a></div></td>

Then I added a text My Token for {{my.Event Email Banner Image}} at the event program level. When I cut and paste a test image URL into the token, nothing happens - the image does not render in my email. What am I missing?

Thank you in advance!