How to Track Page Views of a Certain Page in Google Analytics

By Aksana Nikolai

One of the keys to maintaining a successful website is continuous tracking and analysis of its performance metrics. Web analytics programs such as Google Analytics provide numerous reports about user behavior on your site. The Pageviews report in Analytics allows you to see how well a given page engages users relative to other pages. The Pageviews data can also provide insight into whether the content on a page meets the needs and expectations of your visitors.

Installing Google Analytics Code

Log in to your Google Analytics account and click on the website for which you want to analyze data within the Dashboard screen. If you haven't yet created an Analytics profile for your website, click on the "Admin" tab and click "Add New Account" to create an account for the website you wish to track.

Click on the “Admin” tab on any report to view the profile settings once an account has been created for your website.

Verify that the URL displayed at the top of the window matches the site to which you will be adding the tracking code. If it doesn’t, click on the link for your account within the breadcrumb trail and select the correct site from the list of Web properties associated with your account.

Click on the “Tracking Code” tab, which displays the tracking code, and copy the code. The code begins with “<script type="text/javascript">” (without quotation marks) and ends with “</script>” (without quotation marks).

Access the source code for the page for which you want track views. Paste the tracking code into the code, before the “</head>” tag.

Tracking Pageviews

Return to your Analytics account. Click on the “Content” tab and select “Site Content.” Click on “All Pages” to open a break-down of your site’s metrics by individual page.

Click on the date range menu to select the time period for which you want to view data. Type in the start and end dates of the desired time period or click on the appropriate dates within the calendar.

Enter the URL path of the page for which you want to measure pageviews and click on the magnifying glass icon. The URL path is the portion of a page’s address that appears after the top-level domain. For example, in the URL “” the URL path would be “/soccer” (without quotation marks).

Refer to the “Pageviews” column of the report to see the number of times visitors viewed that page during the time period you selected.