Piwik PRO virtual page view tag

Tag Manager

The Piwik PRO virtual page view tag lets you create a virtual page to track elements on your website. The virtual page is not real, but it appears in reports as a real page — it has the page URL and the page title. If you type the virtual page URL in the browser, you won’t find the page. It only exists to help you analyze something.

To create and set up the Piwik PRO virtual page view tag, follow these steps:

  1. Go to Menu > Tag Manager.
  2. Navigate to Tags.
  3. Click Add new tag.
  4. Name the tag and select the following type: Piwik PRO virtual page view.
  5. Add URL and Document title that you want to see in reports for this virtual page view.
    Virtual page view tag in Tag Manager in Piwik PRO

    Note: You can track a previously created custom dimension by picking the index number of the dimension and providing its value. For more, read this article.

  6. In Advanced tag settings, choose Consent type. Set it up if you use Consent Manager. The tag will fire only when selected consent is given by a visitor.
  7. Respect visitor privacy is turned on by default. Leave it as is, if you want to respect visitors who set a Do-Not-Track option in their browser or opted out from tracking.
  8. Enable document.write is turned off by default. Toggle this option, if your tag needs document.write.
  9. In Flight dates, set the date and time when the tag is fired.
  10. In Tag triggers, click Add new trigger or Choose existing trigger to set up a trigger for your tag.
  11. Adjust trigger conditions.

    Tip: We usually use the click trigger that fires a tag when a visitor clicks a particular click ID.

  12. When you’re done, click OK for the trigger
  13. Click Save for the tag.
  14. Test your tag in debug mode.
  15. When you’re happy how the tag works, click Publish.
  16. After some time, data will be collected and you will be able to see virtual page views in your reports. For example, in Menu > Analytics > Pages.
    Virtual page view tag in Tag Manager in Piwik PRO

Was this article helpful?

Technical support

If you still have some questions, visit our community.
There’s always someone ready to help!

Back to help center