I am trying to build a sytem that will let me check later on
the amount of time visitors surfed in a certain flash minisite. I
use ASP behind the scenes.
at the end of the surf I should have an multidimentional
array called pageNumerator that contains the pages visited and
seconds stayed in each "page" in the minisite (page is just a
number signifyingg a certain visual location on minisite)
now I am trying to make either flash send the information
with loadvars or to have flash send the data to the browser and
have it send the data with the onunload window event.
unfortunatly the window event onUnload works at clientSide
and not serverSide and the DB programing must be server side
any ideas about what I should do?
any help will be greatly appreciated!!!!
I'd suggest using Google Analytics - it's easy to hook up and
will give you
a lot of info, including time on pages, user location, etc. I
use it now for
all our Flash sites. It's also free... Essentially, you just
pass your page
Google handles the rest.
I do use google analytics but i want to incorporate this
feature into our own administration interface which is open to our
I have easily send the array to html container on the unload
event so that an alert msg shows me the data. if only there was
scene - maybe loading an image tag that points to server side
programing if it cant be done directly in flash
I have also thought about using time chunks of 5-10 seconds
to send data to server but that will create an unnececary load on