Integrate Botuj Chatbot in WordPress
Learn how to add the Botuj chatbot to a WordPress website using a code snippet or plugin.
Add the Botuj chatbot to your WordPress site using either a plugin or directly editing your theme.
📥 Step 1: Get Your Embed Script
Copy your chatbot code from Settings → Embed:
<script
defer
src="https://cdn.botuj.pl/loader.js"
data-key="${chatbotId}"
></script>
🧩 Option 1: Using a Plugin (Recommended)
- Install the plugin Insert Headers and Footers
- Go to Settings → Insert Headers and Footers
- Paste the script into the Scripts in Footer section
- Save changes
🧩 Option 2: Edit Theme (Advanced)
- Go to Appearance → Theme File Editor
- Open
footer.php
- Paste the script before
</body>
:
<script
defer
src="https://cdn.botuj.pl/loader.js"
data-key="YOUR_CHATBOT_ID"
></script>
✅ That’s it! Your chatbot is now live on your WordPress site.