Bird
Raised Fist0
Digital Marketingknowledge~10 mins

UTM parameters for campaign tracking in Digital Marketing - Interactive Code Practice

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
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to add a UTM parameter for the campaign source.

Digital Marketing
https://example.com?utm_[1]=newsletter
Drag options to blanks, or click blank then click option'
Asource
Bmedium
Cterm
Dcontent
Attempts:
3 left
💡 Hint
Common Mistakes
Using utm_medium instead of utm_source
Confusing utm_term with utm_source
2fill in blank
medium

Complete the code to specify the campaign medium in the URL.

Digital Marketing
https://example.com?utm_medium=[1]
Drag options to blanks, or click blank then click option'
Aemail
Bfacebook
Csummer_sale
Dbanner_ad
Attempts:
3 left
💡 Hint
Common Mistakes
Using campaign name instead of medium
Putting source value in medium
3fill in blank
hard

Fix the error in the UTM parameter for campaign name.

Digital Marketing
https://example.com?utm_campaign=[1]
Drag options to blanks, or click blank then click option'
Aemail
Bsummer_sale
Ccpc
Dfacebook
Attempts:
3 left
💡 Hint
Common Mistakes
Using source or medium values as campaign name
Leaving campaign name blank
4fill in blank
hard

Fill both blanks to create a UTM parameter for keyword term and content.

Digital Marketing
https://example.com?utm_term=[1]&utm_content=[2]
Drag options to blanks, or click blank then click option'
Ashoes
Bad_variation_1
Csummer
Demail
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up term and content values
Using medium or source values here
5fill in blank
hard

Fill all three blanks to build a full UTM tracking URL with source, medium, and campaign.

Digital Marketing
https://example.com?utm_source=[1]&utm_medium=[2]&utm_campaign=[3]
Drag options to blanks, or click blank then click option'
Agoogle
Bcpc
Choliday_promo
Dnewsletter
Attempts:
3 left
💡 Hint
Common Mistakes
Swapping source and medium
Using generic campaign names
Leaving blanks empty

Practice

(1/5)
1. What is the main purpose of using UTM parameters in digital marketing?
easy
A. To create website content automatically
B. To improve website loading speed
C. To block unwanted visitors
D. To track where website visitors come from

Solution

  1. Step 1: Understand UTM parameters

    UTM parameters are tags added to URLs to track the source of website traffic.
  2. Step 2: Identify their main use

    They help marketers see which campaigns or sources bring visitors to their site.
  3. Final Answer:

    To track where website visitors come from -> Option D
  4. Quick Check:

    UTM parameters = track visitor source [OK]
Hint: UTM = track traffic source easily [OK]
Common Mistakes:
  • Thinking UTM speeds up the website
  • Believing UTM creates content
  • Assuming UTM blocks visitors
2. Which of the following is the correct way to add a UTM parameter for campaign source in a URL?
easy
A. https://example.com?utm_source=facebook
B. https://example.com#utm_source=facebook
C. https://example.com/utm_source=facebook
D. https://example.com?source=facebook

Solution

  1. Step 1: Recognize UTM parameter syntax

    UTM parameters are added after a question mark (?) in the URL as key=value pairs.
  2. Step 2: Identify correct parameter format

    The correct format for source is utm_source=facebook, placed after ? and separated by & if multiple.
  3. Final Answer:

    https://example.com?utm_source=facebook -> Option A
  4. Quick Check:

    UTM parameters start with ? and use utm_source [OK]
Hint: UTM parameters start with ?utm_ in URLs [OK]
Common Mistakes:
  • Using # instead of ? to start parameters
  • Placing parameters as path segments
  • Omitting 'utm_' prefix
3. Given the URL https://shop.com?utm_source=twitter&utm_medium=social&utm_campaign=spring_sale, which campaign is being tracked?
medium
A. twitter
B. social
C. spring_sale
D. shop.com

Solution

  1. Step 1: Identify the UTM parameters in the URL

    The URL has utm_source=twitter, utm_medium=social, and utm_campaign=spring_sale.
  2. Step 2: Understand the meaning of each parameter

    utm_campaign specifies the campaign name, which here is spring_sale.
  3. Final Answer:

    spring_sale -> Option C
  4. Quick Check:

    utm_campaign = spring_sale [OK]
Hint: utm_campaign shows campaign name [OK]
Common Mistakes:
  • Confusing source or medium with campaign
  • Picking domain name as campaign
  • Ignoring parameter names
4. A marketer used the URL https://example.com?utm_source=google&utm_medium=email but forgot to add utm_campaign. What is the likely issue?
medium
A. The link will not work and show an error
B. Campaign data will be missing in tracking reports
C. Visitors will be blocked from the site
D. The source and medium will be ignored

Solution

  1. Step 1: Identify missing UTM parameter

    The URL lacks utm_campaign, which identifies the specific campaign.
  2. Step 2: Understand impact on tracking

    Without utm_campaign, reports won't show which campaign brought visitors, losing detailed insights.
  3. Final Answer:

    Campaign data will be missing in tracking reports -> Option B
  4. Quick Check:

    Missing utm_campaign = missing campaign data [OK]
Hint: Always include utm_campaign for full tracking [OK]
Common Mistakes:
  • Assuming link breaks without utm_campaign
  • Thinking source or medium are ignored
  • Believing visitors get blocked
5. You want to track visitors from a Facebook ad campaign named "Holiday2024" using email as the medium. Which URL correctly uses UTM parameters?
hard
A. https://website.com?utm_source=facebook&utm_medium=email&utm_campaign=Holiday2024
B. https://website.com?utm_source=email&utm_medium=facebook&utm_campaign=Holiday2024
C. https://website.com?source=facebook&medium=email&campaign=Holiday2024
D. https://website.com?utm_source=Holiday2024&utm_medium=facebook&utm_campaign=email

Solution

  1. Step 1: Match UTM parameters to campaign details

    Source should be "facebook", medium "email", and campaign "Holiday2024" as given.
  2. Step 2: Check correct UTM syntax

    UTM parameters must start with utm_ and use correct keys: utm_source, utm_medium, utm_campaign.
  3. Final Answer:

    https://website.com?utm_source=facebook&utm_medium=email&utm_campaign=Holiday2024 -> Option A
  4. Quick Check:

    Correct keys and values = https://website.com?utm_source=facebook&utm_medium=email&utm_campaign=Holiday2024 [OK]
Hint: Match source, medium, campaign exactly with utm_ keys [OK]
Common Mistakes:
  • Swapping source and medium values
  • Omitting utm_ prefix
  • Using wrong parameter names