Heartbeat - Matomo

// Send to Matomo return $this->sendToMatomo($heartbeatData);

this.log(`Heartbeat sent: $type`, heartbeatData); matomo heartbeat

For content-driven websites, the Heartbeat transforms data from misleading (high bounce, low time) to actionable (accurate read-time, true engagement). The implementation is low-effort, but the return on data quality is substantial. It is recommended that all Matomo users enable this feature to ensure their analytics reflect the reality of user engagement. // Send to Matomo return $this-&gt

</head> <body> <!-- Your content --> </body> </html> this.log(`Heartbeat sent: $type`