=== HotSpots === Contributors: dpowney Donate link: http://www.danielpowney.com Tags: hotspot, hot, spot, mouse click, click, usability, heat map, advertising, advertise Requires at least: 3.0.1 Tested up to: 3.5 Stable tag: trunk License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html HotSpots is a plugin which draws a heat map of mouse clicks overlayed on your webpage allowing you to improve usability by analysing user behaviour. == Description == HotSpots is a plugin which draws a heat map of mouse clicks overlayed on your webpage allowing you to improve usability by analysing user behaviour. This can give insight into which buttons or links are popular and easy to use including the effecfiveness of advertising placement. Each page on your website has it's own heat map. Different heat maps are drawn when you resize the window to cater for responsive design. The hot spots are shown as a heat map with a colour range from green (cold), to orange (warm) and red (hot). Each mouse click is represented as a coloured spot or circle. The colour of the spot is calculated based on how many other spots it is touching within it's radius (i.e if a spot is touching another spot, then it has a heat value of 1. If it is touching two spots, then it has a heat value of 2 and so on). The drawing of the heap map is done using HTML5 canvas. AJAX is used to send information about mouse clicks to the server in the background. Tested using Google Chrome v23, Firefox v10 and Internet Explorer v9. This plugin should not be used where performance is critical as an additional server request is made for each mouse click. Websites must be HTML5 compliant to view the heat map and browsers need to support HTML5 canvas. == Installation == 1. Download plugin to plugins directory 1. Activate the plugin through the 'Plugins' menu in WordPress 1. Go to the options page (Settings > HotSpots) 1. Turn on the Save Mouse Clicks option to start recording mouse clicks and also the Draw HotSpots Enable option. 1. To view the heat map of mouse clicks, go to the URL's section at the bottom of the Settings page. Then click View site for a URL with a selected window size and a new window will open and draw the hot spots. You can also manually add query parameter drawHotSpots=true to the URL of your page (i.e. www.mywebsite.com?drawHotSpots=true or www.mywebsite.com?cat=1&drawHotSpots=true). == Frequently Asked Questions == == Screenshots == 1. Heat map of mouse clicks on a WordPress website. As you can see, the navigation menu bar and top search input are highly used but the second search input is rarely used. 2. Heat map of mouse clicks on a responsive WordPress website (i.e. mobile phone screen size). 3. HotSpots plugin settings page options for enabling features and configuring the heat map. 4. HotSpots plugin settings page also allows you to open pages on your website and draw the hotspots for different avaialable window sizes. == Changelog == = 2.0.5 = * Fixed this:: in tables.php for older versions of PHP = 2.0.4 = * Fixed some double colon scope issues for older versions of PHP * Added pagination to URL table = 2.0.3 = * Fixed register activate hook for PHP versions <= 5.2 = 2.0.2 = * Fixed accessing class constants * Removed check for windowReady URL query parameter when drawing hot spots = 2.0.1 = * Fixed tables.php import = 2.0 = * Refactored code * Heat value calculation moved to server side to improve performance * Split enabled option into two options to save mouse clicks and to be able to draw the hotspots * Renamed showOnClick option to debug * Added table in settings page to view URL's, counts of mouse clicks and available window sizes. * Added feature on the settings page to open a new window and draw the hot spots for specific URL's with a selected window size width = 1.3.2 = * Fixed colour fill bug with red amount for < warm = 1.3.1 = * Fixed saving checkbox options = 1.3 = * Fixed admin AJAX actions bug * Added new option for home page only = 1.2.8 = * Fixed issue where hot spots were being drawn after a window resize event ignoring the presence of the drawHotSpots URL query parameter and not checking the enabled option * Clarified enable and show on click options in plugin settings page = 1.2.7 = * Resolved issue with drawing hotspots in administrator backend * Do not delete records in DB on plugin activation * Minor wording changes in plugin settings page = 1.2.6 = * Added responsivene design awareness = 1.2.5 = * Fixed stripping ? and & when removing drawHotSpots query parameter from URL = 1.2.4 = * Fixed IE canvas top position when wordpress admin bar is present = 1.2.3 = * Ensured opacity of elements is unchanged if < 1 * Check z-index to ensure heat map is overlayed on top of all elements = 1.2.2 = * Fixed current id bug when drawing hot spots and calculating heat value * Added where clause by url when getting all mouse clicks to draw the heat map * URLs are now escaped when they're saved to the database = 1.2.1 = * Minor bug fixes = 1.2 = * Made the hot spots display for each page on website * Fixed bug related to heat colour of hot spots * Fixed admin styles * Added updated and error messages on admin actions. * Added AJAX to admin actions * Fixed canvas top absolute position if wordpress admin bar is present = 1.1 = * Canvas caters for scrolling * Fixed refresh database bug = 1.0 = * Initial release