Matomo

Use Matomo as a tracking alternative if you have a Business or Full-service Riddle Plan.

Set up Matomo

Here's a guide on setting up Matomo.

Use Matomo in Riddle

You can enable Matomo tracking on the publish step of your Riddle if you have our Pro, Business, or Full-service Plan.

  1. Go to PUBLISH.
  2. Go to Tracking.
  3. Click on Matomo to enable tracking.
    enable matomo
  4. On the webpage where you embed the Riddle you need to have your Matomo tracking script enabled. Typically, you the Matomo Tracking Code is in the header section of every page, so no extra work is required. Riddle automatically sends all events to your Matomo tracking code.
  5. If you have customized your tracking code and are not using "paq" as variable prefix, you can enable the Custom Matomo configuration and change the default from "paq" to whatever you are using. Please only change this value if you know what you are doing.
    custom matomo config
  6. If you only want to track certain events, open Custom event configuration and uncheck events that you do not want to track. The default setting is that all Riddle events are sent to Matomo.
    matomo custom event config
  7. This is the code we send to Matomo:
window.paq


paq("trackCustom", riddleEvent.category, {
    eventAction: riddleEvent.action,
    eventName: riddleEvent.name
});