Ever wondered if you could track user interaction on a one page website? With the right setup, you can easily track your single-page site in Google Analytics just like any other website, with each pageview counted separately. Let’s take a look at how to track pageviews on a one-page website.
Tracking Pageviews: One Page Website vs. Multi-page Site
Having a single page website has a lot of benefits over a multi-page site.
With a single page site, your visitors can browse through information in a linear fashion. This increases the likelihood of people reading your entire content on your site because they don’t have to explore different pages by making multiple clicks. This means browsing through your site becomes more convenient for your visitors.
On the flip side, the main drawback of running a single page site is that the basic Analytics setup doesn’t tell you how visitors interact with your site and what content they view during their visit. If you’re using a parallax or a single page theme that use anchors tags in the main menu, you can track clicks to those anchor tags to figure out how your visitors are engaging with your site.
With MonsterInsights, enabling anchor links tracking is super easy. All you need to do is select a checkbox in the Settings page of the plugin, no need to touch a single line of code.
Once the tracking is enabled, Google Analytics will start tracking the clicks on your menus as page views.
Let’s take a look.
Step 1: Install MonsterInsights
The first thing you need to do is install and activate the MonsterInsights plugin on your site. After the activation, you’ll need to connect Google Analytics with MonsterInsights.
For more details, you can learn how to properly set up Google Analytics with MonsterInsights.
Step 2: Track Single Page Site
In your WordPress dashboard, go to Insights » Settings » Link Attribution. Select the checkbox next to Turn on anchor tracking.
Don’t forget to select the Save Changes button.
View Pageviews of Your Single Page Site in Google Analytics
To view the anchor links tracking data, navigate to Behavior » Site Content » All Pages.
You’ll find the anchor links tracking data along with other pages data.
We hope this guide helped you track pageviews on a single page site.
With Google Analytics, you can even track which call to action in your single page site drives the most click. All you need to do is enable Enhanced Link Attribution in Google Analytics.