0
0
Digital Marketingknowledge~15 mins

UTM parameters for campaign tracking in Digital Marketing - Mini Project: Build & Apply

Choose your learning style9 modes available
UTM Parameters for Campaign Tracking
📖 Scenario: You are managing an online marketing campaign and want to track where your website visitors come from. To do this, you will use UTM parameters in your URLs. These parameters help you see which ads or posts bring the most visitors.
🎯 Goal: Build a simple UTM parameter URL step-by-step to track a campaign source, medium, and name.
📋 What You'll Learn
Create a base URL string for your website
Add UTM parameters for source, medium, and campaign
Combine them into a full tracking URL
Show the final URL with all UTM parameters included
💡 Why This Matters
🌍 Real World
Marketers use UTM parameters to track which ads, emails, or posts bring visitors to their websites. This helps them understand what works best.
💼 Career
Knowing how to create and use UTM parameters is essential for digital marketing roles, campaign management, and data analysis.
Progress0 / 4 steps
1
Create the base URL
Create a variable called base_url and set it to the string "https://example.com/landing-page".
Digital Marketing
Need a hint?

The base URL is the main website address where visitors land.

2
Add UTM parameters values
Create three variables: utm_source set to "newsletter", utm_medium set to "email", and utm_campaign set to "spring_sale".
Digital Marketing
Need a hint?

UTM parameters tell you where the visitor came from and what campaign they clicked.

3
Combine UTM parameters into a query string
Create a variable called utm_parameters that combines utm_source, utm_medium, and utm_campaign into a single string formatted as "utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale".
Digital Marketing
Need a hint?

Use string formatting to join the UTM parameters with & between them.

4
Create the full URL with UTM parameters
Create a variable called full_url that combines base_url and utm_parameters with a question mark "?" between them to form the complete tracking URL.
Digital Marketing
Need a hint?

The full URL is what you share in your campaign to track visitors.