My Tasbih Counter.

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

Preview (try it)

How to add it in 4 steps

  1. Choose the dhikr, target, language, colours and height above. The preview changes at once, and you can try it.
  2. 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.
  3. Paste the code into your page (the steps for each platform are below).
  4. Save, then open your page on a phone. Tap a few times to check that the counter works.

WordPress

  1. Open the page or post and click + to add a block.
  2. Search for the Custom HTML block and choose it.
  3. Paste the code, then click Preview on that block to see the result.
  4. 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

  1. 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.
  2. Next to every page: go to Layout, click Add a Gadget in the sidebar, choose HTML/JavaScript, paste the code and save.

Google Sites

  1. In the panel on the right, choose Insert → Embed.
  2. Open the Embed code tab, paste the code, then click Next and Insert.
  3. 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

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

Good to know

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: