I have installed this module and the GA API (alpha1 & dev) and cannot seem get any nodes to appear in the most popular block. I granted access to my Google Analytics account and selected the correct profile fine but when I go to "Refresh Stats", it just says "Refreshing Viewed". Under "Services", the status for the view is listed as "configured". I have the "most popular core" and "most popular - google analytics" enabled and the core statistics module disabled. I've tried running cron multiple times and clearing my cache with no luck. Any suggestions?
Comments
Comment #1
amarcus commentedHi joeytheman,
Make sure you've reviewed the troubleshooting section at http://www.drupalmostpopular.com/documentation
1) Are you sure GA has already collected analytics on your site? GA never reports metrics from today, so it must have been collecting yesterday as well.
2) Have you checked the base paths (on the first Most Popular config page) to make sure the pages you believe should appear are actually being included? The GA Most Popular module takes the full URLs from GA, strips off any of the base paths, excludes any paths in the exclude list, and then attempts to match the remaining paths to Drupal nodes. Only the resulting nodes appear in the widget.
3) Have you granted the "administer Google Analytics settings" permission to the user under which cron runs (probably anonymous)?
Let us know if that's still not working for you, and we'd be happy to go in and troubleshoot your configuration.
--
Andrew
Comment #2
joeytheman commentedI figured it out. I did not have an interval time frame specified. I would suggest adding a default interval. Thanks.
Comment #3
wozzz7 commentedSorry but can someone specify what kind of string I can put into the interval field?
I have tried '-1 day' and 'today' (without the quotation marks). But all I get is a blank white screen when I refresh the stats.
Comment #4
fightingsaint commentedWhat should I use for the Interval field?
Comment #5
vako commentedCan someone provide interval samples please. e.g.: how can we create 1Week, 1Month, YTD, etc.
something similar to: www.drupalmostpopular.com/demo
thanks!
Comment #6
ajayg commentedJust use the reset button and it will provide the sample values. I was baffled as well as this information is missing from documentation
Comment #7
aendra commented@#6 -- Gaaaah. Just provide the info! I tried hitting that and I got a fatal error; see: http://drupal.org/node/1443274#comment-6549936
This is getting old...
Comment #8
aendra commentedAUUUUGH. Okay, I've spent hours trying to configure this module and only now figured it out.
In the Intervals, you **MUST** click the "Add" button — the values you see there are not actually active until you do.
And I realize this just after I wrote a 200 word diatribe about this module on Drupal.SE...
My contribution to this module will be updating the documentation to mention that. Stupid, stupid, stupid...
Edit: See http://drupal.org/node/1801448