Skip to content
Optimizly
Live

Publish to Drupal

Nodes of any content type with path alias, tags, image and Metatag fields.

Connects via
Drupal 9/10/11 JSON:API with HTTP Basic auth
Lands as
Nodes of a content type (e.g. article)
Tested
Automated API tests

What syncs

What Optimizly writes

  • Title, body and summary
  • Path alias from the slug
  • Published status
  • Tags as taxonomy terms (found or created)
  • Featured image uploaded and attached
  • SEO via a Metatag field (optional)

Limitations

Good to know

  • Pathauto can overwrite the alias if a pattern is enforced.
  • Basic auth requires HTTPS.

Setup

Connect Drupal

  1. Enable the JSON:API, HTTP Basic Authentication and Serialization modules.
  2. At /admin/config/services/jsonapi allow all create, read, update and delete operations.
  3. Create a separate user whose role may create, edit and delete the content type, create Tags terms and use the chosen text format (e.g. Full HTML).
  4. Optional: add a Metatag field (e.g. field_meta_tags) to the content type for SEO title and description.
  5. In Optimizly add a Drupal target with the site URL, username and password.
  6. In Optimizly: Publishing → Add target → choose the platform, paste the credentials and click Test connection. Credentials are stored encrypted.

Publish your next article to Drupal.

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