Skip to content
orbanbotond edited this page Sep 13, 2010 · 11 revisions

Click Heat Map Generator Plugin for Ruby on Rails

This is a small mini web app in form of ruby on rails plugin.
Its purpose is it to create a heat map of the clicks of the web visitors.

Basically it generates a click heat map for every different url on your site so please consider this while integrating in your site.

The core is from Rosario but it is repackages as a plugin.

So in this way the click heat map generation can be integrated into your app.

Requirements

  1. RMagick
  2. Rails 2.3.2

Instalation
Installation is as easy as installing a rails plugin:

./script/plugin install git://github.com/orbanbotond/click_heat_map.git

  1. Steps after install
    -————————
    1. - From you plugin directory run (not from Rails root):
      rake db:migrate:click_heat_map
    2. - Put and adapt the below code in the templates you want to measure.

@ <% if logged_in? >@
@ @
@ <
else >@
@ @
@ <
end%>@@

  1. - Put this html code into your templates you want to measure.
    <div id="prova" style="margin:auto;width:800px;height:1px;"></div>
Clone this wiki locally