From cc57650c28ad54dbbbed4591aad323e5bfa290c8 Mon Sep 17 00:00:00 2001 From: Sergiotarxz Date: Sun, 7 May 2023 22:51:48 +0200 Subject: [PATCH] Forcing the google requests to be from before of a month ago. --- lib/BurguillosInfo/Tracking.pm | 1 + 1 file changed, 1 insertion(+) 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