<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ex Machina &#187; email</title>
	<atom:link href="http://jackgraham.net/exmachina/tag/email/feed/" rel="self" type="application/rss+xml" />
	<link>http://jackgraham.net/exmachina</link>
	<description>Social Media, Mobile &#38; Blogs for Small &#38; Mid-size Organizations</description>
	<lastBuildDate>Fri, 30 Dec 2011 16:49:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Add a &#8220;Share on Facebook&#8221; button to your marketing e-mails</title>
		<link>http://jackgraham.net/exmachina/2009/10/08/add-a-share-on-facebook-button-to-your-marketing-e-mails/</link>
		<comments>http://jackgraham.net/exmachina/2009/10/08/add-a-share-on-facebook-button-to-your-marketing-e-mails/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 15:40:25 +0000</pubDate>
		<dc:creator>Jack Graham</dc:creator>
				<category><![CDATA[e-mail marketing]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[social networks]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[emailmarketing]]></category>
		<category><![CDATA[socialmedia]]></category>

		<guid isPermaLink="false">http://jackgraham.net/exmachina/?p=86</guid>
		<description><![CDATA[Update: The tutorial below worked like a dream in 2009, but your mileage may vary now. I&#8217;m no longer in a role where I&#8217;m directly supporting Facebook for my company, so you may want to look elsewhere, as I&#8217;m no longer updating this information.
Cheetahmail demonstrated some of their new social media integration features during September&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p><strong><em>Update: The tutorial below worked like a dream in 2009, but your mileage may vary now. I&#8217;m no longer in a role where I&#8217;m directly supporting Facebook for my company, so you may want to <a href="http://www.youtube.com/watch?v=drADcEi0GSg">look elsewhere</a>, as I&#8217;m no longer updating this information.</em></strong></p>
<p><img class="alignright size-full wp-image-57" title="facebook" src="http://jackgraham.net/exmachina/wp-content/uploads/2009/06/facebook.png" alt="facebook" width="50" height="50" />Cheetahmail demonstrated some of their new social media integration features during September&#8217;s <a href="http://www.facebook.com/pages/Experian-CheetahMail/11779097959">Relevance Tour</a> stop in Boston. I didn&#8217;t feel like waiting for them to roll out the functionality on our account, so I took apart an <a href="http://www.urbanoutfitters.com/" target="_blank">Urban Outfitters</a> e-mail to see how it was done. (Their e-mail campaigns are great, by the way). The result is this quick how-to.</p>
<p>First of all, let&#8217;s look at the results. I now have an e-mail offer with a &#8220;Share on Facebook&#8221; button. When a user clicks the button, they&#8217;re taken to Facebook&#8217;s <strong>Post to Profile</strong> page:</p>
<p><img class="alignnone size-medium wp-image-87" title="howtofbshare1" src="http://jackgraham.net/exmachina/wp-content/uploads/2009/10/howtofbshare1-300x155.png" alt="howtofbshare1" width="390" height="200" /></p>
<p>The user can make their own comment and edit the link text as they wish. Once they click Share, a link to a hosted version of the e-mail, complete with thumbnail, shows up on their wall.</p>
<p><img class="alignnone size-medium wp-image-88" title="howtofbshare2" src="http://jackgraham.net/exmachina/wp-content/uploads/2009/10/howtofbshare2-300x253.png" alt="howtofbshare2" width="300" height="253" /></p>
<p>More importantly, it shows up in their friends&#8217; feeds. Prior to implementing the Share button, I had a button that sent users to our Facebook fan page. The Share button is a much more powerful way for e-mail marketers to use Facebook, as it drives traffic to your own hosted e-mail offer, rather than to Facebook itself.</p>
<p><strong>On to the How-to, then…</strong></p>
<ol>
<li><strong>Create a hosted version of the e-mail.</strong><br />
Normally, I wouldn&#8217;t have to do this. I use Cheetahmail, which automatically creates hosted versions of my e-mails for me. In this case, though, I &#8216;m going to need to alter the code of the hosted version in step 3, so I&#8217;ll host the HTML on my own site.<br />
Some bulk e-mail services host images for you and convert the <em>src</em> attributes in your &lt;IMG&gt; tags to point to those hosted images. In this case, I recommend using this converted source to make your hosted e-mail, as hits to the images hosted by your e-mail provider are usually used in reporting. This also avoids potentially skewing the analytics on your own web site.</li>
<li><strong>Create a thumbnail for the Facebook wall.</strong><br />
The thumbnail should be 150 pixels wide. It can be either a thumbnail of the e-mail itself, or a smaller treatment using elements picked up from the e-mail. You can skip including a thumbnail, but wall posts with no images lose a lot of impact. In my example, I&#8217;m using a thumbnail of the cover for an electronic catalog we&#8217;re plugging in the e-mail.</li>
<li><strong>Add meta information used by Facebook to the &lt;HEAD&gt; of the hosted e-mail.</strong><br />
When you submit a URL to Facebook&#8217;s Share function, it parses the document and picks up some info from the &lt;HEAD&gt; of the HTML. It uses what it finds as the default text shown on the share screen, enabling you to control what appears there. Facebook looks for a few &lt;META&gt; tags to fill in the copy and a &lt;LINK&gt; tag for the thumbnail image. Take another look at th <strong>Post to Profile</strong> screen shot above. The code that produced that default text looks like this:</p>
<p><img class="alignnone size-full wp-image-92" title="howtofbshare3" src="http://jackgraham.net/exmachina/wp-content/uploads/2009/10/howtofbshare3.png" alt="howtofbshare3" width="389" height="94" /></li>
<li><strong>URL encode the URL of the hosted e-mail.<br />
</strong>Eric Meyer&#8217;s <a href="http://meyerweb.com/eric/tools/dencoder/" target="_blank">URL Decoder/Encoder</a> is a fast way to do this.</li>
<li><strong>Append the encoded URL to the Facebook share URL as a query string.</strong><br />
Your final URL will look something like this:<br />
<code>http://www.facebook.com/share.php?u=http%3A%2F%2Fyour.hosted.emailserver.com%2Fhostedemail%2FEP283_hosted.html<br />
</code></li>
<li><strong>Create a Share on Facebook button.<br />
</strong>How this button looks and where it&#8217;s positioned in the e-mail will vary a lot depending upon how you do your creative. Generally, though, I think putting it in the center column of the e-mail together with any other social media links you want to include works best. My organization normally puts it in the sidebar, but our creative is atypical of how most companies do marketing e-mails.</li>
<li><strong>Link this button to your Facebook share URL.<br />
</strong>Voilà! You now have a Facebook share button in your e-mail offer.<br />
There is one thing to be cautious of on this step, however: some bulk e-mail services might undo the URL encoding you applied to your query string in steps 4 &amp; 5. Cheetahmail definitely does; I haven&#8217;t tested it on other e-mail providers yet. Be aware of this issue, as it can lead to broken links. Most bulk e-mailers give you the option to  edit the links after they create redirects, so you should be able to fix this manually.</li>
</ol>
<p>Happy sharing!</p>
]]></content:encoded>
			<wfw:commentRss>http://jackgraham.net/exmachina/2009/10/08/add-a-share-on-facebook-button-to-your-marketing-e-mails/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

