跟踪电子邮件在 Google Analytics 中打开

问题描述:

我们在电子邮件中进行了跟踪,以通过 Google Analytics(分析)跟踪返回我们网站的点击.但是有没有办法跟踪打开情况?我想我必须在电子邮件的某处添加一个谷歌跟踪图像.也可能是 javascript?

We have tracking in our emails to track clicks back to our site through Google Analytics. But is there a way to track opens? I would imagine I have to add a google tracking image to the email somewhere. Possibly javascript too?

正如其他人所指出的,您不能在电子邮件中使用 Javascript.实际的跟踪是通过对 __utm.gif 的请求完成的,而 Javascript 只是构造了 GET 参数.

As others have pointed out, you can't use Javascript in email. The actual tracking is done by a request for __utm.gif though and the Javascript just constructs the GET parameters.

Google 根据其移动网络文档支持非 Javascript 使用 Google Analytics:http://code.google.com/mobile/analytics/docs/web/

Google supports non-Javascript uses of Google Analytics per their Mobile web docs: http://code.google.com/mobile/analytics/docs/web/

他们记录了完整的参数列表,但唯一需要的参数是:

They document the full list of parameters, but the only necessary parameters are:

Parameter    Description
utmac        Google Analytics account ID
utmn         Random ID to prevent the browser from caching the returned image
utmp         Relative path of the page to be tracked
utmr         Complete referral URL