[英]Tracking email newsletter with piwik
I want to track email newsletter especially with piwik. 我想跟踪电子邮件通讯,尤其是piwik。 Now there's the following image tracking code given ( source ):
现在给出了以下图像跟踪代码( 来源 ):
<!-- Piwik Image Tracker -->
<img src="http://analytics.mysite.net/piwik.php?idsite={$IDSITE}amp;rec=1" style="border:0" alt="" />
<!-- End Piwik -->
I want to add something like _rcn
to attach a campaign , to assign the email opening. 我想添加类似
_rcn
来附加广告系列 ,以分配电子邮件开头。 The code could look like that (web beacon): 代码看起来像那样(web beacon):
<img src="http://analytics.mysite.net/piwik.php?idsite=1&rec=1&_rcn=mycampaign" style="border: 0; display: none; width: 0px; height: 0px; margin: 0;padding: 0" alt="" />
But that doesn't work... Any Ideas? 但这不起作用......任何想法?
Finally I found something. 最后我发现了一些东西 My first attempt was right xD
我的第一次尝试是正确的xD
<!-- Piwik Image Tracker -->
<img src="http://analytics.mysite.net/piwik.php?idsite={$IDSITE}&action_name=test&_rcn=testcampaign&rec=1" style="border:0" alt="" />
<!-- End Piwik -->
Thats working oO 多数民众赞成在工作
Just set {$IDSITE} to your site id, for example: 1 只需将{$ IDSITE}设置为您的网站ID,例如:1
Parameters: 参数:
rec – (required) The parameter &rec=1 is required to force the request to be recorded
idsite – (required) Defines the Website ID being tracked
_rcn - the campaign name
More: http://piwik.org/docs/tracking-api/ 更多: http : //piwik.org/docs/tracking-api/
The action_name ist tracked as simple site, I don't know why and the request ist shown as visitor. action_name被跟踪为简单站点,我不知道为什么,请求显示为访问者。 AND with _rcn you can set a campaign.
与_rcn一起设置广告系列。
Thats it. 而已。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.