Add Opskeet to WordPress, Shopify, Webflow or Next.js
Step-by-step instructions to add the Opskeet live chat script to WordPress, Shopify, Webflow and Next.js sites.
Updated
Copy your code from Settings → Install first. Then follow the steps for your platform. The chat shows as installed as soon as it loads on your site.
WordPress
With a plugin like WPCode:
- Go to Code Snippets → Header & Footer.
- Paste the code into Header.
- Save.
Classic themes can also use Appearance → Theme File Editor → header.php. Paste the code before </head>. A theme update can remove it, so a plugin is safer.
Shopify
- Go to Online Store → Themes.
- Click ⋯ → Edit code.
- Open
layout/theme.liquid. - Paste the code before
</head>and click Save.
Webflow
- Open Site settings → Custom code.
- Paste the code into Head code.
- Save and publish your site.
Custom code needs a paid Webflow site plan.
Next.js (App Router)
In app/layout.tsx, inside <body>:
import Script from "next/script"
<Script
type="module"
src="https://opskeet.com/app/widget/loader.js?id=PROJECT_ID"
strategy="afterInteractive"
/>
Page changes are picked up on their own.
Any other site
Paste the code in the <head> of every page, in the template all pages share.
Related
Did this help?
Related articles
- Create your account and first projectSign up for Opskeet with your email, add your website as a project, and finish setup in about 5 minutes. No password.
- Install the chat widget on your websiteAdd Opskeet's live chat widget to your website with one script tag, check it's installed, and fix common install problems.
- The getting started checklistWhat each step in Opskeet's Get started checklist does, how steps tick off on their own, and how to hide the checklist.
- Share a chat link without installing anythingEvery Opskeet project has a hosted chat page. Link to it from emails, apps, social profiles or anywhere the widget can't go.
- Search and do anything with ⌘KUse Opskeet's command menu to search chats, contacts and articles, jump to any setting, and act on chats in plain words.