Atoms / Library

faqdeveloperwordpress

Does Spectare work on WordPress, Shopify, and non-React sites?

Org slug + API key

WordPress setup fields

[spectare_zone zone="hero"]

Shortcode format

WordPress is fully supported. Install the Spectare plugin, which adds the tracking script to your header automatically and unlocks the Spectare Zone block in Gutenberg. Drag the Zone block onto any page or use the [spectare_zone zone="hero"] shortcode instead. During setup, enter both your org slug and your API key in Settings so that server-side Zones can authenticate correctly. The four available zone names are hero, body, proof, and cta.

Shopify sites can use the JavaScript snippet. Add it to your theme's layout file and Spectare will qualify visitors client-side on every page load. Zones are placed using the data-spectare-target attribute on existing HTML elements, so no wrapper markup is needed.

Any non-React site that can include a script tag can use Spectare. The widget handles visitor qualification and content injection without a framework dependency. For server-rendered pages where you want personalised HTML in the initial response rather than a client-side fill, use the REST API directly and render the assembled content on the server before sending the page.

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.