Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#1363 closed New feature (fixed)

Api function Actions.getPageUrls should make it easy to search for a given URL or path

Reported by: matt Owned by:
Priority: critical Milestone: Future releases
Component: Core Keywords:
Cc: Sensitive: no

Description (last modified by matt)

Currently it is complicated to fetch stats for a given page URL, as they are split by category, and user must find out each category to go down the tree (which means using for example &filter_pattern_recursive=73&expanded=1&filter_column_recursive=label )

2 new features:

  • add a new 'flat url' report that wouldn't split the URLs based on the separator. This could be a click away from the Page URLs/Entry/Exit reports (ie. switch from flat to directory based URLs and ajax refresh the existing reports)
  • Provide the new to serve the plain URLs

Change History (8)

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

Also, the Search function could be modified in the Page URLs report, so that it is possible to search for the full URL. Currently searching for test/test2/test3 fails to find test3 within the structure.

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

  • Milestone changed from 0 - Piwik 0.6.3 to 4 - Piwik 1.0 - Stable release

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

  • Milestone changed from 4 - Piwik 1.0 - Stable release to Features requests - after Piwik 1.0
  • Priority changed from major to critical

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

  • Description modified (diff)

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

I think maybe we should have a new report that would report the URLs without breaking them up by category, and the search could operate on this new report. It would also make it easy to request "top 20 URLs".

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

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

(In [3736]) Fixes #1363

  • Adding new API functions to fetch a specific URL, page name, download or outlink, without the complicated logic of fetching sub tables, etc.
  • Refactoring a bit of code in Tracker and adding integration tests for these new methods

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

(In [3737]) Refs #1363 Fixing tests

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

(In [3768]) Refs #1363

  • Fixing bug triggered in an edge case. added integration test reproducing the issue
  • this was causing an error during Archiving: "Fatal error: Cannot use object of type Piwik_DataTable_Row as array in /home/www/trunk/plugins/Actions/Actions.php on line 552"
Note: See TracTickets for help on using tickets.