Tabs on web page create query paramters that create individual page views

Hi all,

One of my customers has a travel website (not my own website, 3rd party).
I noticed that pages have some tab functionality on them.
E.g.:

  • page citytrip Paris contains tabs in the content: ‘general’, ‘program’, ‘stay’, ‘practial’, ‘dates and prices’, ‘conditions’.

I notice that now that each time you click on such a tab, the url get a query parameter, e.g.:

See attachment 0.

I’ve also noticed that each page is counted individually in Piwik PRO. And this is corrupting my stats. Because if a visitor lands on that page and he starts clicking some tabs, I get 4 or 5 page views, while he remains on the same page - see attachment 1.

I have already excluded url paramters (as explained here: How can I stop tracking URL parameters? | Piwik PRO help center) but this simly strips the query parameters, it keeps counting pages - see attachment 2.

So:

  • Is there a way I can summarize multiple page views created by those query paramaters as one 1 page view?
  • Or maybe only count the first visit of a page and discard all subsequent visits of the same page (maybe adding some kind of cookie?).

Kind regards,

Benjamin Slap



Hi Dexville,

My quess is that those pages are SPA and SPA tracking is turned ON. If you do not want this behavior you can turn the SPA off by following this guide How to track a single-page application (SPA) | Piwik PRO help center (but instead of tracking you have to turn it off)

Best,
Oliwer

Dear Oliwer,

Thx for you reply.
This doesn’t seem to make a diference.
Indeed, the pages with query parameters seems to have an SPA functionality but disbaling the option keeps counting each page view.
Also tried to enable the option in the Piwik PRO tag to track manually but same result.

EDIT: it does seem to work ‘live’.
But in debug I still get the same situation (maybe caching, duno).

Hi Dexville,

Could you share with me via private message link to the page on which you’re seeing this issue?

Best,
Oliwer