Archive - Apr 13, 2010

Using Graphviz, Drupal and Google Analytics to Display Keyword Relationships

Recently, I started experimenting with the Google Analytics API. Using it, you can extract data from Google Analytics for whatever processing you might want to do. My first attempt was to access Google Analytics to see who is viewing the most pages on my site when the come from an EntreCard inbox. Yesterday, I went a bit further and used php and graphviz in Drupal to create a graph of the relationship of keywords used to access a site.

Here is a graph of the relationship of the most frequently used keywords for Orient Lodge over the past few days:



Graphviz Keywords, originally uploaded by Aldon.

For the geeky details, read on.