Piwik PRO Custom Event

Custom event is a kind of action, a mini goal that we want our visitors to convert during their visit. Let’s say that we have some KPI on our page, and we want to track people’s behavior, for example, clicks on a particular element on the website.

With event tracking you can record clicks on non-clickable elements of your website (as well as on clickable ones), the usage of video and audio players, scrolling down, leaving the page, filling out a form without submitting it, interacting with Flash elements, and downloads from your website. While those actions don’t generate changes in the website’s URL, they can be still recorded.

Create a custom event

In order to do that, click Create a new tag in Tag Manager and select Piwik PRO Custom Event Tag from the list of tag types.

Set up a custom event

To create a tag on the Custom Event template you will need to provide at least two out of the three fields shown below:

Add custom dimensions

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.

Use 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.

Set 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.

Set up a trigger

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 Custom Event tag properly configured, make sure to save it and then just hit the publish button in order to make it live. All the results will be visible in the custom event report in Analytics (Menu > Analytics (new) > Reports > Custom events)

Custom event report in Piwik PRO.

For more, read our guide Analytics for Advanced that thoroughly explains event tracking.

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!