I am using ahoy email in my rails API only application, and I cant able to track the open and click event. Even record is not created in the ahoy table. I don't know how to debug
from https://github.com/ankane/ahoy
If your entire Rails app is an API, you can use:
Ahoy.api_only = true