Open mgonera opened 9 years ago
Hi @mgonera
Thanks for the report. It works in this way "by design". In Piwik, when a visitor visits a page, the page "before" this pageview is assumed to be the previous page that was "last seen" by the user. So when opening two pages in new tab, for the second loaded tab, Piwik will consider that the page "before" (the referrer page) is the first tab.
To change / fix this, we would need to change some logic deep into the tracker:
log_visit
row, to get the last seen idaction. We would need to change this and look which was the idaction for the given Referrer URL.
Scenario:
I believe this is due to the synchronous tracking of the pages following each other which is vividly visible in visitors log - for sure the only 1st opened site is "following a Site Search" but still, the other actions tracked should also be tracked as sites which were opened from a Site Search.
Is there some opportunity to improve this situation? Both on the field of displaying data in Visitor Log and "Pages following a Site Search" report.
Please see attached screenshot for better visualization of the issue: