Skip to content
wiki.fftac.org

03 Theme Architecture - Source Excerpt 03 - Avoid

Back to 03 Theme Architecture

Summary

This source excerpt begins near Avoid and preserves the surrounding evidence from Wiki.FFTAC.org/raw/system-archives/anti-christ.org/docs-archive/2026-05-10/docs/03-theme-architecture.md.

**Source path:** Wiki.FFTAC.org/raw/system-archives/anti-christ.org/docs-archive/2026-05-10/docs/03-theme-architecture.md

The compiled `assets/js/theme.js` dispatches `antichrist:analytics` browser events and pushes the same payload to `window.dataLayer` when it exists. Current event names cover navigator opens/searches/selections, site search, Signals signup, contact messages, program intake, AI prompts/responses/errors, AI persona changes, AI protocol changes/selections, AI prompt-lane loads, AI follow-up prompt actions, AI workspace-brief actions, AI fullscreen toggles, AI key save/remove, AI output copy/share actions, AI transcript copy/JSON export/Markdown export/import actions, AI local snapshot actions, support clicks, downloads, focused research records, research filters, audio summaries, example prompts, and the research lens quiz. External analytics tooling can subscribe to those events without changing public templates.

## Avoid

- Do not edit WordPress core for theme behavior.
- Do not scatter canonical public copy across templates when it belongs in `foundation-content.php`.
- Do not put authentication rules in templates when they belong in `membership.php`.
- Do not create a second active roadmap inside an archived strategy memo.