chore: backup configs

This commit is contained in:
2025-07-08 16:22:41 -07:00
parent 57070cb14a
commit 96e38a8c02
17 changed files with 195 additions and 72 deletions
@@ -0,0 +1,8 @@
import { apiInitializer } from "discourse/lib/api";
export default apiInitializer((api) => {
const analytics = document.getElementById('analytics');
const title = document.querySelector('title');
analytics.setAttribute('event-page', title.innerText ?? "NHCarrigan Forum");
analytics.setAttribute('event-path', window.location.pathname);
});