Re: Can you use a snippet for a single element inside a content block in email?

Anonymous
Not applicable

Can you use a snippet for a single element inside a content block in email?

I pasted entire html into an email, so it all (header, body, footer, etc.) appears in a single content block in the email editor.

But I want to include a snippet for the photo of the lead owner, which is at the bottom of the email, left aligned with some other text, above the "footer" bar.

Is it possible to place the snippet and apply it to a single element (image) inside a content block, or does it have to be a separate content section on its own in the email to do that?

Trent

7 REPLIES 7
Grégoire_Miche2
Level 10

Re: Can you use a snippet for a single element inside a content block in email?

Hi Trent,

Unfortunately, snippets can only replace complete editable zones, and they are not available as a specific HTML identifier that you could paste somewhere in your code.

-Greg

Anonymous
Not applicable

Re: Can you use a snippet for a single element inside a content block in email?

Thanks Greg.

Would a better option, then, be to create a custom field in SFDC for the profile picture, and then use that as a token inside the email?

Trent

Grégoire_Miche2
Level 10

Re: Can you use a snippet for a single element inside a content block in email?

Hi Trent,

Yes, that would be much better. If you sync with the CRM, you could even have this field created in the CRM and synch'ed to Marketo, so the values (Image URLs) would be maintained in the CRM. Event better, create it in the CRM on the user object, then propagated (workflows or formula fields) to the lead and contact objects.

-Greg

Anonymous
Not applicable

Re: Can you use a snippet for a single element inside a content block in email?

So if I added field to the SFDC user object for images, would I still need to upload those images into the Marketo library to be able to use the token?

Trent

SanfordWhiteman
Level 10 - Community Moderator

Re: Can you use a snippet for a single element inside a content block in email?

So if I added field to the SFDC user object for images, would I still need to upload those images into the Marketo library to be able to use the token?

The token can refer to an <IMG> whose src is anywhere you want.

Grégoire_Miche2
Level 10

Re: Can you use a snippet for a single element inside a content block in email?

Hi Trent,

The images would have to be stored on a public web server. Marketo is a good choice, but you could also set up public images in SFDC as well. The only conditions are:

  • that the email addressees can access these images
  • that you can get the URL and paste it in the user photo field, then propagate this URL field to every lead and contact so that it populates Marketo.

-Greg

Anonymous
Not applicable

Re: Can you use a snippet for a single element inside a content block in email?

Excellent. Thanks, much, everyone.

Trent