Piwik PRO Virtual Page View

Virtual Page View is a great tool which allows you to create virtual pages (with URL and Page Title) just for analytical purposes. Those pages are not real, so if a user will go directly to that URL it will return with error 404 Not Found unless there is a redirection to other existing pages. It’s extremely useful for single-page websites and apps.

The important consequence of implementing Virtual Page View is the fact that you are increasing the number of page views in analytics reports. So you have to be sure that this is what you want to accomplish and you have control over it.

Virtual Page View mechanism may be very useful when you want to measure single-page websites and applications. Find more about other most popular uses of Virtual Page View here.

Setting up Virtual Page View is very easy with Tag Manager. Just navigate to Tag Manager, click on “Create new tag” and select Piwik PRO Virtual Page View from the list of tag types.

Piwik PRO Virtual Page View setup

In this section, you need to fill in some information that you want to be stored in Piwik PRO: virtual page URL, document title (optionally) and referrer URL (optionally).

Additionally, you can track a previously created Piwik PRO Custom Dimension by picking the index number of the dimension and providing its value. Find more about Custom Dimensions here. Also, if you want to learn more about the differences between Custom Variables and Custom Dimensions, take a look at this article.

Advanced tag settings

Tag Type – These settings are available for all the tags in Piwik PRO Tag Manager. They apply when the GDPR Compliance setting is turned on for a given website. Take a look how to turn it on here.

After turning it on, you need to pick the tag type. It can be either Does Not Require Consent, Analytics, A/B Testing and Personalization, Conversion Tracking, Marketing Automation, Remarketing, User Feedback or Custom Consent type.

Every tag type except the “Does not require consent” will require Visitor consent to fire.

Respect visitor privacy – by default, this option is marked in order to respect your visitors’ privacy preferences either expressed by selecting the “Do not track” option in their web browser and/or explicitly opting-out from being tracked. You may change it according to your preferences.

Do not fire in the Debug Mode – once this is ticked, the tag will not be fired in the debug mode. Why tick this? Sometimes you may have tags that are connected with some display CPC campaigns and you simply do not want to waste money when you’re doing some testing.

Flight dates

This option is available for all the tags in Piwik PRO Tag Manager. You can schedule when your tag will go live. By default, it runs forever and all day, but you can change it according to your preferences.

Tag Triggers

To fire your tag, you need to associate it with a trigger. By standard, you can use the Click trigger that is firing whenever a particular click ID is clicked but feel free to experiment with other triggers as well. Learn more about the triggers here.

After you have your Virtual Page View tag properly configured click on the save button and publish it in order to make it live.

You will find the results of tracking in Pages or Page Titles reports.

Was this article helpful?

Be the first to rate this article.

Technical Support

If you have any questions, drop us a line at support_SPC@piwik_SPC.pro.

We’re happy to help!