views:

634

answers:

1

I'm using GA on my site and need to add tracking to a several pages. These pages are rendered by means of a master page in conjunction with a Telerik tab control. When a tab is selected, the code evaluates which tab was clicked and inserts the appropriate user control for that page and rerenders it. According to the browser, it's always default.aspx but the ascx in it is different.

How could I track the different pages with this sort of setup?

+6  A: 

Yes, it will always be the same page that renders, but you can use some tricky javascript commands to track different parts. Check this link.

If you use pageTracker._trackPageview("/default/tabname"); in the ascx it will be tracked as another page.

Eduardo Campañó
+1 for great response.
Tom Anderson
+1, I use the same.
DavGarcia