如何使用 Amazone SES 追蹤 送達率 開信率 點擊率 到 Cloudwatch 呢?
先在 SES 的 console 上設定 configuration set
name : edm_test
Destination:CloudWatch
name:es_edm_metric
event type: 全勾
value source:email header
dimension name:edmtest default value:edm
EMAIL 的 HEADER 需要加上
X-SES-CONFIGURATION-SET: edm_test
之後打開 cloudwatch Metrics / SES
應該會看到剛剛設置的 dimension name:edmtest
如果發現 open click 資訊沒有出來,
要注意如果是 text/plain 的話不會被統計到。
把 mail 內的 text/plain 拿掉後 就出現了
```
Thank you for using the new open and click tracking feature! The reason you did not get any metrics for opens or clicks is because the Content-Type header of the email is text/plain, which SES does not currently support for open and click tracking. Only text/html MIME parts, including those nested within a multipart, are tracked for clicks and opens. Consider using the SendRawEmail API to send a text/html message, specifying your configuration set. More information here: http://docs.aws.amazon.com/ses/latest/APIReference/API_SendRawEmail.html.
Thanks for using Amazon SES!
Zach @ AWS
```
追蹤 AWS SES 開信率及點擊率 part1 — 使用 CloudWatch – verybuy-dev – Medium https://medium.com/verybuy-dev/%E8%BF%BD%E8%B9%A4-aws-ses-%E9%96%8B%E4%BF%A1%E7%8E%87%E5%8F%8A%E9%BB%9E%E6%93%8A%E7%8E%87-part1-%E4%BD%BF%E7%94%A8-cloudwatch-6fda5b59cf34
AWS Developer Forums: Unable to track opens and clicks by ... https://forums.aws.amazon.com/thread.jspa?threadID=261284
沒有留言:
張貼留言