Counter tags show a number: how many orders, products, posts, pages, or comments match the content source filters on that notification.
Use them for urgency and social proof: Join {post_counter}+ happy readers or {order_counter} orders this week.
They are different from cart tags like {cart_item_count}, which read one visitor's cart. See Cart Tags (WooCommerce).
Introduction: What Are Dynamic Tags?.
Available counter tags
| Tag | Counts | Requires |
|---|---|---|
{order_counter} | Orders matching order restrictions | WooCommerce |
{product_counter} | Products matching product restrictions | WooCommerce |
{post_counter} | Posts matching post restrictions | WordPress |
{page_counter} | Pages matching page restrictions | WordPress |
{comment_counter} | Comments matching comment restrictions | Notifal Pro |
{custom_posttype_counter_SLUG} | Items of a custom post type | Content source for that type |
Custom post type example: for a book post type, use {custom_posttype_counter_book}.
How counters respect content source
Counters do not always show site-wide totals. They honor the same rules you set under the notification Content Source tab, for example:
| Content source rule | Effect on counter |
|---|---|
| Orders from last 7 days | {order_counter} only counts those orders |
| Products on sale | {product_counter} only counts sale items |
| Posts in a category | {post_counter} only counts matching posts |
| Custom meta filters | Count shrinks to items that pass the filter |
Change content source settings and the counter updates on the frontend (cached briefly for performance).
Example uses
| Message idea | Tags |
|---|---|
| Weekly sales proof | {order_counter} orders in the last 7 days (set order date range in content source) |
| Catalog size | {product_counter} products in this collection |
| Blog engagement | {comment_counter} reviews from real customers (Pro) |
| Custom directory | {custom_posttype_counter_event} upcoming events |
Comment counter and Pro
{comment_counter} follows comment content source restrictions but requires Notifal Pro active. Comment text tags are also Pro-only. See Comment Tags (Pro).
Preview behavior
In template preview, counters may show sample numbers (for example 42 for orders) so you can check layout before real data exists.
Setup checklist
- Add counter tags to your template (Insert Tag in HTML Builder or tag panel in Elementor/Block Editor).
- Open the linked notification → Content Source.
- Set restrictions (date range, categories, status, and similar) for the entity you count.
- Save and test on the frontend.
Related tags
| Need | Use |
|---|---|
| One product name | {product_name} in WooCommerce Product and Order Tags |
| Cart quantity | {cart_item_count} in Cart Tags |
| User name | {user_first_name} in User, Post, and Page Tags |