-
Notifications
You must be signed in to change notification settings - Fork 1
Home
orbanbotond edited this page Sep 13, 2010
·
11 revisions
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.
- RMagick
- Rails 2.3.2
./script/plugin install git://github.com/orbanbotond/click_heat_map.git
- Steps after install
-————————- - From you plugin directory run (not from Rails root):
rake db:migrate:click_heat_map
- - Put and adapt the below code in the templates you want to measure.
- - From you plugin directory run (not from Rails root):
@ <% if logged_in? >@
@ @
@ < else >@
@ @
@ < end%>@@
- - Put this html code into your templates you want to measure.
<div id="prova" style="margin:auto;width:800px;height:1px;"></div>