All Projects → qbatch → heatmap-rails

qbatch / heatmap-rails

Licence: MIT License
Complete solution for clicks & user focused areas on websites. It includes functionality to store & show heatmap related data.

Programming Languages

javascript
184084 projects - #8 most used programming language
ruby
36898 projects - #4 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to heatmap-rails

Heatmap.js
🔥 JavaScript Library for HTML5 canvas based heatmaps
Stars: ✭ 5,685 (+17127.27%)
Mutual labels:  heatmap, heatmaps
there-are-lots-of-people-in-Baiyun-airport
挑战杯 - 广州白云机场人流量时空分布预测系统 - 前端
Stars: ✭ 14 (-57.58%)
Mutual labels:  heatmap, heatmapjs
Geo Heatmap
🗺️ Generate an interactive geo heatmap from your Google location data
Stars: ✭ 1,861 (+5539.39%)
Mutual labels:  heatmap, heatmaps
chessalyzer.js
A JavaScript library for batch analyzing chess games
Stars: ✭ 14 (-57.58%)
Mutual labels:  heatmap, heatmaps
COA
Openstack Foundation Openstack Certified Administrator exam Preparation
Stars: ✭ 41 (+24.24%)
Mutual labels:  heatmap
arkit-depth-renderer
Displays the depth values received by the front-facing camera.
Stars: ✭ 48 (+45.45%)
Mutual labels:  heatmap
simple-d3-heatmap
A javascript module to create heatmap calendars
Stars: ✭ 24 (-27.27%)
Mutual labels:  heatmap
monthly-returns-heatmap
Python Monthly Returns Heatmap (DEPRECATED! Use QuantStats instead)
Stars: ✭ 23 (-30.3%)
Mutual labels:  heatmap
reactjs-calendar-heatmap
React component for d3.js calendar heatmap graph
Stars: ✭ 128 (+287.88%)
Mutual labels:  heatmap
morpheus.js
JavaScript matrix visualization and analysis
Stars: ✭ 51 (+54.55%)
Mutual labels:  heatmap
Multi-Person-Pose-using-Body-Parts
No description or website provided.
Stars: ✭ 41 (+24.24%)
Mutual labels:  heatmap
PhyloProfile
A phylogenetic profile analysis tool
Stars: ✭ 24 (-27.27%)
Mutual labels:  heatmap
hotmap
WebGL Heatmap Viewer for Big Data and Bioinformatics
Stars: ✭ 13 (-60.61%)
Mutual labels:  heatmap
catheat
Plot categorical heatmaps with seaborn
Stars: ✭ 17 (-48.48%)
Mutual labels:  heatmap
calour
exploratory and interactive microbiome analyses based on heatmaps
Stars: ✭ 22 (-33.33%)
Mutual labels:  heatmap
leaflet heatmap
简单的可视化湖州通话数据 假设数据量很大,没法用浏览器直接绘制热力图,把绘制热力图这一步骤放到线下计算分析。使用Apache Spark并行计算数据之后,再使用Apache Spark绘制热力图,然后用leafletjs加载OpenStreetMap图层和热力图图层,以达到良好的交互效果。现在使用Apache Spark实现绘制,可能是Apache Spark不擅长这方面的计算或者是我没有设计好算法,并行计算的速度比不上单机计算。Apache Spark绘制热力图和计算代码在这 https://github.com/yuanzhaokang/ParallelizeHeatmap.git .
Stars: ✭ 13 (-60.61%)
Mutual labels:  heatmap
Strava-Analysis-Tool
A Python tool to analyze and display Strava activity data.
Stars: ✭ 32 (-3.03%)
Mutual labels:  heatmap
win det heatmaps
Window Detection in Facade Using Heatmaps Fushion
Stars: ✭ 29 (-12.12%)
Mutual labels:  heatmaps
QHeatMap
Generate Heat map in Qt.
Stars: ✭ 72 (+118.18%)
Mutual labels:  heatmap
react-heatmap-grid
A react component for heatmap visualisation in grid layout
Stars: ✭ 60 (+81.82%)
Mutual labels:  heatmap

Gem Version

Heatmap-Rails

Integrate heatmaps in your web application to see on which part the user spends most time on your web application. Where does users click on the page. Helping in gathering analytics to find out what works on the web, what attracts most of the users. View user interactions and make your application more amazing!

Try the demo

Quick Demo of HeatMap Generation

Demo1

Heatmap-Rails Works Perfectly in any Screen Size.

Demo2

Installation

Add this line to your application's Gemfile:

gem 'heatmap-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install heatmap-rails

Usage

  1. Install the gem

  2. Run the command to generate a migration to save heatmaps data:

$ rails g heatmap_rails:install
  1. Migrate:
$ rake db:migrate
  1. Include the following helper on any page where you need to generate the heatmap:
<%= save_heatmap %>
  1. Include where to show the heatmap:
<%= show_heatmap %>
  1. Before adding headmap.js in the application install jquery-rails gem and require it in application.js file
//= require jquery
  1. In respective JS file, Require HeatMap.Js to show the heatmap:
//= require heatmap.js

Viewing Heat Maps

Use the helper

<%= show_heatmap %>

The argument is the path of current page. This way the helper will only display the respective heatmap. The viewing can be done in multiple ways, for example if you want only the admin users to view heatmap, you can do something like:

<% if admin_user_signed_in? %>
    <%= show_heatmap %>
<% end %>

Another way can be using some param in the URL. For example if you want to use URL like:

www.website.com/?see_heatmap

You can use:

<% if request.query_parameters.include?("see_heatmap") %>
    <%= show_heatmap %>
<% end %>

Options

You can customize the max stack limits before the data is sent to server side via http request. We understand for different application the average user interactions time on a specific page varies. You can set these values w.r.t to your application's needs:

<%= save_heatmap({click: 3, move: 50}) %>

The default values for clicks is 3. For mouse movements tracking its 50.

<%= save_heatmap({click: 3, move: 50, html_element: 'body'}) %>

you can even restrict heatmap generation to a specific DOM element. Default value for DOM element is body element. This can be change to any .class or any '#id'.

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Credits

heatmap-rails uses HeatMap.Js to show generated data in form of heatmaps.

Contributing 🚧

  1. Bug reports are always welcome.
  2. Pull Requests. Suggest or Update.

License

The gem is available as open source under the terms of the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].