Personalised Offer Emails | Community
Skip to main content
January 9, 2017
Question

Personalised Offer Emails

  • January 9, 2017
  • 2 replies
  • 2833 views

Hi,

We're looking to include personalised offers for customers either as a whole email or as a section in an email that displays 4 offers that are personal to a customer. This would link through to an area of our site which showed their personal offers.

What I want to know is would we be able to change the 4 images displayed via a url in an email depending upon a customers 'customer id' which is a field in Marketo of {{Lead.CustomerID}}".

So if the url for each image was as follows would Marketo be able to display the 4 different images within an email template depending on a Customer's CustomerID:

emailcontent.gemporia.com/offer/1/customerid={{Lead.CustomerID}}".jpg

emailcontent.gemporia.com/offer/2/customerid={{Lead.CustomerID}}".jpg

emailcontent.gemporia.com/offer/3/customerid={{Lead.CustomerID}}".jpg

emailcontent.gemporia.com/offer/4/customerid={{Lead.CustomerID}}".jpg

I understand that a dynamic image which is not possible to implement out of the box in Marketo.However it's been suggested to me that using a custom coding feature like Email Script tokens would work for us.

Can someone help?

Thanks,

Chloe

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

SanfordWhiteman
Level 10
January 9, 2017

You're asking 2 related, but different questions:

1. Can I change the src of an <img> tag based on the value of a lead field?

2. Can I dynamically generate image content (as in personalized JPG/PNG/GIF bytes) based on the URL of an <img> src.

The answers are

1. Yes, of course, exactly as you have illustrated by including tokens.

2. Not using Marketo. While many such dynamic image generation/compositing services exist, Marketo doesn't offer this directly.

So you can successfully call such a service from a Mkto email, but you can't use Mkto only.

January 9, 2017

Thanks Sanford, we're looking to find a way of dynamically generating image content ourselves.

So if we create an email script as described below then this should be possible for us?

http://developers.marketo.com/email-scripting/

Thanks,

Chloe

SanfordWhiteman
Level 10
January 9, 2017

Nope, I would've mentioned if Velocity (email scripting) could do it. Like I said, Marketo doesn't have an image content generator. Velocity creates email content (i.e. text/html) but (a) runs when the email is sent and (b) is not a web service (and also (c) has no image generating ability).

SanfordWhiteman
Level 10
January 9, 2017

Oh, and I didn't see at first that you posted to the wrong place... please move the thread to Products. "Community" refers to the Marketo Nation website itself, and yes, this is confusing!