Jump to content

google image search classed as direct


mark2

Recommended Posts

I've been trying to improve the accuracy of our stats. Some accesses from Google image search (which is quite a lot of traffic) are not considered to have a valid URL in Prestashop 1.2.6 this results in the access being treated as direct traffic. The problem seems to be the ',' character in the URL.

Modifying the regex in Validate::isAbsoluteUrl to include this character means this traffic is no longer mis-classified as direct.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...