Closed (fixed)
Project:
Google Analytics Counter
Version:
6.x-2.0
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Reporter:
Created:
2 May 2011 at 21:05 UTC
Updated:
17 Sep 2011 at 20:39 UTC
Looks like one of this module's dependencies was deprecated in favor of Google Analytics Reports. Is that module API compatible with the previous module? Is there a plan to get this module moved over to use that one?
Comments
Comment #1
vacilando commentedThat's correct. It's a little problem for GAC but I plan to adjust it so that it works with the new module. It should be finished by the end of this week. If anybody can do and test it faster, I will check and submit the patch.
Comment #2
grendzy commentedHi! The internals of google_analytics_reports has been through some refactoring. One of the goals of the refractor was to have a more focused API, with fewer "helper" functions, and an easier-to-use (dpm-friendly) data format. The API is also a bit "closer to the metal", in terms of what Google provides (for example, the "ga:" prefix is now required on metrics / dimensions).
I suggest fetching all your data from
google_analytics_api_report_data(). Most other report functions should be considered private, and may change again in the future. There are a few changes to the format of the parameters - you can see example code on the GAR handbook page: http://drupal.org/node/1138274Thanks!
Comment #3
thedavidmeister commentedsubscribing.
Comment #4
nbchip commentedsubscribing.
Comment #5
dan_metille commentedsubscribing
Comment #6
redaccion commented+1
Comment #7
pdumais42 commentedI need this module for a project. How can I help get it working again?
Comment #8
Fidelix commentedSubscribing...
Comment #9
askibinski commentedsub
Comment #10
vacilando commentedFinally! GAC is now cleanly working with the new Google Analytics Reports -- see http://drupal.org/node/1282658!