--- a/ckanext/ga_report/helpers.py +++ b/ckanext/ga_report/helpers.py @@ -116,6 +116,10 @@ _log.warning("Package {0} is not active, it is {1}".format(p.name, p.state)) continue + if not p.private == False: + _log.warning("Package {0} is private {1}".format(p.name, p.state)) + continue + if not p in datasets: datasets[p] = {'views':0, 'visits': 0}