# HOW TO Track How Many Recipients Open Your Mail IN RAILS

**URL:** <https://www.ruby-forum.com/t/how-to-track-how-many-recipients-open-your-mail-in-rails/187366>\
**Category:** Ruby\
**Created:** [April 22, 2010, 6:54am UTC](https://www.ruby-forum.com/t/how-to-track-how-many-recipients-open-your-mail-in-rails/187366 "2010-04-22T06:54:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![murfhy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/d26b3c/32.png) [@murfhy](https://www.ruby-forum.com/u/murfhy)\
**Post date:** [April 22, 2010, 6:54am UTC](https://www.ruby-forum.com/t/how-to-track-how-many-recipients-open-your-mail-in-rails/187366/1 "2010-04-22T06:54:30Z")

</div>

HOW TO Track How Many Recipients Open Your Mail IN RAILS?

please help me PROVIDE SOLUTIONS AND STEPS OR ELSE ANY PLUGIN

---

<div class="post-metadata">

**Author:** ![murfhy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/d26b3c/32.png) [@murfhy](https://www.ruby-forum.com/u/murfhy)\
**Post date:** [April 22, 2010, 3:51pm UTC](https://www.ruby-forum.com/t/how-to-track-how-many-recipients-open-your-mail-in-rails/187366/2 "2010-04-22T15:51:00Z")

</div>

On 4/21/2010 10:54 PM, Tony A. wrote:

> HOW TO Track How Many Recipients Open Your Mail IN RAILS?
> 
> please help me PROVIDE SOLUTIONS AND STEPS OR ELSE ANY PLUGIN

Can’t be done. There is no way to know for sure who has/hasn’t read an  
e-mail.  
Here are some ways you can attempt it, but none of them work 100% (or  
even 50%)

> **[Email tracking](https://en.wikipedia.org/wiki/E-mail_tracking)**
>
> Email tracking is a method for monitoring whether the email message is read by the intended recipient. Most tracking technologies use some form of digitally time-stamped record to reveal the exact time and date when an email is received or opened, as well as the IP address of the recipient.
> Email tracking is useful when the sender wants to know whether the intended recipient actually received the email or clicked the links. However, due to the nature of the technology, email tracking cannot be c...

---

<div class="post-metadata">

**Author:** ![murfhy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/d26b3c/32.png) [@murfhy](https://www.ruby-forum.com/u/murfhy)\
**Post date:** [April 22, 2010, 4:39pm UTC](https://www.ruby-forum.com/t/how-to-track-how-many-recipients-open-your-mail-in-rails/187366/3 "2010-04-22T16:39:02Z")

</div>

Email tracking can be done with a fair amount of accuracy but it is a  
pain  
to implement. The basic theory is that you can embed a 1px by 1px image  
in  
your emails that must be downloaded from your server. When the user  
loads  
the email, as long as they allow it to request images from external  
servers,  
the image will be linked with a unique query string that when the image  
is  
requested, is passed via the url to your rails controller. This unique  
identifier can be matched via your models to the specific user that has  
that  
token associated with their account. Once checking with the model,  
checking  
out what email user made the request, the controller then rather than  
rendering html or partial actually returns an image back to the user  
request  
and as far as they know, most users wont be able to tell the difference.

this is not 100% accurate though and will take time to implement. There  
arent any plugins or gems that I know of being available that handle  
this.  
Maybe I’m wrong and someone else will know though

–Kevin

This is really the most accurate way but takes alot of jumping through  
hoops  
to get it to work.

---

<div class="post-metadata">

**Author:** ![murfhy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/d26b3c/32.png) [@murfhy](https://www.ruby-forum.com/u/murfhy)\
**Post date:** [April 22, 2010, 11:03pm UTC](https://www.ruby-forum.com/t/how-to-track-how-many-recipients-open-your-mail-in-rails/187366/4 "2010-04-22T23:03:08Z")

</div>

On 4/22/2010 8:38 AM, Kevin Hopkins wrote:

> and as far as they know, most users wont be able to tell the difference.
> 
> this is not 100% accurate though and will take time to implement. There  
> arent any plugins or gems that I know of being available that handle this.  
> Maybe I’m wrong and someone else will know though
> 
> –Kevin
> 
> This is really the most accurate way but takes alot of jumping through hoops  
> to get it to work.

It also doesn’t work if the users client blocks remote content (most  
do).

---

<div class="post-metadata">

**Author:** ![murfhy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/d26b3c/32.png) [@murfhy](https://www.ruby-forum.com/u/murfhy)\
**Post date:** [April 24, 2010, 6:35am UTC](https://www.ruby-forum.com/t/how-to-track-how-many-recipients-open-your-mail-in-rails/187366/5 "2010-04-24T06:35:35Z")

</div>

On Apr 23, 2:01 am, Walton H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > out what email user made the request, the controller then rather than  
> > to get it to work.
> 
> It also doesn’t work if the users client blocks remote content (most do).

hallo sir can help me in how to track the forwaard mails and  
whether its opened by user
