0
0
Digital Marketingknowledge~30 mins

A/B testing landing pages in Digital Marketing - Mini Project: Build & Apply

Choose your learning style9 modes available
A/B Testing Landing Pages
📖 Scenario: You work as a digital marketer for an online store. You want to find out which landing page design gets more visitors to sign up for the newsletter. You have two versions of the landing page: Version A and Version B.To decide which version works better, you will set up an A/B test by tracking how many visitors see each version and how many sign up.
🎯 Goal: Create a simple A/B test setup that records the number of visitors and sign-ups for each landing page version. Then calculate the conversion rate for each version to see which one performs better.
📋 What You'll Learn
Create variables to store visitor counts for Version A and Version B
Create variables to store sign-up counts for Version A and Version B
Calculate the conversion rate (sign-ups divided by visitors) for each version
Compare the conversion rates to identify the better performing landing page
💡 Why This Matters
🌍 Real World
A/B testing is widely used in digital marketing to compare different versions of web pages or ads to find which one performs better in engaging users or generating sales.
💼 Career
Marketing analysts and digital marketers use A/B testing to optimize campaigns and improve user experience based on real data.
Progress0 / 4 steps
1
Set up visitor counts for landing pages
Create two variables called visitors_A and visitors_B with the exact values 1500 and 1700 respectively to represent the number of visitors for Version A and Version B.
Digital Marketing
Need a hint?

Use simple variable assignments like visitors_A = 1500.

2
Set up sign-up counts for landing pages
Create two variables called signups_A and signups_B with the exact values 120 and 180 respectively to represent the number of sign-ups for Version A and Version B.
Digital Marketing
Need a hint?

Assign the sign-up counts to variables just like visitor counts.

3
Calculate conversion rates for each version
Create two variables called conversion_rate_A and conversion_rate_B. Calculate each by dividing signups_A by visitors_A and signups_B by visitors_B respectively.
Digital Marketing
Need a hint?

Use division to calculate conversion rates like conversion_rate_A = signups_A / visitors_A.

4
Determine which landing page performs better
Create a variable called better_version. Use an if statement to set better_version to "A" if conversion_rate_A is greater than conversion_rate_B, otherwise set it to "B".
Digital Marketing
Need a hint?

Use an if-else block to compare conversion rates and assign the better version.