ai_cijo
AI Content Intent & Journey Orchestrator (AI-CIJO) helps site administrators
understand why visitors are on their site and
what stage of their journey they are in, and then adapt
the site experience in a targeted, explainable, and privacy-safe way.
Unlike traditional analytics or hard-coded personalization rules,
AI-CIJO evaluates selected front-end page requests in real time and determines
visitor intent (such as browsing, comparing, or returning) and journey stage
(awareness, consideration, or retention).
Most importantly, AI-CIJO is not a black box.
Every decision is transparent and can be reviewed by administrators
through a built-in explainability report.
What problem does this module solve?
Drupal sites often treat all visitors the same or rely on static rules such as
“if logged in, show X”. These approaches lack context, flexibility, and insight
into why a visitor behaves a certain way.
AI-CIJO introduces a structured orchestration layer that allows site builders to:
- Understand visitor intent in real time
- Adapt site behavior predictably and transparently
- Control personalization without hard-coding logic
- Avoid collecting or storing personal data
How it works
- A visitor requests a front-end page
- AI-CIJO evaluates the request only if it matches configured targeting rules
- Anonymous contextual signals are collected, such as:
- Current page path
- Referrer
- User role (anonymous or authenticated)
- Language
- An intent detector determines visitor intent and journey stage
- An orchestration state is built for the request
- Blocks and components are conditionally rendered based on journey mappings
- An explainability report is made available for administrator review
Block-level orchestration by design
AI-CIJO orchestrates site behavior at the block / rendered component level.
It does not manipulate Layout Builder sections or layout internals directly.
When blocks are hidden, layout sections collapse naturally. This approach ensures:
- Compatibility with Layout Builder and per-node layout overrides
- Cache-safe behavior using Drupal core rendering APIs
- Predictable results across themes and view modes
Targeted by design
AI-CIJO is disabled by default and evaluates only requests
explicitly allowed by administrators.
The module will never evaluate:
- Administrative pages
- Asset requests (CSS, JS, files)
- Internal Drupal rendering routes
- AJAX or non-HTML responses
Explainability
AI-CIJO includes an admin-only explainability page at:
/admin/ai-cijo/explain
This page shows the detected intent, journey stage, confidence score,
signals used for the decision, and the evaluated front-end page.
Privacy-first architecture
- No personal or sensitive user data is stored
- No cross-session tracking or profiling
- Explainability data is temporary and per user
Drupal compatibility
- Drupal 11 only
- Uses config entities, event subscribers, and core hooks
- No dependency on Layout Builder internals
- Clean install and uninstall