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

3. Online Marketing Measurement > 53. Build Your Own Web Measurement Applicatio...

Build Your Own Web Measurement Application: Marketing Data

At this point, we’re sure you’re itching to generate some real, useful data with your “build your own” application. In this hack, we attack common marketing measurements, including number of visits, page views per visit, referrers, search terms, and entry pages.

In this hack, we shall continue writing our miniature web analytics program. In [Hack #12] , we parsed a logfile and collated the individual lines into visitor sessions. Now we shall report some actual results.

The Code

Previously, we used a class called Data to hold the statistics, but we didn’t define that class. It’s time to do that now. Save this code into a file called Data.pm.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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