Tracking time on page doesn't work correctly, only track about 1s for page

Hi,

Please consider and give my advice for my case. Using Piwik version 1.11, tracking time on page works normally if not trigger goal (navigate page to page only). But the problem happens when trigger a goal before loading other page then Piwik only tracks about 1s for time on page of the previous page. Everyone can point me what’s happen or how to fix it? Thanks.

Regards,
Software Engineer
Tung Nguyen

Feature request: Support Ping requests to report a better 'time on page' · Issue #2041 · matomo-org/matomo · GitHub