0
0
Digital Marketingknowledge~30 mins

Key metrics (impressions, clicks, CTR, conversions, CPA, ROAS) in Digital Marketing - Mini Project: Build & Apply

Choose your learning style9 modes available
Understanding Key Digital Marketing Metrics
📖 Scenario: You are managing a small online advertising campaign for a local bakery. You want to understand how well your ads are performing by tracking important metrics.
🎯 Goal: Build a simple data summary that shows the key digital marketing metrics: impressions, clicks, click-through rate (CTR), conversions, cost per acquisition (CPA), and return on ad spend (ROAS).
📋 What You'll Learn
Create a dictionary with exact values for impressions, clicks, conversions, and total cost
Add a variable for average revenue per conversion
Calculate CTR as clicks divided by impressions
Calculate CPA as total cost divided by conversions
Calculate ROAS as total revenue divided by total cost
💡 Why This Matters
🌍 Real World
Digital marketers use these metrics daily to understand how well their ads perform and to make decisions about budget and strategy.
💼 Career
Knowing these key metrics is essential for roles like digital marketing specialist, campaign manager, and data analyst in marketing.
Progress0 / 4 steps
1
Set up campaign data
Create a dictionary called campaign_data with these exact entries: 'impressions': 10000, 'clicks': 500, 'conversions': 50, and 'total_cost': 200.
Digital Marketing
Need a hint?

Use curly braces to create a dictionary with the exact keys and values.

2
Add average revenue per conversion
Create a variable called avg_revenue_per_conversion and set it to 15.
Digital Marketing
Need a hint?

Just assign the number 15 to the variable avg_revenue_per_conversion.

3
Calculate CTR and CPA
Calculate the click-through rate (CTR) as ctr = campaign_data['clicks'] / campaign_data['impressions'] and the cost per acquisition (CPA) as cpa = campaign_data['total_cost'] / campaign_data['conversions'].
Digital Marketing
Need a hint?

Divide clicks by impressions for CTR, and total cost by conversions for CPA.

4
Calculate ROAS
Calculate the return on ad spend (ROAS) as roas = (avg_revenue_per_conversion * campaign_data['conversions']) / campaign_data['total_cost'].
Digital Marketing
Need a hint?

Multiply average revenue per conversion by conversions, then divide by total cost.