Integrations
Baan includes a built-in Integrations system that lets you connect external services to your site. All integrations are configured through the Admin UI — no code changes required.
How It Works
Section titled “How It Works”Each integration can inject content into Slots — fixed injection points in the page layout. Think of Slots as named hooks in the HTML structure where an integration can insert scripts, ads, tracking pixels, or any other content.
Available Slots
Section titled “Available Slots”| Slot | Location |
|---|---|
head | Inside <head> |
body-start | Right after <body> opens |
header-before | Before the site header |
header-after | After the site header |
content-before | Before post content |
content-after | After post content |
sidebar | In the sidebar |
footer-before | Before the site footer |
footer-after | After the site footer |
body-end | Right before </body> closes |
Each slot receives context about the current page:
locale — active languagepage — 'home' | 'post' | 'category' | 'tag'post — slug, title, excerpt, category, tags, date (on post pages)category — current category name (on category pages)tag — current tag name (on tag pages)Integrations use this context to render conditionally — for example, showing ads only on post pages, or passing the current post’s category to an analytics event.
Error Isolation
Section titled “Error Isolation”Each integration runs inside an error boundary. If an integration throws during rendering, the rest of the page is designed to continue normally. In development, a red error box appears; in production, the slot renders nothing.
Configuring Integrations
Section titled “Configuring Integrations”Go to Admin → Integrations to manage all integrations.
- Browse by category tab (Analytics, Monetization, Engagement, SEO, Content, Distribution, Social)
- Toggle an integration on with the enable switch
- Fill in the configuration fields that appear
- Changes are saved automatically
Built-in Integrations
Section titled “Built-in Integrations”Google Analytics
Section titled “Google Analytics”Tracks page views and user behavior using Google Analytics 4.
Setup:
- Enable the integration
- Paste your Tracking ID (format:
G-XXXXXXXXXX)
The GA script loads with afterInteractive strategy — it never blocks page rendering.
Google AdSense
Section titled “Google AdSense”Displays ads in the content-after and sidebar slots.
Setup:
- Enable the integration
- Enter your Publisher ID (format:
ca-pub-XXXXXXXXXXXXXXXXX) - Enter the Ad Slot IDs for each position you want to use
Leave a slot ID blank to skip that slot.
Integration Categories
Section titled “Integration Categories”| Category | Purpose |
|---|---|
| Analytics | Page view tracking, heatmaps, behavior analysis |
| Monetization | Display ads, affiliate tools |
| Engagement | Comments, social sharing, newsletters |
| SEO | Structured data, sitemaps, search tools |
| Content | Related posts, recommendations |
| Distribution | RSS, content syndication |
| Social | Social embeds, follow buttons |
New integrations from Baan core are added to these categories as they become available.
Why No Plugin Marketplace?
Section titled “Why No Plugin Marketplace?”Many CMS platforms offer a plugin marketplace where third-party developers publish extensions. Baan takes a different approach: integrations are maintained by the core team only.
This is intentional:
- No compatibility breakage. Third-party plugins break on framework upgrades. Core-maintained integrations are always tested against the current version.
- No security surprises. Every integration that runs on your site has been reviewed by the core team.
- AI fills the gap. For custom logic — custom analytics events, content transformations, layout changes — use Claude Code. Claude Code can read your codebase and implement exactly what you need without going through a plugin layer.
If you need to connect Baan to a service that isn’t in the integrations list, the cleanest approach is to implement it directly with Claude Code or open a discussion to suggest adding it as an official integration.