Atoms / Library

howtointegrationwordpressnextjsapiscript-tag

Four ways to use Spectare, matched to your setup

All plans, no code

WordPress plugin

All plans, any platform

Script tag widget

Pro+, zero-flicker delivery

Next.js SSR

The WordPress plugin works on all plans and is the fastest path for WordPress sites. Install it from your WordPress admin, add your workspace slug and API key, and place Zone blocks or Slot blocks in Gutenberg. Zone blocks render personalised content into the HTML at first paint, server-side and SEO-ready. Slot blocks fill client-side instead, which is useful when you prefer not to supply an API key or when the page is heavily cached.

The script tag path works on any site. Paste one line into your page head and every page immediately has a Spectare widget. No framework knowledge needed.

For Next.js teams, the SSR path delivers personalised HTML from the server so there is no flicker and no layout shift. Import getServerAssembly in a server component, pass a short page summary, and render the returned assembly. The REST API path gives full control to any backend or custom integration. POST to qualify with a visitor summary, receive an assembly, and render it however you like.

All four paths share the same atom library, the same analytics, and the same learning loop. Switching between paths later does not require rewriting your content.

This is one atom from the Spectare content library. Spectare assembles the right atoms for each visitor in real time, based on who they are and how they arrived.