Jump into concepts and practice - no test required
or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
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
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
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
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
Hint
Multiply average revenue per conversion by conversions, then divide by total cost.
Practice
(1/5)
1. Which metric shows how many times your ad was displayed to users?
easy
A. CPA
B. Clicks
C. Conversions
D. Impressions
Solution
Step 1: Understand the meaning of impressions
Impressions count how many times an ad is shown to users, regardless of interaction.
Step 2: Compare with other metrics
Clicks count interactions, conversions track actions, CPA measures cost per action, so they don't represent views.
Final Answer:
Impressions -> Option D
Quick Check:
Impressions = number of times ad is seen [OK]
Hint: Impressions = ad views, not clicks or actions [OK]
Common Mistakes:
Confusing clicks with impressions
Thinking conversions count views
Mixing CPA with impressions
2. Which formula correctly calculates Click-Through Rate (CTR)?
easy
A. CTR = (Clicks / Impressions) x 100
B. CTR = (Conversions / Clicks) x 100
C. CTR = (Impressions / Clicks) x 100
D. CTR = (CPA / ROAS) x 100
Solution
Step 1: Recall CTR definition
CTR measures the percentage of people who clicked an ad after seeing it, so it's clicks divided by impressions.
Step 2: Check the formula options
Only CTR = (Clicks / Impressions) x 100 correctly divides clicks by impressions and multiplies by 100 to get a percentage.
Final Answer:
CTR = (Clicks / Impressions) x 100 -> Option A
Quick Check:
CTR = clicks ÷ impressions x 100 [OK]
Hint: CTR = clicks divided by impressions times 100 [OK]
Common Mistakes:
Swapping clicks and impressions
Using conversions instead of clicks
Confusing CPA or ROAS with CTR
3. If an ad had 10,000 impressions, 500 clicks, and 50 conversions, what is the CPA (Cost Per Acquisition) if total spend was $1,000?
medium
A. $20
B. $50
C. $10
D. $5
Solution
Step 1: Understand CPA formula
CPA = Total Spend ÷ Number of Conversions. Here, spend is $1,000 and conversions are 50.
Step 2: Calculate CPA
CPA = 1000 ÷ 50 = 20 ($20).
Step 3: Recalculate carefully
1000 ÷ 50 = 20, so CPA is $20.
Final Answer:
$20 -> Option A
Quick Check:
CPA = spend ÷ conversions = 1000 ÷ 50 = 20 [OK]
Hint: CPA = total spend divided by conversions [OK]
Common Mistakes:
Dividing by clicks instead of conversions
Mixing up CPA with ROAS
Incorrect division calculation
4. A campaign shows 2,000 clicks and 100 conversions with a total spend of $500. The reported CPA is $10. What is the error in this calculation?
medium
A. CPA should be $20, not $10
B. CPA should be $50, not $10
C. CPA should be $5, not $10
D. CPA is correctly calculated as $10
Solution
Step 1: Calculate correct CPA
CPA = Total Spend ÷ Conversions = 500 ÷ 100 = 5.
Step 2: Compare with reported CPA
The reported CPA is $10, which is double the correct value, so it's an error.
5. An advertiser spent $2,000 on a campaign that generated $8,000 in revenue. If the campaign had 40 conversions, what is the ROAS and CPA? Choose the correct pair.