Opened 6 years ago

Closed 4 years ago

Last modified 4 years ago

#9 closed Bug (fixed)

referer URLs with host registered as main_url or alias_url should NOT be counted as referer

Reported by: matt Owned by:
Priority: major Milestone: Piwik 0.5
Component: Core Keywords:
Cc: Sensitive: no

Description (last modified by matt)

They should instead be counted as "Direct entry".

Note: part of this ticket is also to clarify the UI of what the URLs are used for, and why they are useful.
UI should clarify that alias URLs are optional and used only to improve referer detection. If the Piwik JS code is put on a subdomain that is not in the list, the page hits will still be recorded.

Change History (13)

comment:1 Changed 6 years ago by matt (mattab)

  • Milestone set to Future releases

comment:2 Changed 6 years ago by matt (mattab)

Problem: it requires a lookup of alias URLs for each request, which is too expensive. This has to be done at the Archiving process.

comment:3 Changed 5 years ago by matt (mattab)

  • Description modified (diff)

comment:4 Changed 5 years ago by matt (mattab)

  • Milestone changed from Stable release to RobotRock

comment:5 Changed 5 years ago by matt (mattab)

  • Description modified (diff)

comment:6 Changed 5 years ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

(In [994]) - fixed #9 referer URLs with host registered as main_url or alias_url should NOT be counted as referer
now if a visitor comes to piwik.org/ with a piwik.org/xx/y/z referer, it will be considered a direct entry rather than a referer visit.
makes use of the new caching mechanism introduced with the Goal Tracking plugin, to cache website-related data for super fast access at Tracker time.

  • Goals is not a tracker plugin anymore (improving performance of Tracker)
  • fixed bug that the cache file wasn't read properly and goal queries were done at each piwik.php request

comment:7 follow-up: Changed 5 years ago by matt (mattab)

(In [997]) -refs #9 now removes www. before testing for more accuracy

comment:8 in reply to: ↑ 7 Changed 5 years ago by albass

comment:9 Changed 4 years ago by matt (mattab)

  • Milestone changed from RobotRock to 1 - Piwik 0.5.1
  • Resolution fixed deleted
  • Sensitive unset
  • Status changed from closed to reopened

reopening because the UI doesn't specify what the alias URLs are for. The UI should explain:

It is recommended, but not required, to specify the various URLs that your visitors use to access this website. 
Alias URLs for a website will not appear in the Referers > Websites report. 
Note that it is not necessary to specify the URLs with and without 'www' as Piwik automatically considers both.

is this inline help clear?

comment:10 Changed 4 years ago by vipsoft (robocoder)

Sounds good. We should add this to both the installer and site manager.

comment:11 Changed 4 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from reopened to closed

In [1626], fixes #9 - add inline help re: alias urls to SitesManager "add site"

Defering any change the Installation screen because the textarea isn't styled consistently.

comment:12 Changed 4 years ago by vipsoft (robocoder)

  • Milestone changed from 1 - Piwik 0.5.1 to 1 - Piwik 0.5

comment:13 Changed 4 years ago by weddingdress

Note: See TracTickets for help on using tickets.