Skip to content

📈 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!

Merge pull request #8 from Swetrix/feature/noscript

Andrii Red9c1bc67a2e
diff --cc src/analytics/analytics.controller.ts
index 07d8f7444,9357bf537..899dca035
--- a/src/analytics/analytics.controller.ts
+++ b/src/analytics/analytics.controller.ts
@@@ -8,10 -9,9 +8,10 @@@ import * as dayjs from 'dayjs
import * as utc from 'dayjs/plugin/utc'
import { v4 as uuidv4 } from 'uuid'
import { hash } from 'blake3'
+import ct from 'countries-and-timezones'
import {
Controller, Body, Query, UseGuards, Get, Post, Headers, BadRequestException, InternalServerErrorException,
- NotImplementedException, UnprocessableEntityException, PreconditionFailedException, Ip, ForbiddenException,
+ NotImplementedException, UnprocessableEntityException, PreconditionFailedException, Ip, ForbiddenException, Response,
} from '@nestjs/common'
import { ApiTags } from '@nestjs/swagger'
import * as UAParser from 'ua-parser-js'