Sites with URL query parameter are not logged in entry pages

If enyone was interested, I found a solution how to solve this problem. It’s kind of a workaround, but it works.
I just added a code before _paq.push([“trackPageView”]) that cuts of a query parameter inside URL:

_paq.push([‘setCustomUrl’, location.toString().replace(’?q=’,’’)]);

1 Like