Add a redirect line to catch certain events

Bug #596975 reported by George
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Library
Confirmed
High
Edward Betts

Bug Description

It's time to start noting certain events into the Apache log directly so we can trawl the logs later for information about when people leave openlibrary and where they end up. We should add a redirect line that writes an entry into the log, then bumps the person where they want to go. It should be super fast and hardly noticeable :)

In the first instance, we need to stamp some notes about Lending:

- Record the edition
   - Any/all downloads of IA loans; note the type of file (PDF or ePub)
   - Clickthroughs to OverDrive

Nice to have would be clicks through to any/all of the Read/Borrow/Buy options, but that can come later. We need to think carefully about what the redirect URL should be. E.g. - yahoo uses a rds.yahoo.com domain with lots of gobbledegook after the first slash. Ideas on this?

* Note that we don't care about *who* did it, just that it happened.

George (george-archive)
Changed in openlibrary:
milestone: none → lending
assignee: nobody → Edward Betts (edwardbetts)
importance: Undecided → High
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.