How to get a graph of your instructable statistics by matseng
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

Step 1: How to add a new instructable to graph

(Instructables didn't like to have an instructable with just the intro step so I just added this info here to get it listed.)

To add a new instructable to be graphed you first go to the instructable and copy its URL. Then click on the "Add new graph" -link on the InstruGraph site and paste the URL in the form and click Add.

That's it. Now you just wait for 15 minutes and the graph begins to get built. Come back a day or two later and watch you statistics in amazement or horror... :-)


CrayfishYAY says: Apr 5, 2010. 3:20 PM

does this site exist anymore?

NachoMahma says: May 3, 2010. 2:30 AM
.  I'm getting "connection has timed out" errors. :(
Jayefuu says: Jun 17, 2010. 6:04 AM
Project for us nacho? :D
NachoMahma says: Jun 19, 2010. 1:17 PM
.  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.
Javin007 says: Jul 14, 2009. 1:01 PM
:( 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!
Derin says: Nov 8, 2008. 11:05 PM
Help,I did everything you said and it keeps saying Invalid Url whenever I paste the URL of the Instructable I made.
fwjs28 says: Feb 25, 2009. 3:21 PM
same here :(
PKM says: Dec 29, 2007. 8:11 AM
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.13 says: Dec 29, 2007. 12:51 AM
wow!
Weissensteinburg says: Dec 28, 2007. 11:57 PM
What a great idea - Thanks!
Spl1nt3rC3ll says: Dec 28, 2007. 5:25 PM
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) says: Dec 28, 2007. 11:05 PM
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? :-)
Spl1nt3rC3ll says: Dec 28, 2007. 11:19 PM
Yea, lol. It's such an awsome site, it should be linked on the Instructables homepage (it's featured at least).
Spl1nt3rC3ll says: Dec 28, 2007. 11:21 PM
I mean linked under "publish Instructable", saying "would you like to chart your veiws/ratings?"
matseng (author) says: Dec 28, 2007. 11:34 PM
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.
killerjackalope says: Dec 28, 2007. 7:20 PM
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) says: Dec 28, 2007. 11:27 PM
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) says: Dec 28, 2007. 10:58 PM
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.
Einsteins Circuitry says: Dec 28, 2007. 7:42 PM
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 Smith says: Dec 28, 2007. 7:10 PM
I tried mine, I'm waiting for them to show up.
Brennn10 says: Dec 28, 2007. 5:28 PM
Thanks, I will definitely check this out!
GorillazMiko says: Dec 28, 2007. 4:29 PM
Awesome, great idea! I will have to download InstructuGraph. (favorited)
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!