Giter Club home page Giter Club logo

search-analytics's Introduction

Important Note!

The plugin code in this repository may hold changes that were not yet released to the WordPress repository. So it may be unstable.

If you want to use the latest stable version of the plugin please refer to the Installation section of this readme!

Description

Search Analytics is a WordPress plugin that will keep history of the search terms used by your users and group them in a set of statistics including the number of posts resulted from that search term.

The mwtsa_display_search_stats shortcode

Starting in V1.3.5 there is a shortcode for displaying the search stats on the frontend of the website.

Example:

[mwtsa_display_search_stats unit="month" most_searched_count="10" most_searched_only_with_results="false"]

Result:

The above shortcode will display the most searched terms over the past month with or without results and the last 5 currently logged in user searches that had at least 1 result.

Here is the list of parameters the shortcode supports:

  • unit

supports: 'day', 'week', 'month', 'year'

default: 'week'

  • amount

supports an integer value larger than 0

default: 1

  • most_searched

supports a booleanish value: 0, 1, 'false', 'true'

default: 'true'

  • most_searched_count

supports an integer value larger than 0

default: 5

  • most_searched_only_with_results

supports a booleanish value: 0, 1, 'false', 'true'

default: 'true'

  • user_searches

supports a booleanish value: 0, 1, 'false', 'true'

default: 'true'

  • user_searches_count

supports an integer value larger than 0

default: 5

  • user_searches_only_with_results

supports a booleanish value: 0, 1, 'false', 'true'

default: 'true'

Installation

Search Analytics can be installed via the WordPress Automatic Plugin Install page in the admin panel. It can also be downloaded from the Search Analytics Plugin Page and installed manually.

After the installation and activation is complete you should visit the plugin's settings page ( Settings -> MWT: Search Analytics ) to make sure it is properly configured for your needs.

Feature Requests

For now, you can use the Support Forum and the issues section of this repository. I will be adding a feature request/voting system to the plugin page on my website soon so everything will be kept in there.

Also, you can visit the plugin's Trello Board. This should give you an overview on my plans regarding this plugin.

Furthermore, in case you are a developer, you can submit pull requests for bug fixes or ideas you implemented. Thank you very much for doing it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.