Skip to main content

Questions tagged [ahoy]

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

ahoy
0 votes
0 answers
57 views

Rails & Ahoy: No route matches [OPTIONS] "/ahoy/visits"

We have a Rails 7 app that uses Ahoy and runs on Heroku. Apparently, we occasionally have users that use the website via Google Translate. Recently, this yields this error: No route matches [OPTIONS] &...
gibihmruby's user avatar
0 votes
0 answers
14 views

How can I access the ahoy method on the controller if I have another class that handles my tracking?

I am using Ankane's Ahoy gem, and I am replacing some existing code. I have existing "trackers" through out the codebase that I want to have feed Ahoy: https://github.com/o19s/quepid/blob/...
Eric Pugh's user avatar
  • 1,573
0 votes
0 answers
50 views

AhoyDTU Hoymiles - Wrong data rate?

The connection between AhoyDTU and Hoymiles inverter is not stable. Sometimes everything ok for days, then not connection at all (RX no answer). Status of NRF24L01+ is shown as connected. But data ...
lunanigra's user avatar
1 vote
2 answers
181 views

Instantiating and associating Ahoy::Visit for RSpec System Testing

Env Rails 7.0.4 Capybara 3.39.1 Rspec 3.12.2 Rspec Rails 6.0.2 AhoyMatey 4.2.1 General Context We have an app that uses current_visit as a stand-in user model when a user is not authenticated. We ...
crespire's user avatar
0 votes
1 answer
134 views

store all http request, response with ahoy gem

I want made that all log will store database. therefore I try setup Ahoy gem in my Rails Api only Project. Ahoy is awesome gem. but there is not Best pratice on README.md of Ahoy github. i hope store ...
Changwoo Rhee's user avatar
1 vote
0 answers
196 views

Ahoy gem filtering visit_token/visitor_token. Geolocation is NOT storing data in development/production database

The Ahoy gem is simply not storing any geo-location data in the database, and is returning [FILTERED] as the value for the visit_token and visitor_token. File Setup: rails_app/Gemfile: ruby "3.1....
rebbailey's user avatar
  • 754
1 vote
1 answer
388 views

Disable tracking for rails ahoy_email

I've recently upgraded to ahoy_email version 2.0.3 from 1.1.1 and i've been refactoring my code to work with the latest version but i'm having a bit of an issue with a piece of functionality i used to ...
Mitko Lukanov's user avatar
0 votes
1 answer
229 views

Is there a way to update in even in the ahoy_events table or track an event over time?

We've been using Matomo for analytics tracking but have had tons of issues with their HTTP Tracking API and specifically the Media Analytics plugin. Their forums were no help and we received no help ...
Brandon Cordell's user avatar
0 votes
1 answer
162 views

Rails ahoy_email gem url broken sometimes

For my work, I was using ahoy_email gem to help analysis email status. It works fine and very helpful. But sometime the url link were not successful redirect to correct url address. For example: ...
yao's user avatar
  • 53
2 votes
2 answers
738 views

How to make Ahoy gem tracking visits for users with uuid?

I have a User model with uuid for id column. Ahoy gem creates visits as expected but the user_id is wrong. Any ideas?
Piotr Brudny's user avatar
0 votes
1 answer
340 views

How to uninstall ahoy gem

Ahoy gem is filling my database uncomfortably, so I was looking to uninstall it. Obviously, gem uninstall ahoy-matey. But afterward the gem was still there, along with all the models and etc. How can ...
superbot's user avatar
  • 461
2 votes
2 answers
1k views

How to use ahoy to track views of posts?

I have multiple posts and I just want to track all the views (including people without accounts) of the posts (so the page itself). I have two methods that I have tried: 1st method I have added this ...
guest0197's user avatar
0 votes
1 answer
853 views

Rails Ahoy new visits not being created

Using Ahoy for Rails app. Existing visits do not seem to be expiring -- events are attached to visits that are 2, 3, or more days old (rather than to a new visit). For example, here's a visit from ...
Luke Wilcox's user avatar
0 votes
1 answer
157 views

wrong number of arguments (given 0, expected 1) after deployment JROR

Ror Experts, I am having some kind of routing issue (I think so..). The Ahoy tracks visits and events in the development environment - running under webbrick server. When the application is deployed ...
WorkInProgress's user avatar
0 votes
1 answer
534 views

Rails + Ahoy gem + setting additional cookies

I have Ahoy integrated with a Rails app, working fine. I have introduced a new concept to the Visit model, a 'visitor_email', that is set if the user enters the site with a particular param in the URL ...
cdmccann's user avatar
  • 172

15 30 50 per page
1
2 3 4 5