Carter Medlin
Carter Medlin

Reputation: 12485

Track Hits using Google Analytics and an ASP.NET web handler (ASHX) page

We are using Google Analytics for our site, but since it uses client script in HTML output we are unable to track hits to any of our ASP.NET ASHX handler pages.

Does anyone know of a way to do this?

Upvotes: 0

Views: 1145

Answers (2)

Carter Medlin
Carter Medlin

Reputation: 12485

It doesn't appear that the server API allows this.

Upvotes: 0

hunter
hunter

Reputation: 63532

follow this example and you should be good to go!

More info can be found here as well.

pageTracker._trackPageview("/handler.ashx");

Upvotes: 1

Related Questions