The function of social media, when it comes to marketing, is that posts allow companies to communicate throughout the day to their audience without requiring an opt-in effort by the consumer such as opening an email which can be intrusive and lead to customer annoyance.