Matomo has established itself as a serious competitor to Google Analytics, especially as many EU countries have ruled the use of Google Analytics to be illegal and recommend using Matomo for privacy compliance.

As Riddle aims to be the best quiz maker for privacy compliance (we are fully GDPR and CCPA compliant), we also support tracking of all Riddle events with Matomo Analytics or Matomo tag manager.

You can enable Matomo Analytics or Matomo Tag Manager tracking on the publish step of your Riddle if you are subscribed to our Business or Enterprise Plan.
Go to the Publish Step -> Tracking and enable Matomo Analytics or Matomo Tag Manager tracking

Matomo Analytics and Matomo Tag Manager tracking

As long as you embed the Riddle on a page where you run your standard Matomo Tag Manager or Matomo Analytics Tag, all standard Riddle events will be send to Matomo.

If you have customized your tracking code and are not using ‘window.mtm’ or ‘_pag.push’ as your object variable, you can enable the Custom Matomo configuration and change the default from to whatever you are using. Please make sure to only change this value, if you know what you are doing.

Lastly, you can configure which events you want to track. Open the custom event configuration and uncheck events that you do not want to track. By default, we are sending all Riddle events to Matomo.

Read more on the events we send here.

That is really all you need to do for Matomo tracking with the Riddle Quiz Maker.

This is the default event we send to Matomo Analytics:

window._paq

_paq.push([
    "trackEvent",
    riddleEvent.category,
    riddleEvent.action,
    riddleEvent.name
]);

This is the default event we send to Matomo Tag Manager:

window._mtm

_mtm.push({
    event: "event",
    eventCategory: riddleEvent.category,
    eventAction: riddleEvent.action,
    eventName: riddleEvent.name
});