| 开发者 | nigemchugh |
|---|---|
| 更新时间 | 2026年9月19日 02:40 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
Cache-Control: no-store header so caching plugins cannot serve stale personalised HTML.[spectare_slot] shortcode for client-side slots[spectare_zone] shortcode for server-side zonesprimary: the main content area, highest priority atomsupporting: secondary content, one or more blockssecondary: lowest priority, often a FAQ or comparison[spectare_slot name="primary"]
[spectare_slot name="supporting"]
[spectare_slot name="secondary"]
You can reserve vertical space to prevent layout shift while content loads:
[spectare_slot name="primary" height="200"]
Server-side zones (Option B)
Zones are rendered by PHP before the page is sent, using your API key. Each zone renders a different kind of personalised component: hero banners at the top, body content in the middle, social proof and calls to action further down. There are four zones:
[spectare_zone zone="hero"]
[spectare_zone zone="body"]
[spectare_zone zone="proof"]
[spectare_zone zone="cta"]
Server-side zones need your API key in Settings → Spectare (find it in your Spectare admin under Settings). Any page using a zone sends Cache-Control: no-store automatically.
Requirements
A Spectare account is required. Sign up at spectare.ai. Spectare is free to start with a 14-day trial; paid plans start at $19/month. See spectare.ai/pricing for current plans and limits.
[spectare_slot] or [spectare_zone] shortcode wherever you want personalised content to appear.No. The plugin handles script injection and slot rendering. You write your content atoms in the Spectare admin and the plugin takes care of the rest.
An atom is one focused piece of content: a feature explanation, a pricing block, a FAQ, a case study. You write atoms in the Spectare admin. Spectare assembles the right combination for each visitor.
Ten is enough to see meaningful personalisation. The recommended starting set covers your core feature, your main differentiator, pricing, a common objection, a competitor comparison, a developer how-to, a customer outcome, a pricing FAQ, your data handling stance, and your integration story.
No cookies are set and no personal data is collected. Spectare reads only the HTTP referrer header, UTM parameters already present in the URL, and the text content of the current page. Nothing is stored on the visitor's device.
Use client-side slots (Option A) if you want the simplest setup and your pages are served from a cache: personalisation happens in the browser, so it is safe with any caching plugin or CDN. Use server-side zones (Option B) if you want the personalised content baked into the HTML with no flash of default content, for example on a landing page where above-the-fold speed matters. Zones need an API key and send a no-store header, so the page is not cached. You can mix both: zones for the hero, slots lower down.
Yes. Any builder that supports shortcodes (Elementor, Divi, WPBakery, Beaver Builder) can use [spectare_slot]. The Gutenberg block works natively in the block editor.
Disable auto-inject in Settings → Spectare → Auto-inject widget. Then add the script tag yourself:
<script src="https://spectare.ai/spectare.js" data-org="your-slug" async></script>
Spectare generates an llms.txt file from your published content and the plugin can serve it at your-domain.com/llms.txt. It is a curated entry point that maps your content, so an AI agent reading your site extracts accurate facts from a few fetches instead of guessing from a scraped page, and it keeps agent crawl cost down as pay-per-crawl arrives. It also documents your qualify endpoint, so an assistant helping someone can send them on to a page built for their intent. It is off by default: turn it on with the "Serve llms.txt" setting. Once on, it updates automatically as you edit content, and "Refresh llms.txt" pulls the latest immediately. Only published atoms are included, never drafts. Requires pretty permalinks (Settings → Permalinks, any option other than Plain).
The Spectare script loads asynchronously and does not block page rendering. Personalised content fills slots after the page is visible. Cached assemblies (repeat visitors with the same intent profile) are served in under 100ms.
WordPress 5.8 and above. The Gutenberg block requires the block editor introduced in WordPress 5.0, but the shortcode works in any editor version.