NPR

Analytics: Where Does the SAS On-Demand Data Come From?

We frequently get questions about how we generate the On-Demand Audio reports within the Station Analytics System. This article dives into some of that technical information. If you're looking for information on troubleshooting low numbers, or want to get started with on-demand audio metrics, these articles may also be helpful:

Troubleshooting Missing On-Demand Audio Data
Setting up On-Demand Audio Tracking by Program

Background:

The NPR Station Analytics System On-demand Audio Dashboard provides high-level metrics on on-demand audience and downloads, as well as detailed report on programs and episodes.

The On-demand dashboards use data  from on-demand log files that are generated by your webserver.

The log contains the following information about your on-demand audio files for each time each of your audio files was accessed by a user:
 
  • audio link accessed
  • media download domain
  • device used to access the file
  • IP addresses
 
Parsing Your File

NPR uses a parser to translate your raw log files into a format the SAS On-Demand dashboards can understand.

For example, the raw data that comes to us in your log file would look something like this for a single audio listen:

2017-05-03 23:31:03 65.183.154.206 GET /nprds.download.akamai.com/vpr/audio/2017/05/vpr-vermont-edition-eileen-whalen-20170502.mp3 206 6844300 1489 "-" "AppleCoreMedia/1.0.0.14E304 (iPad; U; CPU OS 10_3_1 like Mac OS X; en_us)" "-" 6843979 0-6843978 1"

The log files contain information for each audio file request, but do not contain any program information. We need more information from your site to know if a particular audio file is part of a program or podcast.

Matching Your Audio File to Your Program

The program data is collected through the podcast RSS feeds stations provide in NPR Station Connect

Each podcast feed contains information that allows our system to match individual audio files to the programs they belong using data provided within the feed, including program/podcast name, audio file link (.mp3), and episode title, etc.

The NPR on-demand parser goes through your podcast RSS feeds every night to grab the latest episode information, and compares the audio links in your feeds to the audio links in your server logs. When the system finds a match, it knows that audio file belongs to a particular show and should be added program reports.

If you do not see a link to view your on-demand dashboards when you log in to SAS, your station may not be set up yet. More information on how to get started is available here.

Did you find this article helpful?