0
0
SEO Fundamentalsknowledge~10 mins

Google Analytics for SEO - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to identify the metric that shows the number of users visiting a website.

SEO Fundamentals
metric = '[1]'
Drag options to blanks, or click blank then click option'
AUsers
BSessions
CBounce Rate
DPageviews
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing Sessions with Users, as Sessions count visits, not unique people.
2fill in blank
medium

Complete the code to select the Google Analytics report that shows how visitors find your website.

SEO Fundamentals
report = '[1]'
Drag options to blanks, or click blank then click option'
AAudience Overview
BBehavior Flow
CAcquisition Overview
DReal-Time Overview
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing Audience Overview, which focuses on visitor characteristics, not acquisition.
3fill in blank
hard

Fix the error in the code to correctly calculate the bounce rate percentage.

SEO Fundamentals
bounce_rate = (bounces [1] sessions) * 100
Drag options to blanks, or click blank then click option'
A-
B/
C+
D*
Attempts:
3 left
💡 Hint
Common Mistakes
Using addition or subtraction instead of division, which gives incorrect results.
4fill in blank
hard

Fill both blanks to create a dictionary comprehension that maps each landing page to its average session duration if the duration is greater than 60 seconds.

SEO Fundamentals
avg_duration = {page: data[1] for page, data in pages.items() if data[1][2] 60}
Drag options to blanks, or click blank then click option'
A['avg_session_duration']
B<
C>
D['bounce_rate']
Attempts:
3 left
💡 Hint
Common Mistakes
Using the wrong key or comparison operator, leading to incorrect filtering.
5fill in blank
hard

Fill all three blanks to create a dictionary comprehension that maps keywords to their click-through rate (CTR) if CTR is above 5%.

SEO Fundamentals
ctr_data = [1]: [2] for [3] in keywords.items() if ctr > 5
Drag options to blanks, or click blank then click option'
Akeyword
Bctr
Ckeyword, ctr
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect variable names or missing the filter condition.