Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#747 closed New feature (fixed)

linking search engine keywords results to the original page

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

Description

This could be done pretty cheaply and would result in one of the most requested features being implemented, hence why set to 0.4 milestone.

To do:

  • Update the search engine list and add a new entry in the search engine array containing the minimalist path for search engine request. For example for Google this will be: /search?q={keyword} ; we should do this for the most popular search engines (not all of them, users can later submit the URLs for other search engines)
  • Update the UI so that the search engines link link to $URL . str_replace($PATH, '{keyword}', $keyword) instead. should be very easy to do with a filter on the datatable.

If someone can prepare the list for the main search engines (yahoo, aol, etc.), this would help save us big time to make this feature in 0.4 :-)

Change History (3)

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

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

(In [1158]) - on a rainy sunday night, implented one of the most requested feature which was little work and should make a lot of users happy!
fixes #747
adding links on both sub tables for search engines and keywords linking directly to the search engine page for this keyword
added definition for the main search engines (approx 15) users can contribute more if they like; if a definition, eg. "search?q={k}" for Google is not found, then we simply link to the search engine homepage.

updated FAQ on how to add a search engine see http://piwik.org/faq/general/#faq_39
added tests to check that the search engine file is defined properly

  • renamed queuefilter to queueFilter for consistency

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

(In [1163]) refs #747 better display of queries with spaces

comment:3 Changed 5 years ago by domtop

Note: See TracTickets for help on using tickets.