Loading
Feature Disruption - Service Cloud VoiceRead More
Feature degradation | Gmail Email delivery failureRead More
Email in Marketing Cloud Engagement
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Content Area Sharing using Paste HTML and Social Markup

          Content Area Sharing using Paste HTML and Social Markup

          The HTML code in this example shares a static piece of content from an Email Studio email to Facebook. The first commented part of the pasted HTML names the content area Shared content Region 1, and the second commented part of the pasted HTML contains the creates the Social Markup link using the GetSocialPublishURLByName() AMPscript function.

          Example
          Example
          <!-- RegionStart[ socialslot:"Shared content region 1",
              title:"First shared email content",
              description:"This is an example of shared content",
              csskey:"portfolio css 1"] -->
            <table width="100%" bgcolor="#FFFFFF" border="0" bordercolor="" cellpadding="5" cellspacing="0">
              <tr>
                <td style="font-family:Arial; font-size:13px">
                  <img  src="https://example.com/images/logo.jpg"
                        title="logo" align="left" border="0" />
          
                  <p id="text-placeholder" style="margin-top: 0px; margin-bottom: 0px;">
                  This is an example of a shared content area!&nbsp; Please feel free to
                  pass on this information!<br />
                  <br /></p>
           
                  <!-- Creates a link to share this content with Facebook -->
                  <a href="%%=GetSocialPublishURLByName('Facebook', 'US', 'Shared content region 1')=%%" 
                      alias="Social Forward to Facebook" 
                      title="Publish to Facebook">
                      <img 
                          src="http://image.exct.net/lib/ffcf14/m/1/social_default_facebook_icon.jpg" 
                          alt="Facebook" 
                          title="Facebook" 
                          border="0">
                   </a>
          
                </td>
              </tr>
            </table>
          <!-- RegionEnd[ socialslot:"Shared content region 1"] -->
           
          Loading
          Salesforce Help | Article