WordPress
The Qafka WordPress plugin embeds the widget via the CDN loader — no code, no theme editing.
Install
The plugin isn’t published on the WordPress plugin directory yet — it’s distributed as a zip on request. Contact Qafka to get it, then:
- In your WordPress admin, go to Plugins → Add New → Upload Plugin and upload the zip.
- Activate the plugin.
Configure
Go to Settings → Qafka:
| Field | Description |
|---|---|
| Enable widget | Checkbox. The widget doesn’t render on your site until this is checked, even if a key is set. |
| API key | Your project’s Web (publishable) key (qafka_pk_...) — find it on your project’s onboarding screen or API Keys page. |
| Language | Auto-detect visitor language (default), or force Turkish / English for every visitor. |
Save Changes. The plugin then prints the loader script on every page’s footer:
<script async src="https://cdn.qafka.com/v1/qafka.js" data-key="qafka_pk_..." data-lang="tr"></script>data-lang is only printed when you picked a specific language — leaving Language on Auto-detect omits it, and the widget follows each visitor’s own browser language. The widget only renders when both Enable widget is checked and an API key is set.
Next steps
- Web SDK Overview — what the widget does once it’s on your site
- API Key Security — Web key restrictions
Last updated on