RIAForge Update, and awesome example of ColdFusion/Google Integration

This post is more than 2 years old.

Today I pushed a new update to RIAForge.org, and it's something I think that even non-RIAForge users may be interested in. A few weeks ago, Todd Sharp released ColdFusion Google API, a set of packages to integrate with Google. I've played a bit in this area as well, and Todd made use of a bit of my code as well (the benefits of sharing code, everyone wins). Part of his package is the ability to integrate with Google Analytics.

I've long used Google Analytics to monitor RIAForge, and it occurred to me that I could use his code to provide information about projects. Since every project has a unique base URL (something.riaforge.org), it made it easy to filter the data. Since I'm a lazy jerk, I asked Todd if he would mind whipping up a quick demo for me to use within RIAForge. He went way beyond that and basically wrote 90% of the code. All I had to do was cut, paste, and create the view page.

Currently these stats are secured, but here are a few screen shots to give you an idea. As much as I love Google Analytics, it isn't always the most simple interface to use. It also requires you to login to another site to view the reports. Todd work allows you to integrate all of this within your application itself. (In fact, I'm hoping to add this support to a little project of my own.) Huge kudos to Todd for doing this. Anyway, enough praise, here are some simple screen shots from the BlogCFC project. (And yes, I realize the tables are a bit... meh... but I'm going to worry about that later. I think RIAForge is due for a facelift anyway.)

Downloads

Keywords

Views

Traffic Sources

Raymond Camden's Picture

About Raymond Camden

Raymond is a senior developer evangelist for Adobe. He focuses on document services, JavaScript, and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA https://www.raymondcamden.com

Archived Comments

Comment 1 by Lucas posted on 7/20/2009 at 3:03 AM

Ok, that looks really sexy!
Infact, it is so cool i think that is what I will be doing this weekend!

Is there any way that you can share Todd's code??

Comment 2 by Raymond Camden posted on 7/20/2009 at 3:07 AM

Yep, I cam share it. Todd wrote it all and I don't think he will mind. Will do it tomorow though.

Comment 3 by todd sharp posted on 7/20/2009 at 5:24 AM

Feel free to share, but I'd like to see a link here if it's used somewhere I can see it :)

Comment 4 by Nathan Mische posted on 7/20/2009 at 5:55 AM

This is awesome. Thanks Todd and Ray!

Comment 5 by Sebastiaan posted on 7/20/2009 at 10:54 AM

Just returned from a cool CF9 preso by Claude Engelbert in Amsterdam - thanx Claude! Saw some nice CFGoogle-stuff - will this be in there as well? With this I mean all the wrappers presented here?

Comment 6 by Raymond Camden posted on 7/20/2009 at 2:41 PM

What do you mean? The analytics stuff _is_ in the package. What Todd did for me was to wrap up some common _calls_ with his code. Ie, I didn't have to read the docs. So afaik, nothing I (RIAForge) has is not available to the public (if I'm reading you right). There seems to be interest, so I'll follow up this post with a code post so folks can see a bit more.

Comment 7 by Sebastiaan posted on 7/20/2009 at 2:48 PM

What I mean is do the new CF9 google-tags superseed this package, or is it to be used next to these new tags?

Comment 8 by Raymond Camden posted on 7/20/2009 at 2:50 PM

What new Google tags? Do you mean the CFMAP tag? That's the only Google-related CF9 thing there is, and it certainly does not do analytics.

Comment 9 by Sebastiaan posted on 7/21/2009 at 1:18 PM

Oh..., then I've misunderstood Claude, he was talking about several new Google integration tags, of which one was the CFMAP tag. I presumed GMail and Analytics would be other integration tags - my bad.