What’s More Important: Author Websites or Social Media?

Social media is widely considered necessary by authors and publishers for book marketing. But is it as important as an optimized author website?