diff --git a/public/intl/messages/en-US.json b/public/intl/messages/en-US.json index 0ee5b1e6..60044243 100644 --- a/public/intl/messages/en-US.json +++ b/public/intl/messages/en-US.json @@ -1382,7 +1382,7 @@ "message.share-url": [ { "type": 0, - "value": "Your website stats are publically available at the following URL:" + "value": "Your website stats are publicly available at the following URL:" } ], "message.team-already-member": [ diff --git a/src/components/messages.ts b/src/components/messages.ts index 04a29a4c..c58b2ca8 100644 --- a/src/components/messages.ts +++ b/src/components/messages.ts @@ -227,7 +227,7 @@ export const messages = defineMessages({ }, shareUrl: { id: 'message.share-url', - defaultMessage: 'Your website stats are publically available at the following URL:', + defaultMessage: 'Your website stats are publicly available at the following URL:', }, trackingCode: { id: 'message.tracking-code', diff --git a/src/lang/en-US.json b/src/lang/en-US.json index e1d59230..2f957a45 100644 --- a/src/lang/en-US.json +++ b/src/lang/en-US.json @@ -207,7 +207,7 @@ "message.reset-website": "To reset this website, type {confirmation} in the box below to confirm.", "message.reset-website-warning": "All statistics for this website will be deleted, but your settings will remain intact.", "message.saved": "Saved.", - "message.share-url": "Your website stats are publically available at the following URL:", + "message.share-url": "Your website stats are publicly available at the following URL:", "message.team-already-member": "You are already a member of the team.", "message.team-not-found": "Team not found.", "message.team-websites-info": "Websites can be viewed by anyone on the team.", diff --git a/src/queries/analytics/getWebsiteStats.ts b/src/queries/analytics/getWebsiteStats.ts index 4dbdb462..51716b30 100644 --- a/src/queries/analytics/getWebsiteStats.ts +++ b/src/queries/analytics/getWebsiteStats.ts @@ -31,7 +31,7 @@ async function relationalQuery(websiteId: string, filters: QueryFilters) { from ( select website_event.session_id, - ${getDateQuery('website_event.created_at', 'day')}, + ${getDateQuery('website_event.created_at', 'hour')}, count(*) as "c", min(website_event.created_at) as "min_time", max(website_event.created_at) as "max_time" @@ -70,7 +70,7 @@ async function clickhouseQuery( from ( select session_id, - ${getDateQuery('created_at', 'day')} time_series, + ${getDateQuery('created_at', 'hour')} time_series, count(*) c, min(created_at) min_time, max(created_at) max_time