Hire Us

ClickTale gem released

There is a great product called ClickTale. It is a web analytics system that we use on many projects to get comprehensive, visual representation of what visitors are looking at and focusing on within a web page.

Unfortunately, ClickTale is not able to track dynamic session-based content, which changes for each user independently (shopping carts for example) by default.
So we created simple Ruby gem that allows you to use ClickTale for such dynamic content with Rails as well.

Adding ClickTale functionality to your Rails application is piece of cake:

First, install our ClickTale gem (or a plugin if you wish) and register the gem in your environment.rb:

config.gem "clicktale"

Second, set your ClickTale configuration in Rails.  The most straightforward way of doing so is to create a new Rails environment initializer (config/initializers/clicktale.rb in our case) and enter your data:

 Clicktale.project_id = '0000' # put your ID here Clicktale.ratio = '0.5' # put your clicktale ratio here 

Then, just call <%= clicktale_tracker %> inside or your rails view. [Not quite sure of the meaning of this sentence. Does the “call” mean “click” as in “click on the button (clicktale tracker). Also, the second part “or inside your rails view” could you clarify for me? Thanks, Robert.

That’s all. Your application is using ClickTale now.