: How to Distribute File and get Download Statistics? One of my Clients wan't to distribute there monthly print-magazine also as free PDF download. Similar to HackerMonthly. We are currently not
One of my Clients wan't to distribute there monthly print-magazine also as free PDF download. Similar to HackerMonthly. We are currently not using any CMS so we are open to every solution.
I could be done with Google Analytics if I specify a separate Goal for every file that will be available but I hope I do not have to go there.
Important statistic would be:
# of Downloads per File
Geographic region of the downloader
moderator: add tag "file-distribution" if you consider it appropriated
More posts by @Turnbaugh106
3 Comments
Sorted by latest first Latest Oldest Best
I took this on with a past employer. After much discussion, we opted AGAINST .pdf as the sole electronic distribution method due to the extra load time, annoying software, and (somewhat) questionable visibility with the search engines...I know, I know, Google does search .pdfs....but it seems to grab traditional HTML sites BETTER.
So, our solution was to deliver the site in newspaper format via a custom CMS that we wrote in-house. We could then use Google Analytics to track inbound, outbound AND search related traffic plus paths through the site. A big part of the traffic we received was referrals from current readers, and there was no way to track who's passing around a .pdf via email forward. It's easy, however, to track a "send to a friend" link on a site...which is why you see it on CNN, MSNBC, etc.
An added bonus is that by doing it the way we did, we could use queries (or RSS, which we also offered) to cross-post the content back on the main site and the 25 other sites that the company ran. So, a particular letter from a high-ranking CEO could be used to populate multiple newsletters and websites with just a few clicks.
Later, to appease the print-obsessed crowd, we did begin offering a .pdf download, generated on the fly server-side. Sure, it wasn't a perfect, custom laid out graphic marvel...but it worked, was automatic, and people liked it. Load time for the .pdf was ~20-30 seconds if your .pdf viewer wasn't open. Load time on the non-pdf site was about 1sec by comparison.
Administration-wise, we went from hours per newsletter down to less than an hour. An accompanying email system was setup to auto-generate a email blast with the month's articles, with just a handful of clicks. The email blast immediately ratcheted up viewership and doubled return visitors.
You could keep track of number of downloads per file simply by feeding the file through a server side script in the language of your choosing as opposed to linking directly to the file. By doing it this way every time the file is requested you can log it, and information about who is downloading it, in a database. See this answer for an example of this in PHP.
To learn the geographic location you will need to use a GeoIPService to translate their IP into a Geolocation. Then simply save that information with your download information.
We had a similar problem (although we are not interested in geographic data).
What we wound up doing was writing a proxy for the documents. I.e. when you request example.com/articles/document.pdf this is actually a servlet that resolves the document name to an actual PDF, fetches the actual document and returns it to the user.
The advantage of this is that we can, at this point, log that the file was requested, who requested it and (very important for us) if they should be allowed to have it.
With this set up there is no way to access the actual PDF without going through this service, meaning that we can accurately record each request. It is however resource heavy as the PDF is read/written for each request.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.