Usted está aquí:
Uso compartido de email con pegado de HTML
Reenvío en redes sociales en Email Studio puede compartir todo un email en vez de compartir áreas de contenido seleccionadas desde un mensaje. Esta función utiliza un email con pegado de HTML en Email Studio.
Definición de contenido compartido
El HTML del mensaje de email necesita etiquetas de comentarios para compartir el contenido:
<!-- RegionStart[
socialslot:"SharePasteHTML", title:"Sharing an entire Paste HTML email", description:"Sharing an
entire email to Facebook and LinkedIn"] -->
El código de email con pegado de HTML sigue la etiqueta RegionStart.
<!-- RegionEnd[
socialslot:"SharePasteHTML"] -->
La declaración RegionStart se encuentra después de la tabla que contiene el vínculo para ver el email como una página web y antes del HTML de información del pie de página de la parte inferior del email.
Definición de redes sociales
Este ejemplo incluye una muestra del código que se comparte con Facebook y LinkedIn:
<a href="%%=GetSocialPublishURLByName('Facebook','US','SharePasteHTML')=%%" alias="Social Forward to Facebook - SharePasteHTML" title="Publish to Facebook"><imgsrc="http://image.preview.exacttarget.com/lib/ffcf14/m/1/social_default_facebook_icon.jpg" border="0" alt="Facebook" title="Facebook"></a>
<a href="%%=GetSocialPublishURLByName('LinkedIn','US','SharePasteHTML')=%%" alias="Social Forward to LinkedIn - SharePasteHTML" title="Publish to LinkedIn"><imgsrc="http://image.preview.exacttarget.com/lib/ffcf14/m/1/social_default_linkedin_icon.jpg" border="0" alt="LinkedIn" title="LinkedIn"></a>En el caso de los vínculos de Facebook y LinkedIn, el atributo href activa las funciones AMPscript de GetSocialPublishURLByName para compartir la región definida en SharePasteHTML. El segundo argumento de la función debe coincidir con el título definido en las etiquetas RegionTitle. El primer argumento de GetSocialPublishURLByName define la red social con la que se compartirá el email. En este ejemplo, los vínculos identifican a Facebook y LinkedIn.
En este ejemplo, se muestra el código HTML de todo el mensaje de email, incluida la vista no compartida como vínculo a una página web en la parte superior y un pie de página en la parte inferior.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Thank you for your interest in Email.</title>
<style type="text/css">
html body { margin: 0; padding: 0; font: 0.76em normal Arial, Verdana, Helvetica, sans-serif; color: #554; }
#cntr { width: 600px; }
#cntr .cnt { margin: 1.0em }
#cntr .cnt span { font-size: 1.5em; color: #000; }
#cntr .cnt strong { font-size: 1.0em }
</style>
</head>
<body bottommargin="0" leftmargin="0" rightmargin="0" marginheight="0" marginwidth="0" topmargin="0">
<table width="600" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td valign="top" align="left"><font face="verdana" size="1" color="#444444"><p>To view this email as a web page, go <a href="%%view_email_url%%" alias="View as a Web Page"> here.</a></p></font></td>
</tr>
</table>
<!-- RegionStart[ socialslot:"SharePasteHTML", title:"Sharing an entire Paste HTML email", description:"Sharing an entire email to Facebook and LinkedIn"] -->
<div align="center" style="background-color: _fckstyle="background-color: _fckstyle="background-color: _fckstyle="background-color: _fckstyle="background-color: _fckstyle="background-color: _fckstyle="background-color: _fckstyle="background-color: _fckstyle="background-color: _fckstyle="background-color: _fckstyle="background-color: _fckstyle="background-color: _fckstyle="background-color: _fckstyle="background-color: #333;">
<div id="cntr" align="left" style="background-color: _fckstyle="background-color: _fckstyle="background-color: _fckstyle="background-color: _fckstyle="background-color: _fckstyle="background-color: _fckstyle="background-color: _fckstyle="background-color: _fckstyle="background-color: _fckstyle="background-color: _fckstyle="background-color: _fckstyle="background-color: _fckstyle="background-color: _fckstyle="background-color: #FFF;"></div>
<div class="nav" style="height: _fckstyle="height: _fckstyle="height: _fckstyle="height: _fckstyle="height: _fckstyle="height: _fckstyle="height: _fckstyle="height: _fckstyle="height: _fckstyle="height: _fckstyle="height: _fckstyle="height: _fckstyle="height: _fckstyle="height: 50px; width: 600px; background: #222 url('http://image.exct.net/8c953a0c-d.jpg');">
<table width="100%" cellpadding="0" cellspacing="4" border="0">
<tr>
<td valign="left">Thanks for your interest in Social Forward!</td>
</tr>
</table></div>
<div class="cnt" style="border-bottom: _fckstyle="border-bottom: _fckstyle="border-bottom: _fckstyle="border-bottom: _fckstyle="border-bottom: _fckstyle="border-bottom: _fckstyle="border-bottom: _fckstyle="border-bottom: _fckstyle="border-bottom: _fckstyle="border-bottom: _fckstyle="border-bottom: _fckstyle="border-bottom: _fckstyle="border-bottom: _fckstyle="border-bottom: 1px solid #CCC; margin: 1.0em">
<p>At the bottom of the email, you can see Facebook and LinkedIn icons. Click them to share your content to the appropriate social network.</p>
<p>You can share this entire email via Social Forward!</p>
<p>
<a href="%%=GetSocialPublishURLByName('Facebook','US','SharePasteHTML')=%%" alias="Social Forward to Facebook - YahooPasteHTML" title="Publish to Facebook"><img src="http://image.preview.exacttarget.com/lib/ffcf14/m/1/social_default_facebook_icon.jpg" border="0" alt="Facebook" title="Facebook"></a>
<a href="%%=GetSocialPublishURLByName('LinkedIn','US','SharePasteHTML')=%%" alias="Social Forward to LinkedIn - YahooPasteHTML" title="Publish to LinkedIn"><img src="http://image.preview.exacttarget.com/lib/ffcf14/m/1/social_default_linkedin_icon.jpg" border="0" alt="LinkedIn" title="LinkedIn"></a>
</p>
</div>
</div>
</div>
<!-- RegionEnd[ socialslot:"SharePasteHTML"] -->
<table cellpadding="2" cellspacing="0" width="600" border="0" align="center">
<tr>
<td valign="top" align="left" style="line-height: _fckstyle="line-height: _fckstyle="line-height: _fckstyle="line-height: _fckstyle="line-height: _fckstyle="line-height: _fckstyle="line-height: _fckstyle="line-height: _fckstyle="line-height: _fckstyle="line-height: _fckstyle="line-height: _fckstyle="line-height: _fckstyle="line-height: _fckstyle="line-height: 16px;">
<p><font face="verdana" size="1" color="#777777">This email was sent to: <b>%%emailaddr%%</b><br />
<a href="%%subscription_center_url%%" alias="Manage Subscriptions">Manage Subscriptions</a> |
<a href="%%profile_center_url%%" alias="Update Profile">Update Profile</a> |
<a href="%%unsub_center_url%%" alias="Unsubscribe">One-Click Unsubscribe</a></p>
<p>This email was sent by: <b>%%Member_Busname%%</b><br />%%Member_Addr%% %%Member_City%%, %%Member_State%% %%Member_PostalCode%% %%Member_Country%%</p>
<p>We respect your right to privacy - <a href="http://email.exacttarget.com/ETWeb/company.aspx?id=80" alias="View Privacy Policy" style="color: _fckstyle="color: _fckstyle="color: _fckstyle="color: _fckstyle="color: _fckstyle="color: _fckstyle="color: _fckstyle="color: _fckstyle="color: _fckstyle="color: _fckstyle="color: _fckstyle="color: _fckstyle="color: _fckstyle="color: #0000ff">view our policy</a></p>
</font>
</td>
<td width="145" align="right" valign="center"><a href="http://www.marketingcloud.com" title="This email is Powered By Salesforce Marketing Cloud Engagement" alias="Powered By"><img src="http://email.exacttarget.com/images/Powered_By_1206.jpg" width="124" height="55" alt="This email is Powered By Salesforce Marketing Cloud Engagement" border="0" /></a></td>
</tr>
</table>
</body>
<custom name="opencounter" type="tracking">
</html>
