Average number of pages a visitor to X page type visits? | Community
Skip to main content
alchan
Level 2
February 7, 2025
Solved

Average number of pages a visitor to X page type visits?

  • February 7, 2025
  • 1 reply
  • 402 views

There is a page type on my site called "TXT." I want to build a metric that calculates the average number of pages a TXT visitor visits.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Harveer_SinghGi1

Hi @alchan ,

If my understanding is correct your looking for Page Views/Unique Visitors for the visitors who saw page type called "TXT." anytime in their browsing history. If this is correct then you can build this metric by creating a visitor based segment with condition of page type = "TXT." and use this segment in a calculated metric that performs Page Views/Unique Visitors calculation,

Segment:

Calculated Metric:

Please note that above segment will return all the page view across all pages from the visitors who have viewed page type "TXT.". So the calculation in metric give you average page views across all pages from these visitors. If you only want to calculate average page views for pages under page type "TXT." then you can change the segment container from visitor to hit and it should give you the desired data.

Cheers!

1 reply

Harveer_SinghGi1
Community Advisor
Harveer_SinghGi1Community AdvisorAccepted solution
Community Advisor
February 7, 2025

Hi @alchan ,

If my understanding is correct your looking for Page Views/Unique Visitors for the visitors who saw page type called "TXT." anytime in their browsing history. If this is correct then you can build this metric by creating a visitor based segment with condition of page type = "TXT." and use this segment in a calculated metric that performs Page Views/Unique Visitors calculation,

Segment:

Calculated Metric:

Please note that above segment will return all the page view across all pages from the visitors who have viewed page type "TXT.". So the calculation in metric give you average page views across all pages from these visitors. If you only want to calculate average page views for pages under page type "TXT." then you can change the segment container from visitor to hit and it should give you the desired data.

Cheers!