Only direct traffic

Hi there,

We have installed Piwik this week on various sites we have. We use 1 database for all sites.
On two sites Piwik is working great. On the other two we only get to see direct traffic. So no specification where the traffic comes from (referrals, search engines, social).

Can anyone help us solving this?

Thanks in advance!

That could be caused by various issues… Would you mind posting the URL. I could have a look at the tracking.

Thank you very much.

It’s about www.zogetest.nl.

I think I found the problem.
Your Piwik runs under HTTPS only. Requests send over HTTP are redirected to HTTPS. While redirecting the parameters in the URL are encoded, which results in double encoded params. So Piwik can’t detect valid referer urls.

You should adjust your tracking pixel to https always. You currently use protocoll-less urls (//domain). Simply add https: there.

Hi Steve,

Thanks a lot! This seems to be our problem.
We fixed it to

and var u=“https://openlab.nl/stats/piwik/”;

We’ll test it now and keep you updated.

Thanks!

This works. Problem solved.
Thanks!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.