Go Back

Piwik PRO Custom Event

August 8, 2018

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 (e.g. clicks on a particular element on the website). All of these can be achieved through the use of Custom Events. Take a look at Custom Events overview here.

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

Piwik PRO Custom Event setup

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

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.

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 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 Analytics (Actions -> Events).

If you want to learn more about the practical side of Custom Event Tag, please take a look at the Business Use Cases.