Themelia Pro A powerful new development platform built on ASP.NET.
 
View Based Google Analytics
 
 

One of the controls that Themelia Pro provides is a fairly basic one: Themelia.Web.Controls.GoogleAnalytics. You can add this to your master page, configure you tracking code (via the TrackingCode property) and now all your pages are tracked via Google Analytics. Sequences take this concept to the next level...

Sequences have both views and versions. Traditional Google Analytics works off only the current URL, thus knows nothing about views or versions. The good news, however, is that Themelia Pro sequences automatically make Google Analytics fully aware of both views and versions; no additional work is required. Of course, if you don't want to track sequence views or versions, that's OK too. Just set the DisableViewAnalytics property on your Controller control to true.

Stand-Alone Google Analytics

If you don't want to have Google Analytics in your master page, you can enable it on your Controller control instead. To do this, set go to your Controller control and set EnableGoogleAnalytics to true and GoogleAnalyticsTrackingCode to your full Google Analytics trackign code (including the prefix that looks like "UA-").

Google Analytics For All Sequences

You can use these two properties on the underlyting sequence page as well. This comes in very handly if you want to include Google Analytics for all sequences. Just create your own class which inherits from Themelia.Web.Controls.SequencePage. Then, set EnableGoogleAnalytics to true and GoogleAnalyticsTrackingCode to your tracking code. Finally, have each sequence page inherit from your newly created class.