Only direct traffic

(Hubert Mooren) #1

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!

(Stefan Giehl) #2

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

(Hubert Mooren) #3

Thank you very much.

It’s about

(Stefan Giehl) #4

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.

(Hubert Mooren) #5

Hi Steve,

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

and var u=“100% anoniem testen -”;

We’ll test it now and keep you updated.


(Hubert Mooren) #6

This works. Problem solved.

(Stefan Giehl) #7

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