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
Email - open rate
Re: Email - open rate
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://"
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: Email - open rate
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
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
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
and then use
That's quite easy, create a CCount link to the image URL
Code: Select all
http://mysite.com/myimage.jpg
Code: Select all
<img src="http://www.mysite.com/ccount/click.php?id=1" alt="Images" width="100" height="100" border="0" />
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools