HTML Code for Sharing Options

  • 0
  • 2
  • Question
  • Updated 12 months ago
  • Answered
I would like to include the email sharing options that are in the footer (to email, Twitter, Facebook, LinkedIn) in an additional spot in my email. How can I get the code for that so I can place it elsewhere in my customized html email?
Photo of Allie

Allie

  • 13 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 0
  • 2
Photo of Emily Hollingsworth

Emily Hollingsworth, Alum

  • 2203 Posts
  • 158 Reply Likes
Official Response
Hi Allie -- That's a great idea! Our new button block would be great for that. :)

If you scroll down to the JSON Templating Markup section of this resource article, you'll find the share tags you need. Template Builder is a tool that our agency partners use to build their own templates, but you can grab those tags and add them as links to buttons or text to create those share links in the body of your mailing.

Let me know if you have any questions!
Photo of Grey Stepp

Grey Stepp, Support Team Manager

  • 1695 Posts
  • 135 Reply Likes
Official Response
Yes indeed!  The link that Emily references there, though it does involve a bit of code, does not require you code a template.  

The basics of it are that you would add this bit of code:

[% share:email url_only="true" %]

You can add that as the URL for a button or use that as the link for a bit of text.  

You simply replace the word "email" with "facebook" or "twitter" or "linkedin" 

Let me know if you have any questions!  

- Grey