Project information
Project page on drupal.org: http://drupal.org/project/google_analytics_api
Student: Joel Kitching (jkitching on d.o, jkitching@drupal.org on g.d.o)
Mentor: Dmitri Gaskin (dmitrig01)
Co-mentor(s): Rick Vugteveen (rickvug)
Joel's Blog: Gone Digital
Current status: Developing low-level aspects.
Description
Takes advantage of data available from the newly-released Google Analytics API. Exact scope of the project is not yet completely planned, but it will include two main items. The first is a base API on the Drupal side adding information to nodes, etc. regarding analytics statistics. The second is an admin section to summarize some of the analytics information available.
Project schedule
-
May 23 - June 7: Community Bonding Period
-
June 8 - June 21
(削除) Learn about Data Export API authentication, account listing, and report requesting (削除ここまで)(削除) Decide on OAuth or AuthSub authentication (削除ここまで)(削除) Figure out whether we can use ClientLogin or if AuthSub must be used for authorization (AuthSub is still preferable.) (削除ここまで)(削除) Convert existing Google Analytics PHP library to provide support for AuthSub (削除ここまで)(削除) Get access to a high-volume traffic website for sample Analytics data (currently waiting on imagexmedia.com) (削除ここまで)(削除) Learn how to use unit tests, faking a Google Analytics server to receive and send data (SimpleTest official guide, quick guide, cheat sheet -- example at Drupal HEAD, modules/openid: open_id.test and tests/ for the module) (削除ここまで)(削除) Learn how to commit to the created project on the Drupal.org CVS server (削除ここまで)(削除) Set up a blog for the project (削除ここまで)(削除) Publish blog posts about the project (削除ここまで)(削除) Create a low-level Drupal wrapper function around the PHP library authenticates user appropriately, remembers the token, etc.) (削除ここまで)(削除) IRC/VoIP meeting with mentors (sometime during week of June 22?) (削除ここまで)
-
June 22 - July 5
(削除) Create admin page where current AuthSub session can be managed -- login and logout. (削除ここまで)(削除) Add permission to use Google Analytics data and make sure all calls to this information is protected by this permission. (削除ここまで)(削除) Backend (Drupal implementation of API) is complete (削除ここまで)
-
July 6 - July 12
(削除) Define features for the front-end interface (削除ここまで)(削除) Start basic code (main dashboard page, tab for each node) (削除ここまで)(削除) Create sample "query" page to retrieve custom data (削除ここまで)
-
July 13
(削除) Midterm evaluation deadline (passed) (削除ここまで)
-
July 13 - July 27
(削除) Statistics block with graphs by Google Charts (削除ここまで)
-
July 28 - August 10
(削除) Statistics section on nodes (削除ここまで)
-
August 11 - August 17
(削除) Implement unit tests, faking a Google Analytics server to receive and send data (削除ここまで)
Update
Project has received a passing grade. I will continue heavy development over the next couple months and maintenance after that.
Notes
Future Features
- Add support to Analytics library for multiple page fetching
- Implement caching if necessary
- Views integration (wait for Views 3?)