diff --git a/lib/BurguillosInfo/Tracking.pm b/lib/BurguillosInfo/Tracking.pm index 3977f6e..088c256 100644 --- a/lib/BurguillosInfo/Tracking.pm +++ b/lib/BurguillosInfo/Tracking.pm @@ -139,6 +139,7 @@ sub get_google_data { FROM paths right join requests on paths.path = requests.path WHERE paths.last_seen > NOW() - INTERVAL '1 month' and requests.referer ~* $GOOGLE_REFERER_REGEX + and requests.date > NOW() - INTERVAL '1 month' GROUP BY paths.path; EOF