Needs review
Project:
Google Analytics Statistics
Version:
7.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
7 Jul 2014 at 06:08 UTC
Updated:
9 Feb 2017 at 19:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
vagelis-prokopiou commentedI have exactly the same issue. I tried both the 7.x-1.0-beta2 and the 7.x-1.x-dev version of the module. I also tried with different versions of the google analytics module. Nothing worked. All the fields show 0 for me too, although the ga account is up and running and showing multiple values and statistics. All the clues I have is that when I try to manually update the counts, I get the messages that
and
Isn't that strange?
I have authenticated with a specific app password, since I am using 2 factor authentication for my google account. The module has authenticated alright and connected to my ga account.
Thanx in advance for any help to all the contributors.
Comment #2
sjvellenga commentedFor those that were interested in this issue, I ended up going with Piwik analytics and integrating it with Drupal. It does offer quite a lot, and there are a few modules that integrate quite well.
Comment #3
vagelis-prokopiou commentedThanx for the info sjvellenga. I tried it too and works like a charm. Plus, it is open source which I prefer over google analytics.
Comment #4
cthshabel commentedWell, I am experiencing identical problems and I'm wondering how I can get this resolved. I would really like to stick with google analytics.
Does there need to be specific permissions set for nginx configuration to allow google to pass the metrics? Any insight on this issue would be very helpful. I have three different environments running this module and all of them have the same problem (Failed to retrieve data from Google Analytics), but the Authentication passes and the correct account is showing.
Comment #5
vagelis-prokopiou commentedAnother alternative is "Google Analytics Counter". I use it and it works fine.
Comment #6
nimbfire@gmail.com commentedI'm facing the same problem...
The connection with the Google Analytics works, because in the values are in the table ga_stats_count the way theyt where supposed to (by month and week).
But in the views, when I filter (or print the page views), the values are all zero.
Someone have an idea of what I may be doing wrong?
Edit: I found out what was wrong. The update couldn't finish, breaking in the middle. So the table was with correct results, but not for the nodes that I was looking for. Ended being a error with the number of characters in one of the columns (url). Changing this resolved the issue. But since it can happen with others, I created a issue https://www.drupal.org/node/2429093 .
Hope this helps someone. =)
Comment #7
dysproseum commentedI also encountered this issue after getting OAuth working using the first patch and the steps in this comment https://www.drupal.org/node/2498117#comment-10003057
I found that the views fields and filters added by the module were not returning any data.
I rewrote them in a different manner, making three different fields available (count, timeframe, and metric) instead of combining them all into one.
To retrieve data from the timeframe "forever" and the metric "pageviews" you can add a filter for each of those settings to the view. Make sure those settings have first been enabled under "admin/config/system/ga_stats" because only enabled values will be available.
Comment #8
dysproseum commented