Skip to content
Optimizly
Live

Publish to Strapi

Entries in a collection type, with cover upload and the shared SEO component.

Connects via
Strapi v4/v5 REST API with an API token
Lands as
Entries of a collection type
Tested
Against a real instance and automated API tests

What syncs

What Optimizly writes

  • All mapped fields via a configurable field map
  • Body as Markdown or HTML
  • Cover image uploaded via the Upload plugin
  • SEO through the shared.seo component
  • Draft or published

Limitations

Good to know

  • Strapi v5 Rich text (Blocks) fields are not supported; use a Markdown rich-text field.
  • Strapi v5: moving an article back to draft only updates the draft; the published version stays live (the REST API has no unpublish).

Setup

Connect Strapi

  1. In Strapi go to Settings → API Tokens → Create. Type Custom with find, create, update and delete on the collection and upload on Upload (Full access also works).
  2. Note the plural API ID of the collection (e.g. articles) and whether you run v4 or v5.
  3. In Optimizly add a Strapi target with the Strapi URL (without /api), token, collection and version.
  4. Optional: adjust the field map (logical field → your CMS field; dotted paths write into components such as seo.metaTitle, an empty value skips a field) and a URL pattern such as https://example.com/blog/{slug}.
  5. In Optimizly: Publishing → Add target → choose the platform, paste the credentials and click Test connection. Credentials are stored encrypted.

Publish your next article to Strapi.

Start a free trial, add your site as publishing target and test the connection.