跟踪用户点击电子邮件 [英] Tracking User clicks In Email

查看:99
本文介绍了跟踪用户点击电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi


i我发送邮件从asp.net到不同的用户



在该邮件中我将链接放在点击它们用户将被重定向到某些第三方网站可以是任何网站



i想跟踪链接是否被用户点击



任何人都可以告诉我如何实现它

hi
i am sending mails from asp.net to diffrent user

in that mail i am putting links on clicking them user will be redirected to some thirdparty websites can be any websites

i want to track whether link has been clicked by the user or not

can anyone please let me know how do i achieve it

推荐答案

看到没有办法跟踪它。

你可以做一个技巧。

1.首先附上一个带有链接的查询字符串

2.然后重定向到你的页面,当用户点击该链接时它应该重定向你的页面

&在代码级别检查查询字符串并自动重定向到欲望链接。



点击链接---- >您自己的页面--->欲望网页(Say Google)
See there no way to track that.
You can do a trick.
1. First attach a query string with the link
2. Then redirect to your page & when user click that link it should redirect tot your page
& in code level check the query string & redirect automatically to desire link.

Click On Link---->Your own page---> Desire webpage (Say Google)


如果你想在链接中点击执行服务器代码,那么你应该使用ASP.NET控件< asp:LinkBut​​ton>

If you want to execute server code upon a click in a link, then you should use the ASP.NET control <asp:LinkButton>
if it is LinkButton you can do it inside onclick event

<asp:LinkButton ID="MyLnkButton" runat="server" onClick="MyLnkButton_Click" Text="Click Me!">

protected void MyLnkButton_Click(Object sender,EventArgs e)
{
   Response.Redirect("Default.aspx");
}


这篇关于跟踪用户点击电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆