From 5ea41a7e25885b8e430921990579724c2aceefef Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Fri, 1 Sep 2023 06:18:03 -0700 Subject: [PATCH] fix: analytics range --- src/_data/analytics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_data/analytics.js b/src/_data/analytics.js index 30d693f0..13616c3b 100644 --- a/src/_data/analytics.js +++ b/src/_data/analytics.js @@ -3,7 +3,7 @@ const EleventyFetch = require('@11ty/eleventy-fetch') module.exports = async function () { const SITE_ID_CLICKY = process.env.SITE_ID_CLICKY const SITE_KEY_CLICKY = process.env.SITE_KEY_CLICKY - const url = `https://api.clicky.com/api/stats/4?site_id=${SITE_ID_CLICKY}&sitekey=${SITE_KEY_CLICKY}&type=pages&date=this-month&output=json` + const url = `https://api.clicky.com/api/stats/4?site_id=${SITE_ID_CLICKY}&sitekey=${SITE_KEY_CLICKY}&type=pages&date=last-90-days&output=json` const res = EleventyFetch(url, { duration: '1h', type: 'json',