Bird
Raised Fist0
Digital Marketingknowledge~30 mins

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

Choose your learning style10 modes available

Start learning this pattern below

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

  1. Step 1: Understand the meaning of impressions

    Impressions count how many times an ad is shown to users, regardless of interaction.
  2. Step 2: Compare with other metrics

    Clicks count interactions, conversions track actions, CPA measures cost per action, so they don't represent views.
  3. Final Answer:

    Impressions -> Option D
  4. 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

  1. 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.
  2. 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.
  3. Final Answer:

    CTR = (Clicks / Impressions) x 100 -> Option A
  4. 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

  1. Step 1: Understand CPA formula

    CPA = Total Spend ÷ Number of Conversions. Here, spend is $1,000 and conversions are 50.
  2. Step 2: Calculate CPA

    CPA = 1000 ÷ 50 = 20 ($20).
  3. Step 3: Recalculate carefully

    1000 ÷ 50 = 20, so CPA is $20.
  4. Final Answer:

    $20 -> Option A
  5. 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

  1. Step 1: Calculate correct CPA

    CPA = Total Spend ÷ Conversions = 500 ÷ 100 = 5.
  2. Step 2: Compare with reported CPA

    The reported CPA is $10, which is double the correct value, so it's an error.
  3. Final Answer:

    CPA should be $5, not $10 -> Option C
  4. Quick Check:

    CPA = 500 ÷ 100 = 5 [OK]
Hint: CPA = spend divided by conversions; check division carefully [OK]
Common Mistakes:
  • Using clicks instead of conversions
  • Misreading total spend
  • Ignoring correct division
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.
hard
A. ROAS = 0.25, CPA = $200
B. ROAS = 4, CPA = $50
C. ROAS = 4, CPA = $200
D. ROAS = 0.25, CPA = $50

Solution

  1. Step 1: Calculate ROAS

    ROAS = Revenue ÷ Spend = 8000 ÷ 2000 = 4.
  2. Step 2: Calculate CPA

    CPA = Spend ÷ Conversions = 2000 ÷ 40 = 50.
  3. Final Answer:

    ROAS = 4, CPA = $50 -> Option B
  4. Quick Check:

    ROAS = 8000 ÷ 2000 = 4, CPA = 2000 ÷ 40 = 50 [OK]
Hint: ROAS = revenue/spend, CPA = spend/conversions [OK]
Common Mistakes:
  • Mixing revenue with conversions
  • Swapping ROAS and CPA formulas
  • Incorrect division order