What you get
- One-click site connection from the WordPress admin.
- Direct publishing of Keupera articles to Posts, Pages, or any custom post type.
- Automatic HTML → Gutenberg block conversion.
- Featured image and inline image sideloading.
- Yoast SEO and Rank Math metadata sync.
- Optional SEO Toolbar inside the Block Editor.
- Automatic injection of the Keupera Analytics pixel.
- Server-side AI bot tracking (catches bots that JavaScript pixels miss).
Install the plugin
1
Download the plugin
Get the latest
keupera-connector.zip from the Keupera dashboard under Settings → Integrations → WordPress.2
Upload it to WordPress
In WordPress admin go to Plugins → Add New → Upload Plugin, choose the zip, and click Install Now → Activate.
3
Open the connector settings
On activation you’re redirected to Settings → Keupera Connector automatically.
Connect your site
1
Generate a Full Access API key
In the Keupera dashboard go to Account → API Keys → Create API key and copy the
sk_live_... value.2
Paste it into the plugin
Paste the key into the Keupera API Key (Full Access) field and click Connect Site.The plugin calls
POST /api/v1/connect with { "type": "wordpress", "site_url": "<your site>", "username": "<admin>", "app_password": "..." } and stores the returned website_id locally.3
(Optional) Add a Tracking Key
Connecting automatically provisions a restricted Tracking key used only by the analytics pixel. You can also paste a manually generated tracking key under Tracking API Key (Optional).
Publishing settings
How publishing works
When Keupera publishes an article, the plugin’s REST routePOST /wp-json/keupera/v1/publish runs:
- Auth — Application Password (Basic Auth) or fallback
X-Keupera-Authorizationheader for hosts that strip the standard header. - Create post —
wp_insert_postwith the configured post type, title, content, and excerpt. - HTML → blocks — Converts headings, lists, blockquotes, code, images, tables, and figures into Gutenberg blocks so editors don’t see “Classic Block” fallbacks.
- Metadata — Applies
meta_inputand ACF fields if the ACF plugin is active. - Taxonomies — Accepts terms by ID, slug, or name; auto-creates missing terms (e.g. tags).
- SEO — Writes meta title, description, and focus keyword to Yoast or Rank Math when present.
- Images — Sideloads remote images (featured image and any
<img src>in the body) into the WordPress Media Library, rewrites URLs, and rebuilds image blocks with proper attributes.
Connector REST endpoints
The plugin registers akeupera/v1 REST namespace for Keupera to use:
All four routes require an authenticated WordPress user with
edit_posts for the requested CPT.
Troubleshooting
- “Permission denied” on publish — your host is stripping the
Authorizationheader. The plugin falls back toX-Keupera-Authorization; if that also fails, open a support ticket. - Posts published as “Classic Block” — make sure your content is under 1 MB; the block converter uses
DOMDocumentwhich is included by default in PHP but disabled in some hardened environments. - Debug log — check
wp-content/uploads/keupera-debug.logor scroll to the bottom of the connector settings page; the log viewer is rendered there if the file exists.
Resources
- Plugin source: see
keupera-wp-plugin/in the Keupera repo. - Related: Web analytics pixel · Bot tracking