Skip to content
Home Tutorials Roadmaps Courses Classroom Training Blog
Log in Join free
Digital Marketing Beginner Free

Social Media Strategy

Lesson 5 of 17 · Social Media Marketing 29%
1. Introduction to Digital Marketing
What is Digital Marketing?
2. Search Engine Optimization
SEO Fundamentals Keyword Research
3. Content Marketing
Content Strategy
4. Social Media Marketing
Social Media Strategy
5. Email Marketing
Email Marketing Essentials
6. PPC Advertising
Google Ads
7. Analytics & Data
Google Analytics
8. Affiliate Marketing
Affiliate Marketing Basics
9. Video Marketing
YouTube & Video Strategy
10. Conversion Optimization
CRO Basics
11. Marketing Automation
Marketing Automation Tools
12. Influencer Marketing
Influencer Marketing Basics
13. E-commerce Marketing
E-commerce Marketing Strategy
14. Brand Building
Brand Strategy
15. Mobile Marketing
Mobile Marketing Strategies
16. Data-Driven Marketing
Data-Driven Decision Making

Social media marketing uses platforms like Facebook, Instagram, LinkedIn, and TikTok to promote brands.

Platform Comparison

  • Facebook — broad audience, groups, ads
  • Instagram — visual content, stories, reels
  • LinkedIn — B2B, professional networking
  • TikTok — short-form video, Gen Z
  • Twitter/X — news, conversations

Syntax

DIGITAL-MARKETING
# Social Media Metrics
Engagement Rate = (Likes+Comments+Shares)/Reach × 100
Followers Growth = (New-Followed)/Total × 100

# Best Posting Times
Instagram: 11am-1pm, 7-9pm
LinkedIn: Tue-Thu 8-10am
Twitter: 12-3pm
Social Media Metrics
PYTHON
def engagement_rate(likes, comments, shares, followers):
    total = likes + comments + shares
    return round((total / followers) * 100, 2) if followers > 0 else 0

def calculate_reach(impressions, followers):
    return round((impressions / followers) * 100, 1) if followers > 0 else 0

posts = [
    {"likes": 150, "comments": 30, "shares": 10, "impressions": 5000, "followers": 2000},
    {"likes": 80, "comments": 15, "shares": 5, "impressions": 3000, "followers": 2000},
]

for i, post in enumerate(posts, 1):
    er = engagement_rate(post["likes"], post["comments"], post["shares"], post["followers"])
    reach = calculate_reach(post["impressions"], post["followers"])
    print(f"Post {i}: Engagement={er}% | Reach={reach}%")

Practice

1
Exercise

Which platform is best for B2B marketing?

Answer
LinkedIn — it's designed for professional networking and B2B lead generation.

Quick Quiz

1

What is a good engagement rate on Instagram?

1-3% is considered a good engagement rate on Instagram.

Choose an answer to continue.

Interview Questions

Track engagement, reach, clicks, conversions, and revenue generated from social media campaigns vs. cost of time and ads.

Up next

Email Marketing Essentials

Lesson 6 of 17 · Email Marketing