Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced Internal Site Search tracking & analytics, for internal search engines and keywords #2992

Closed
mattab opened this issue Mar 1, 2012 · 18 comments
Assignees
Labels
Critical Indicates the severity of an issue is very critical and the issue has a very high priority. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Mar 1, 2012

The goal of this ticket is to describe the Internal Search Tracking & Reporting feature for Piwik core.

Currently, a third party built by Timo exists in #49.

We will reuse this great plugin as much as possible, integrating it into a Core plugin, maybe improving the features, user interface, documentation, and checking that it is fast & optimized on high traffic piwik servers.

More specifications and details to come later.

@mattab
Copy link
Member Author

mattab commented Oct 15, 2012

(In [7190]) Refs #2992 Site Search KABOOM, Refs #5469
Implementing Site Search tracking & reporting in Piwik core!

  • New Admin UI to customize, for each site, wheter site search is enabled. Also options to set default values to use.

  • New Reports: Searches, Searches with no result, Search categories, Top Pages Following a Search

  • to track "No result keyword" users will have to tag their site with a JS call, or add a new parameter to the search result page &search_count=X (X being zero for no result searches)

  • Reports works with Row evolution, PDF/HTML reports, Piwik Mobile

  • idaction_url is now NULLable because, Site Search records a page with idaction_name == Keyword, and idaction_url == NULL. This ensures that the Site Searches don't create "Page URL Not defined" records.

  • updates to Tracker JS API, new function trackSiteSearch, also added in PHP tracker

  • New fields in log_visit to track searches

  • new segment, "searches" which can be used to select visitors who did a search ie. searches>0 or those who searched a lot, ie searches>10

    TODO:

    • commmit integration test, TESTING, DOCS, FAQ, release, and a nice Prayer to the universe and the stars, hoping that I can code a major new feature without any bug...
    • It would be awesome to have compatiblity with Transitions so we can see, for a given site search, what are the starting pages and Destination pages

    Thank you for your patience Timo,
    and thank in advance everyone for your help Testing this new feature!

@mattab
Copy link
Member Author

mattab commented Oct 15, 2012

(In [7192]) Refs #2992 #49 Message fix

@timo-bes
Copy link
Member

(In [7193]) refs #2992: when a keyword starts to have results (e.g. after integration result count tracking on the page), don't show it in the searches without results report anymore. (also includes a minor code simplification)

@mattab
Copy link
Member Author

mattab commented Oct 15, 2012

(In [7194]) Refs #2992 #49

  • Adding integration test
  • Note: it appears the "No result keyword" does not work, i'm on it

@timo-bes
Copy link
Member

(In [7196]) refs #2992 preparing Site Search and Transitions integration: use idaction_url=NULL for site searches in order to identify them efficiently in Transitions

@mattab
Copy link
Member Author

mattab commented Oct 15, 2012

(In [7197]) Refs #2992 #49
Fixing the No result keyword bug

@mattab
Copy link
Member Author

mattab commented Oct 15, 2012

(In [7200]) Refs #2992 #49
Also updating schema

@timo-bes
Copy link
Member

(In [7201]) refs #2992, refs #3332: integrating previous and following internal searches into transitions. the code is starting to get a little complicated ;-)

@peterbo
Copy link
Contributor

peterbo commented Oct 15, 2012

(In [7209]) Refs #2992, added "s" and "searchword" as standard query parameters, since these are the standard search settings in wordpress and joomla. Any other CMS we should support out of the box?

@mattab
Copy link
Member Author

mattab commented Oct 15, 2012

(In [7210]) Refs #2992 #49
enable transitions for the pages following site search reports

@timo-bes
Copy link
Member

(In [7214]) refs #2992, refs #3332 fixing two ui bugs in transitions / site search integration

@timo-bes
Copy link
Member

(In [7215]) refs #2992: disable row evolution on site search categories because it doesn't work. TODO: make it work

@timo-bes
Copy link
Member

(In [7216]) refs #3332, refs #2992 making transitions center box higher because new lines were added for site search. fixing a js bug when truncating urls.

@anonymous-matomo-user
Copy link

Replying to peterb:

(In [7209]) Refs #2992, added "s" and "searchword" as standard query parameters, since these are the standard search settings in wordpress and joomla. Any other CMS we should support out of the box?
Support TYPO3 CMS with different search engines: tx_indexedsearch[or tx_solrq or searchperience[querystring]

@mattab
Copy link
Member Author

mattab commented Oct 16, 2012

  • Tracking API document search_cat, search_count, search parameters
  • piwikTracker.setCustomUrl(document.URL + '&search_count=0');

@peterbo
Copy link
Contributor

peterbo commented Oct 16, 2012

Also it would be great to support search params which were rewrited (mod_rewrite) - e.g. example.com/search/[searchword].html

@mattab
Copy link
Member Author

mattab commented Oct 16, 2012

User Manual available at: Site search analytics tracking and reporting

Peter, you could do this with some Javascript / regex and detect the keyword this way. If you do it, pleae send instructions I could add to the doc above, or in a FAQ :)

@mattab
Copy link
Member Author

mattab commented Oct 19, 2012

see follow up ticket: #3461

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Critical Indicates the severity of an issue is very critical and the issue has a very high priority. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

4 participants