Questions tagged [ahoy]

Ahoy provides a solid foundation to track visits and events in Ruby, JavaScript, and native apps.

Ahoy provides a solid foundation to track visits and events in Ruby, JavaScript, and native apps.

Works with any data store so you can easily scale.

http://ankane.github.io/ahoy/

70 questions
0
votes
1 answer

Ahoy gem, how to not save ahoy.track record into DB when page is reloaded?

I want to count how many views my page has received. So, I try to use the Ahoy gem and add the following line into my action: https://github.com/ankane/ahoy#ruby Then it records when a visitor views that action, but it also records every time the…
sreang rathanak
  • 502
  • 1
  • 4
  • 15
0
votes
1 answer

ahoy_meta gem don't work

Can anybody please help me how to create a event into ahoy_gem and how the visits will be tracked. I already follow the documentation provided by the gem developer, but it can't help me how to properly use it. Please help me.
Aman
  • 3
  • 6
0
votes
1 answer

rails callbacks not firing on ahoy event tracking

I'm using Ahoy with Mongoid store. Any advice is much appreciated! My issue is that, for efficiency's sake, every time a new ahoy event is created, I want to update that elements count so I can do stuff like sorting by pageviews. My plan was to use…
0
votes
1 answer

Clear the events effect after the event is finished running

I am using ahoy_matey gem . I am trying to record click event only when specific link is clicked. So I have tried to do the following: $("#lotto-bigyapan").on("click", function(){ ahoy.track("name", {element: "element"}); }); It works but the only…
0
votes
1 answer

How to track clicks in specific links?

I am using the ahoy gem. I found out that there are ways like ahoy.trackClicks(); to track clicks. But it also tracks clicks on dropdown and signin and signout. I only want to track clicks on specific page. I have a page with ads and clicking on…
0
votes
1 answer

Issue with ahoy and the events, unable to autoload error

I have just tried to query Events in console, and I get the following error message: `irb(main):003:0> Event LoadError: Unable to autoload constant Event, expected /home/action/workspace/trendosaur/app/models/ahoy/event.rb to define it from…
bnussey
  • 1,894
  • 1
  • 19
  • 34
0
votes
1 answer

Ahoy is not storing events in the DB but there is a POST request in the logs

I am having issues with getting Ahoy to register information to the database, but the logs are showing a post request: Started POST "/ahoy/events" for 54.163.248.147 at 2015-08-05 22:43:41 +0000 Processing by Ahoy::EventsController#create as JSON…
bnussey
  • 1,894
  • 1
  • 19
  • 34
0
votes
1 answer

Ahoy_email gem : clicked_at, opened_at not getting updated?

I'm using ahoy_email ruby gem to track the emails I send. It should give me the time at when it is opened and clicked. But it's not working properly to give the time. What I'm missing. Note: I run the project in my localhost
HS_
  • 133
  • 8
0
votes
1 answer

unable to use ahoy gem for usage tracking

I'm trying to use ahoy_matey gem in development env. i.e. Windows7 64 bit and rails 4.0.9 by following the doc at https://github.com/ankane/ahoy. I would like to use this gem to track user visits and ip addresses in particular and then restrict the…
pari
  • 145
  • 1
  • 14
-2
votes
1 answer

Use behat with jenkins in amazon ec2 server

How can I setup and configure behat,ahoy,docker with jenkins in amazon ec2 server? I want to run my behat feature's every time I push something in my Git A/c with help of jenkins and sauce labs in the ec2 server.
Amit Dinda
  • 66
  • 8
1 2 3 4
5