[quote=116175:@Ken Gish]Michel - I changed my mind about tracking only first and last pages because there is no way for user to navigate to a specific page anyway. I realized today that Xojo “pages” aren’t really pages (thanks to Phillip Z description here).
Do I need to put the tracking code on every “page”?[/quote]
There is a way to link in HTML to WebPages inside a web app through hashtags, allowing pretty much the same easy navigation as through HTML pages. Basically, what you do in HashTagChanged is something like :
Select Case session.hashtag
Case "toto"
totowebpage.show
Case "Dorothy"
dorothy.show
And in your index.html you put links like
http://mydomain.com/cgi-bin/myapp.cgi#toto
So you can link in HTML to every WebPage in your app and present it to the user the same way an HTML site would. In order to keep navigation logical, I think it is good to keep a link to the index page in the upper left corner of the screen as most sites do.
Now, I am not sure the blog method you are mentioning would work on a web app. Google cannot see the HTML inside the WE itself, because it cannot run the web app. So only the JavaScript will be able to signal Google Analytics where the user is.
So as I told you, it is easy to navigate between pages of a web app through the HashTags. Now what that means is the usual architecture of navigation within the app becomes less rigid and you need to conceive your app accordingly. For instance, in a regular web app, the default WebPage is the mandatory landing page. When the user is allowed to enter through another WebPage, you need to make sure all possible session variables are already initialized correctly. Also, the logic of the app becoming more horizontal some authoritarian designs become imposible, such as binary navigation choices.
Altogether, though, I consider such a model as just as interesting as a multi-window app where the user can click between windows.
As I pointed out in a previous thread, a web app will never be exactly the same as an HTML site. But it can offer to the visitor a navigation experience just as fluid.
Hope I did not confuse you too much