Fix tracking endpoint not called

This commit is contained in:
Kamran Ahmed
2025-06-02 16:42:11 +01:00
parent 803b0a5ecd
commit 8f77d90220
+1 -1
View File
@@ -25,7 +25,7 @@ window.fireEvent = (props) => {
if (['course', 'ai_tutor'].includes(category)) {
const url = new URL(import.meta.env.PUBLIC_API_URL);
url.pathname = '/_t';
url.pathname = '/api/_t';
url.searchParams.set('action', action);
url.searchParams.set('category', category);
url.searchParams.set('label', label ?? '');