gpt4 book ai didi

php - 试图收集电子邮件分析

转载 作者:塔克拉玛干 更新时间:2023-11-03 06:07:13 25 4
gpt4 key购买 nike

我用 PHP 编写了一个电子邮件应用程序来处理非常大的邮件列表。有没有办法找出打开了哪些电子邮件以及由谁打开?任何解决方案都可以,只要它能告诉我用户是否确实收到并打开了电子邮件。我也不想使用电子邮件收据,因为它可能会推迟收件人。

如果相关,我正在使用 codeIgniter 框架。

最佳答案

您可以通过在发送的每封电子邮件中包含一个小的跟踪图像来实现这一点。

<img src="http://yourdomain.com/tracking/1x1.gif?cId=12345&uId=56789">

使用 mod-rewrite 将“/tracking/”之外的所有内容推送到您的分析脚本中,捕获 query_string 并将 1x1 gif 返回给电子邮件客户端。


来自 Campaign Monitor:

http://help.campaignmonitor.com/topic.aspx?t=89

When each email is sent out, weautomatically add a piece of code thatrequests a tiny, invisible image fromour web servers. So when a readeropens the email, the image isdownloaded, and we can record thatdownload as an open for that specificemail.

It is important to understand that theopen rate is not a 100% accuratemeasure. Recording an 'open' can onlyhappen if the reader's email client iscapable of displaying html withimages, and that option is turned on.So if you are sending text-onlyemails, there is no way to record openrates. Similarly, people reading yourhtml email without images showing willnot be recorded as opens (unless theyclick a link).

Another issue is that your readers mayhave a preview pane in their emailclient. That preview pane might bedisplaying your email automatically(and therefore downloading the images)without the reader ever having toclick on it or read it.

So you should never take your openrate as a hard and fast number,because you can never know the truefigure. It is much better used asgeneral guide, and as a way ofmeasuring the trends on your emailcampaigns.

关于php - 试图收集电子邮件分析,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2740075/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com