I am creating a .NET page specifically for firing a Google Analytics event. The reason is that I want to be able to see how many people are clicking links I send out in emails. The best idea I had was to make a simple .NET page which fires an event then redirects to a document.
Problem is, it redirects just fine using: protected void Page_Load(object sender, EventArgs e) { Response.Redirect("...". true); }
But I can't get the event to fire. I tried using StringBuilder which is the way I am accustomed to adding script from code-behind. Any suggestions on a way to get the event to work, or even a better way to fire an event for email clicks to documents?