চ্যাট উইজেট বসানোInstall the chat widget
এক লাইনের স্ক্রিপ্ট ট্যাগেই আপনার সাইটে উইজেট চালু হয়ে যায়।
One line of script puts the widget live on your site.
আপনার স্ক্রিপ্ট ট্যাগ নিনGet your script tag
ড্যাশবোর্ডে Sites খুলে আপনার সাইট বেছে নিন, তারপর Install অংশ থেকে কোডটি কপি করুন। এটি দেখতে এমন:
In the dashboard open Sites, select your site, then copy the code from the Install section. It looks like this:
<script async src="https://app.mjlive88.site/w.js"
data-site="pk_your_site_key"></script>
data-site-এর মানটি আপনার সাইট কি; এটি পাবলিক হলেও সমস্যা নেই, কারণ উইজেট শুধু আপনার অনুমোদিত ডোমেইনেই চলে।
The data-site value is your public site key; it is safe to expose because the widget only runs on the domains you allowed.
সাধারণ HTML সাইটPlain HTML site
প্রতিটি পেজের </body> ট্যাগের ঠিক আগে কোডটি বসান। থিম বা টেমপ্লেটের ফুটার ফাইলে একবার বসালে সব পেজেই যোগ হয়ে যায়।
Paste the code just before the </body> tag on each page. Adding it once to your theme or template footer puts it on every page.
WordPressWordPress
- একটি হেডার/ফুটার স্ক্রিপ্ট প্লাগইন (যেমন “WPCode” বা “Insert Headers and Footers”) ইনস্টল করুন।
- Install a header/footer script plugin such as “WPCode” or “Insert Headers and Footers”.
- প্লাগইনের Footer অংশে স্ক্রিপ্ট ট্যাগটি পেস্ট করে সেভ করুন।
- Paste the script tag into the plugin's Footer box and save.
- থিম এডিটর ব্যবহার করলে
footer.php-এর</body>এর আগে বসাতে পারেন (চাইল্ড থিমে করা ভালো)। - If you prefer the theme editor, add it before
</body>infooter.php(ideally in a child theme).
ShopifyShopify
- Online Store → Themes → Edit code-এ যান।
- Go to Online Store → Themes → Edit code.
layout/theme.liquidখুলুন এবং</body>ট্যাগের ঠিক আগে স্ক্রিপ্টটি বসিয়ে সেভ করুন।- Open
layout/theme.liquid, paste the script just before the</body>tag, and save.
যাচাই করুনCheck it works
সাইটটি একটি নতুন ট্যাবে খুলুন। চ্যাট বাটন না দেখলে: ডোমেইনটি সাইটের অনুমোদিত তালিকায় আছে কি না দেখুন, ক্যাশ পরিষ্কার করুন, এবং ব্রাউজারের কনসোলে কোনো এরর আছে কি না দেখুন।
Open your site in a new tab. If the chat button does not appear: confirm the domain is in the site's allowed list, clear your cache, and check the browser console for errors.
টিপ: উইজেটের রং, লোগো ও শুভেচ্ছা বার্তা ড্যাশবোর্ডের Settings → Widget থেকে নিজের ব্র্যান্ডে সাজাতে পারেন।
Tip: customise the widget's colours, logo and greeting from Settings → Widget in the dashboard.