🧠 7. Advanced Tracking Features

Beyond standard pageviews, the JaJuMa Matomo Analytics extension includes sophisticated features designed to close common "blind spots" in web analytics.
Enabling these features provides a more complete and truthful representation of user behavior on your site.

These settings are located under
JaJuMa -> Matomo Analytics -> Configuration -> Javascript Tracking,
in the Miscellaneous subsection.

JaJuMa Matomo Analytics Miscellaneous Configuration

🚀 7.1 Tracking Back/Forward Cache Restores As Pageviews

What is the Back/Forward Cache (bfcache)?

The bfcache is a browser optimization that enables instant back and forward navigation.
When you navigate away from a page, modern browsers can store a complete snapshot of that page in memory, including its JavaScript state.
If you then click the "back" button, the browser doesn't need to reload the page from the server; it simply restores the "frozen" snapshot, making the navigation feel instantaneous.

For more details see Back/Forward Cache (bfcache): The Instant Performance Booster Your Magento 2 Store Needs and Back/Forward Cache Extension for Magento 2

The Analytics Blind Spot

Because a bfcache restore is not a traditional page load, standard analytics trackers often miss it entirely.
This means a significant portion of user navigation - up to 1 in 5 navigations on mobile, according to Chrome usage data - can go unrecorded.

How This Feature Solves It

This setting enables a listener for the browser events that fire when a page is restored from the bfcache.
It then triggers a new pageview in Matomo, ensuring these previously invisible interactions are captured.

  • No (Default): Restores from bfcache are not tracked, which is the default behavior for Matomo and Google Analytics.
  • Yes (Recommended): Restores from bfcache are tracked as new pageviews.

💡 Pro Tip:
When you enable this option for the first time, you may see your total pageview count increase by 10-20% compared to previous periods.
This is not an error; it reflects the more accurate and complete tracking of user activity.
The effect is especially noticeable if you are also using the JaJuMa Back/Forward Cache for Magento 2 extension.

👁️ 7.2 Heatmap & Session Recording Proxy

This setting is a necessary companion for Stealth Mode if you use Matomo's Heatmap & Session Recording features.

The Challenge

Matomo's Heatmaps & Session Recordings are powerful tools for understanding user behavior visually. This functionality relies on its own JavaScript code to record user clicks, mouse movements, and scrolls. If you have enabled Stealth Mode to proxy the main matomo.js tracker, ad blockers may still identify and block the separate heatmap tracking scripts, creating a new data blind spot.

How This Feature Solves It

  • No (Default): Heatmap & Session Recording scripts are not proxied.
  • Yes: All Heatmap & Session Recording tracking is routed through the same Stealth Mode proxy as your pageview tracking.

By selecting Yes, you ensure that all Matomo-related scripts are served from your own domain, making them invisible to ad blockers and allowing you to record sessions and generate heatmaps for all users, not just those without ad blockers.

⚠️ Warning:
This feature requires that you have a Matomo plan (Cloud or On-Premise with the premium plugin) that includes Heatmap & Session Recording functionality.

📞 Need Help?

Still have questions or need help with your configuration? Our expert team is here to assist. Please don't hesitate to contact our support team for personalized assistance.


Ready to unlock these features for your store?

The JaJuMa Matomo Analytics is the all-in-one solution for privacy-focused, performance-friendly analytics in your Magento store.


Find all you need to know and more valuable insights about Hyvä and Magento.
Expertly curated by JaJuMa:

🚀 Launch the JaJuMa Hyväverse

Your central resource for everything Hyvä.

Explore the Magento Metropolis!

Your central resource for everything Magento.



Do you find all information about us and our services?

thumb-up
thumb-down