Page 1 of 1

Email - open rate

Posted: Fri Sep 02, 2011 3:13 pm
by svan
Hi,

I would like to count the email open rate with embed img which links to :
http://mysite.com/ccount/click.php?id=1

It counts perfectly when I click on the img in my mailing client and it opens the link in browser, but I would like to get click stat too when an email has opened in Outlook,Thunderbird etc. without clicking.

Thanks,
David

Re: Email - open rate

Posted: Fri Sep 02, 2011 3:39 pm
by Klemen
I'm afraid that won't work becuause to open in email client the link must start with "mailto:", but with click counter it will always start with "http://" or "https://"

Re: Email - open rate

Posted: Fri Sep 02, 2011 4:19 pm
by svan
Newsletter manager tools can count the number of views of an email ( not clicks ) with php.
i have come to believe that it is an easy feature.

Sample HTML email source (which can be tracked by pro newsletter packages):

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Mail</title>
</head>
<body><p>Hi,</p><p>This is a mail</p><p><a href="http://www.mysite.com/ccount/click.php?id=1"><img src= "http://mysite.com/myimage.jpg"
alt="Images" width="100" height="100"
border="0" /></a></p>
</body>

</html>


Best regards,
David

Re: Email - open rate

Posted: Fri Sep 02, 2011 5:09 pm
by Klemen
Oops, I misunderstood your initial question (read it too quickly). You actually want to count the number of times a mail is read and not number of times a mail link is clicked.

That's quite easy, create a CCount link to the image URL

Code: Select all

http://mysite.com/myimage.jpg
and then use

Code: Select all

<img src="http://www.mysite.com/ccount/click.php?id=1" alt="Images" width="100" height="100" border="0" />

Re: Email - open rate

Posted: Fri Sep 02, 2011 7:15 pm
by svan
Thank You :!: