Skip to main content

How to use frontend debug panel

The debug panel lets you monitor and verify data collection in real time, so you can confirm the correct events and properties are being sent to Mixpanel.

Enable Debug mode

Set Debug mode to Yes under Stores → Settings → Configuration → Mirasvit Extensions → Marketing Tracking → Advanced. This setting is shared by all Mirasvit tracking extensions.

On-page debug toolbar

With Debug mode on, open any storefront page and append one of these query parameters to the URL:

  • ?debug=mixpanel - show only Mixpanel events
  • ?debug=tm - show events for all tracking extensions on the page

For example: https://yourstore.com/product-page?debug=mixpanel

The toolbar appears at the bottom of the screen and lists every event as it fires, along with the data collected. Click an event to inspect its full payload - event name (e.g. view_item, add_to_cart), product data, customer group, and any mapped attributes.

Other trackers

If you run several Mirasvit tracking extensions, you can focus any one of them with ?debug=gtm, ?debug=fb, ?debug=mixpanel, or ?debug=tiktok, or see them all together with ?debug=tm.

Server-side log

With Debug mode enabled, server-side activity (including refund events) is traced to var/log/mirasvit_tm.log, which is useful for confirming that refunds are delivered.