WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Search Meter

Search Meter tracks what your readers are searching for on your blog. View full details of recent searches or stats for the last day, week or month.

You can find, download and install Search Meter directly from the Plugins section in WordPress.

If you want to install manually, download and unzip the search-meter.zip file and upload to the /wp-content/plugins/search-meter directory. Then activate the plugin through the Plugins section in WordPress.

Widgets: Popular and Recent Searches

The Popular Searches widget displays a list of the most popular successful search terms on your blog during the last 30 days. The Recent Searches widget displays a simple list of the most recent successful search terms. In both cases, the search terms in the lists are hyperlinked to the actual search results; readers can click the search term to show the results for that search. You can configure the title of each widget, and the maximum number of searches that each widget will display.

To add these widgets to your sidebar, log in to WordPress Admin, go to the Appearance section and click Widgets. You can drag the appropriate widget to the sidebar of your choice, and set the title and the number of searches to display.

The widgets only display successful searches, so they will only display words that actually appear in your blog. If you still want to prevent some of these words appearing in the widgets, you can add search filter words in the Search Meter settings page.

Template Tags

If you are using an older version of WordPress or an old theme, you may not be able to use the widgets. In any case, you can always use the Search Meter template tags to display the same information. You'll need to edit your theme to use them.

The sm_list_popular_searches() template tag displays a list of the 5 most popular successful search terms on your blog during the last 30 days. Each term is a hyperlink; readers can click the search term to show the results for that search. Here are some examples of using this template tag.

sm_list_popular_searches()

Show a simple list of the 5 most popular recent successful search terms, hyperlinked to the actual search results.

sm_list_popular_searches('<h2>Popular Searches</h2>')

Show the list as above, with the heading "Popular Searches". If there have been no successful searches, then this tag displays no heading and no list.

sm_list_popular_searches('<li><h2>Popular Searches</h2>', '</li>')

Show the headed list as above; this form of the tag should be used in the default WordPress theme. Put it in the sidebar.php file.

sm_list_popular_searches('<li><h2>Popular Searches</h2>', '</li>', 10)

This is the same as the above, but it shows the 10 most popular searches.

sm_list_recent_searches()

Show a simple list of the 5 most recent successful search terms, hyperlinked to the actual search results. You can also use the same options as for the sm_list_popular_searches tag.

Requires: 2.8 or higher
Compatible up to: 3.6.1
Last Updated: 2012-9-5
Downloads: 186,581

Ratings

4 stars
4.5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,3,3
100,1,1
100,1,1 0,2,0
100,4,4 0,2,0
0,2,0
100,6,6 100,4,4 0,2,0
0,1,0 0,1,0 60,5,3
75,8,6 0,1,0
0,1,0
100,5,5
100,3,3
100,2,2
67,3,2 100,2,2
100,8,8
50,4,2
100,2,2
100,1,1
100,1,1 100,1,1
100,3,3
100,2,2
100,2,2 100,1,1
100,2,2
100,1,1
67,3,2
100,3,3