Link your Analytics Platform with Tag Manager
While standard Piwik PRO tracking code is very powerful and automatically records most of the actions that your website visitors perform, there are times when you want to send additional data to the analytics. Here’s where Piwik PRO tag manager comes to the rescue. Our virtual pageview and custom events tags will help you immediately set up additional tracking.
Next, you’ll need to fill some information that you’ll want to be stored in Piwik PRO:
and configure a trigger that will activate the PageView. The “Click” trigger that is firing whenever the correct click ID is clicked works pretty well in such situation but feel free to experiment with other triggers as well:
And that’s it! just hit the save button, repeat for your other pages and press publish to start tracking page views.
You can check the results in your Pages or Page titles reports:
Additionally, you can fire up the transitions for said page to see that the traffic leading to it was sent from the right referrer.
Custom Events are very similar to virtual pageviews, the setup looks almost the same as above but instead of providing URL’s and Page Title, you provide the custom data grouped as Category, Action, Name and Value.
What you will store in those fields is up to you. The other difference is that while Virtual Pageviews will be displayed in Piwik in the Actions/Pages report, the Custom Events will be stored in the Actions/Events menu.