Using bitly links in the media library – display of stats
-
I have approximately 800 zip attachments in my Media Library, each of which I have manually assigned a ‘format’ meta value describing the contents of the zip (e.g. mp3, m4b, epub, mobi) and a ‘bitly_url’ meta value using Media Library Assistant. I use the ‘bitly_url’ in my posts to collect a more accurate download count than I’ve been getting from my web host (my web host’s stats are pretty limited).
Unfortunately, there is no obvious way to display the bitly click count from my WordPress site. I would like to display the cumulative and individual click counts for all attachments on a post on my single.php and/or on my admin dashboard.
I don’t actually mind if the stats are 100% current, if I need to grab the clink counts and store them somewhere, as long as I could automatically refresh the stats to the current clink count every 24 hours or so.
Does anyone know how to do this? My googlefu brings up talk of the bitly “API”, but I have no idea what that is or how to use it.
- The topic ‘Using bitly links in the media library – display of stats’ is closed to new replies.