• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

5. Technographics and “Demographics” > 76. Hacking into Page-Level Details for ...

Hacking into Page-Level Details for Language

Generate a page-by-language text file that can be mined for deep and rich information.

While most web measurement applications do a pretty good job reporting on the percentage distribution of languages used to browse your site, very few go so far as to let you segment your visitor activity [Hack #48] by language. Fortunately, if you have a nominal amount of control over your web site, you can write a relatively simple hack to provide this information.

The Code

The following code is written in VBScript for Microsoft’s Active Server Pages, but could quite easily be adapted to PHP, Perl, or Java. You should save the following code as language_by_page.inc and include it in your header files.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint