Embed a tasbeeh counter on your website
Do you run a website for a mosque, a madrasa, a study circle or an Islamic blog? You can put this digital tasbeeh counter (also spelt tasbih) on your page for free, with no sign-up. Visitors can count their dhikr right on your page: tap the ring to count, there is a button to take one away, and the count is saved on their own phone.
Make your counter code
How to add it in 4 steps
- Choose the dhikr, target, language, colours and height above. The preview changes at once, and you can try it.
- Press Copy code. If the button does not work, the code is already selected: press Ctrl+C, or long-press and choose Copy on a phone.
- Paste the code into your page (the steps for each platform are below).
- Save, then open your page on a phone. Tap a few times to check that the counter works.
WordPress
- Open the page or post and click + to add a block.
- Search for the Custom HTML block and choose it.
- Paste the code, then click Preview on that block to see the result.
- Click Update or Publish.
Want it in the sidebar? Go to Appearance → Widgets, add a Custom HTML block and paste the same code. Note: on the free WordPress.com plan, iframe code from other sites is sometimes removed automatically. A self-hosted WordPress site usually accepts it without trouble.
Blogger
- Inside a post: open the editor, click the pencil icon at the top left and choose HTML view. Paste the code where you want it, switch back to Compose view and publish.
- Next to every page: go to Layout, click Add a Gadget in the sidebar, choose HTML/JavaScript, paste the code and save.
Google Sites
- In the panel on the right, choose Insert → Embed.
- Open the Embed code tab, paste the code, then click Next and Insert.
- Drag the corner of the box until the whole counter shows, then click Publish.
Other website builders (Wix, Squarespace, a hand-made site or a school CMS) usually have an “HTML”, “Embed” or “Code” box. Paste the code there in the same way.
Choosing the size
- Small (380 pixels): good for a sidebar or under a short article.
- Medium (440 pixels): the default, comfortable on phones and laptops.
- Large (520 pixels): for a page made for dhikr, such as “Dhikr after salah” on a mosque website.
The counter takes the width of your column, up to 400 pixels, so it stays tidy on a 360-pixel phone screen. If the bottom is cut off, pick a taller size and copy the code again.
Dark or light?
Dark (night indigo) stands out on a white page and is easy on the eyes after Isha or at night prayer. Light (white) blends into websites with a white or light grey background. The colour is set once in the code; the counter does not switch by itself when a visitor’s phone is in dark mode.
Who it is for
- Mosque websites: place it next to the prayer times or announcements, so worshippers can count the dhikr after salah (also written salat or prayer) neatly.
- Madrasas and Quran schools: help students build a daily habit, for example istighfar 100 times or salawat 100 times.
- Study circles: add it to the page for your weekly class, so everyone can join the dhikr from their own phone.
- Islamic blogs and magazines: put it under an article about morning and evening adhkar, the virtues of istighfar or Tasbih Fatimah, so readers can practise straight away.
Good to know
- Privacy: the counter uses no cookies, no ads and no visit statistics. Counts stay in the visitor's browser and are never sent to any server. This is about the embedded counter; for the main site, see our privacy policy.
- Light: one small page with no outside fonts, so it does not slow your website down. The code uses
loading="lazy", so the counter only loads when a visitor scrolls to it. - Small link: under the counter there is a "Tasbih" link to our site that opens in a new tab. Please keep the text link under the code; it helps other people find the counter.
Want the full counter with targets, daily history and complete Arabic readings? Open the online tasbeeh counter or the dhikr after salah page.
Frequently asked questions
Is the embedded counter free?
Yes, it is free for mosque, madrasa, study circle, school and personal blog websites. You do not need to sign up or ask for permission.
Does the counter collect data about my visitors?
No. There are no cookies, ads or statistics. Counts are saved in the visitor's own browser and can only be seen on that device.
Why is the count on my website different from the count on your site?
The embedded counter keeps its own count, separate from the counter on our site. Browsers also keep it separately for every website it is placed on.
Can I change the dhikr or the target later?
Yes. Make a new code on this page with the options you want, then replace the old code on your website.
The counter does not show on WordPress. Why?
Check that the code is in a Custom HTML block, not a Paragraph block. On the free WordPress.com plan, iframes from other sites may be removed; try a self-hosted WordPress site or Blogger.
Can I put two counters on one page?
Yes, for example one for istighfar and one for salawat. Each dhikr keeps its own count.
Updated: