webstats on d-base sites
- Started
- Last post
- 8 Responses
- blastofv
yo programmers – anybody have any info on how best to track web pages that are served up dynamically from a database... like for a stock photography site, if I were trying to track how many hits are coming in to the results pages...
in particular, I'd like to use Google Analytics to track both static info pages and database-served pages... help? links? please?
- blastofv0
* el bumpo *
anyone?
- blastofv0
* bumpisimo *
last attempt – nobody has experience with this?
- speedlab0
Dynamic Pages should not be a problem with spiders but you should try and make all Page Titles unique and in context with what's on the page. Search engine friendly URLs are also a bonus. do some research on google for sef urls and rewriting urls. you'd want to be able to make your urls look like www.mydomain.com/1999/january instead of www.mydomain.com?year=1999&m…...
- UndoUndo0
any stats program should be able to tell you this i.e how many hits of imagesSearchResults.php for example.
I'm not sure if you mean you have say a template page for all images which you pass an id to. this page then loads the appropriate image from the id and you basically want to track the id and not the template page hits?
- blastofv0
thanks for the insight guys – UndoUndo, actually I just need to track the template hits for the results pages, not the id for the specific search or specific results... I just don't know how GA would need to be integrated into the source in order to track the template hits as a single entity (even though it's database generated, and different every time)
- blastofv0
OK, looks like I found a funnel option to cover dynamic URLs... hopefully my programmer can make it work!
- UndoUndo0
blastoc, just put the code into the head of the page ur outputting and it will record it. unless you ouput ALL html from php or asp etc, then just place it into the head in the variable where it sheld.
if that makes sense?
- blastofv0
yeah man, I think I'm starting to understand this better – thanks!