Gaurav Arora
Gaurav Arora

Reputation: 2324

How to avoid particular url to track and duplicacy by Google analytics?

I have a website developed in asp.net MVC4 with Google analytics code. We noticed three issues while analyzed GA reports:

  1. It displays admin pages (like "/Areas/Register/Views/Merchandiser/Create.cshtml", for example) and shouldn't be in analytics report
  2. It displays duplicated (like "/myurl" and "/myURL", for example) urls and shouldn't be duplicated
  3. It displays error pages (like "/Errors?aspxerrorpath=/Admin/Conteudos", for example) and shouldn't be in analytics report.

For #2, I have gone through this link but I did not get the results even after 72hrs.

For #1 & #3 - can I use robots.txt ? - if yes, how can I use this for asp.net mvc4 website?

Is there any way to resolve above issues?

Any help in this regard will be highly obliged.

Upvotes: 0

Views: 59

Answers (1)

caskey
caskey

Reputation: 12695

The problem is that asp.net is allowing case-insensitive URLs while google analytics considers foo/bar and Foo/Bar to be different urls and is the correct behavior per the W3C: http://www.w3.org/TR/WD-html40-970708/htmlweb.html .

Upvotes: 1

Related Questions