This document discusses optimizing content for virality through A/B testing on websites and social media. It defines virality as organic growth through users sharing with friends. The key to virality is improving the action, invite, and response rates in the viral loop. Case studies show how A/B testing petition pages, share pages, and language can increase a campaign's virality ratio and drive significantly more viral growth and new users. Without optimization, one campaign was estimated to generate 22,000 fewer actions and 15,700 fewer new users.