feat(frontend): تحلیل رفتار با OpenPanel به‌جای اجرای نمونهٔ دوم Umami

نمونهٔ OpenPanel موجود (stats.*) با یک پروژهٔ دوم برای این سایت استفاده می‌شود؛
VITE_OPENPANEL_URL/VITE_OPENPANEL_CLIENT_ID در زمان بیلد تزریق می‌شوند و در
نبودشان همه‌چیز بی‌اثر است. API عمومی track() تغییر نکرده و مسیر Umami هم
برای عقب‌نشینی دست‌نخورده مانده.
This commit is contained in:
aramesh-site deploy
2026-09-26 21:43:59 +00:00
parent 8600d2d4a3
commit 9d0015808c
2 changed files with 56 additions and 5 deletions
+3
View File
@@ -2,6 +2,9 @@ import "./index.css";
import React from "react";
import ReactDOM from "react-dom/client";
import { App } from "./App";
import { initAnalytics } from "./analytics";
initAnalytics();
const rootEl = document.getElementById("root");
if (rootEl) {