Instructables

How to get a graph of your instructable statistics

Featured
Given my relatively successful last two instructables I thought that it'd be interesting to see how and when the pageviews occurs over time.

Getting Featured or Popular should increase the rate of pageviews in a distinct way. Also getting onto a major blog would show up as a bump in the rate of pageviews.

To satisfy my own curiosity I slapped together a website that keeps track of the statistics of a set of instructables. Once every 15 minutes it gets the current statistics and stores it in a database. It can then on demand plot graphs of that data.

If you want to keep track you your (or any other) instructables just go to InstruGraph.com and register by just supplying your email address. You can then add the URL's of the instrutables that you're interested in.

It will of course take a while before any data shows up in the graphs since it can only get the current data and not any historical values from the Instrutables site. So add your instructables as soon as possible after you published them.

The InstruGraph site is using some "undocumented tricks" to get the data from Instrutables, so it might stop working any anytime if the Instructables team decides to change their coding in a non-compatible way. But until then, please make use of the service. It's free to use and doesn't have any obnoxious affiliate programs or ads.

It's in early beta so please report any bugs, errors, improvements, suggestions to me. Either on the site or as a comment or PM here.
 
Remove these adsRemove these ads by Signing Up
CrayfishYAY4 years ago

does this site exist anymore?

.  I'm getting "connection has timed out" errors. :(
Project for us nacho? :D
.  I'm open to suggestions. Sounds like it would be a bit of a resource hog, but it might be worthwhile for a small group.
Javin0075 years ago
:( This no longer seems to work. It takes me to a "VIA" site that asks for a lot of personal information, including my passport number!
Derin6 years ago
Help,I did everything you said and it keeps saying Invalid Url whenever I paste the URL of the Instructable I made.
fwjs28 Derin5 years ago
same here :(
PKM7 years ago
I'm so very, very creeped out right now. My HDR photos with the GIMP instructable just got Popular status, and I found this site and thought "I'll get a graph of my page views to see how they do". So I went to the site, and out of the I don't know how many thousand Instructables to give me as the random one on the front page it gave... HDR photos with the GIMP. Get outta my head! Seriously, I hope the powers that be appreciate how many people would really like this as a feature of the site and do something similar.
ll.137 years ago
wow!
What a great idea - Thanks!
Too bad you made this after my Instructable got featured, it would have been sweet to see the spike in page-views (they skyrocketed! Already passed the one I posted in October.)
matseng (author)  Spl1nt3rC3ll7 years ago
Yea, I feel the same with my two last instructables. I'd been nice to seen a graph of them. But better "later than never", the system is in place and collecting data for our future projects... So we better make some new awesome instructables then, right? :-)
Yea, lol. It's such an awsome site, it should be linked on the Instructables homepage (it's featured at least).
I mean linked under "publish Instructable", saying "would you like to chart your veiws/ratings?"
matseng (author)  Spl1nt3rC3ll7 years ago
Actually I have a secret hope that the Instructables team will implement the same function directly integrated in their system. They really should. But until then I'm happy to provide that service. And when they do, I'll be glad because imitation is the sincerest form of flattery.
Nice one especially since I just posted make your own website, one of us makes a quick mirror and people can show off their latest instructable's performance. Was the coding difficult or was it just a case of using the values for views and copying them to a graph database automatically.
matseng (author)  killerjackalope7 years ago
It depends of how you define difficult. There's certainly no rocket science coding here. But there are no automatic functions used.

From a PHP-script, that gets called from a cron-job every 15 minutes, I call the http://www.instructables.com/ajax/AjaxEntryTabsDispatcher?entryID=$uid&contentType=stats for each intructable I want to get the stats for and then pick out the interesting parts from the html code I get back from that call. The stats is then put into a database.

When doing the actual graph I first fetch the stats that it needs from the database into two arrays (views and rating) an then I use the GD-function an load two pre-made graphic images. The first image is the template where the grid, ticks and logo is already on, the other image is a long list of numbers and months.

To make the graph I copy parts of the number-image into the template so the dates and the values gets there. Then I use the standard line-drawing function and plots the two lines step-by-step.

To reduce the load on the server I write the new image to a file and use that file directly for subsequent calls for it during the next 15 minutes. If the image is older then 15 minutes it gets recreated with fresh data.
matseng (author) 7 years ago
I just discovered that I botched the "add new graph" -code a bit. All new graphs were tagged to the first user on the system (me). And since I don't know what instructable graph that belongs to whom I just added them to all of you. If you don't want them all in your list just click on the "Remove graph from you listing"-link.
If only this had come out before I posted my Instructable. It got over 10,000 views in ONE day! It was on Engadget and also got Featured and was Popular.
John Smith7 years ago
I tried mine, I'm waiting for them to show up.
Brennn107 years ago
Thanks, I will definitely check this out!
Awesome, great idea! I will have to download InstructuGraph. (favorited)