ankane / ahoy_email

First-party email analytics for Rails
MIT License
1.11k stars 137 forks source link

Api only application #134

Closed prathip111 closed 5 years ago

prathip111 commented 5 years ago

Hi, 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

Thanks!

mike1011 commented 5 years ago

Add this in the initilializers/ahoy_email.rb

AhoyEmail.api = true

and you can read more on the ReadMe page...most of the things are clearly mentioned about including HOWTO about tracking your mailers.

ankane commented 5 years ago

Hey @prathip111, please check out the Contribute Guide for where to get help.