📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
add comment
Blue Mouse78da5ebdcc79
diff --git a/backend/apps/community/src/analytics/analytics.service.ts b/backend/apps/community/src/analytics/analytics.service.tsindex bed1ccff2..7d8653c66 100644--- a/backend/apps/community/src/analytics/analytics.service.ts+++ b/backend/apps/community/src/analytics/analytics.service.ts@@ -249,7 +249,7 @@ const generateParamsQuery = (): string => {let columns = [`${col} as name`]- // For regions and cities we'll return an array of objects, that will also include the country code+ // For regions and cities we'll return an array of objects, that will also include the country code and region code// We need the conutry code to display the flag next to the region/city nameif (col === 'rg') {columns = [...columns, 'cc', 'rgc']