Website Sales Urgency & Social Proof
by Modvanta https://modvantaapps.tech/odoo-apps/live-visitors/$ 9.97

Show shoppers how many people are looking at a product right now
A live visitor counter and three more social proof lines on every product page - viewing now, viewed recently, in other baskets and sold recently - all counted from real data, and hidden when the number is too small to show.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
A shopper on a product page cannot see that other people are looking at the same item, putting it in their basket or buying it. That is the social proof a busy shop has and a plain product page hides.
This module adds up to four lines above the Add to Cart button: how many other visitors have the page open right now, how many people viewed the product in the last hours, how many open baskets hold it, and how many units were sold through the website in the last days. On the shop grid, product cards can show the live viewer count too.
Every number is real. Live viewers come from a heartbeat sent by open product pages, the other three are read from data Odoo already keeps (page tracking, draft carts and confirmed orders). Each line has a minimum: below it the line disappears instead of being rounded up, and the visitor reading the page is never counted in their own figure.
Who it is for
Online shops on Odoo eCommerce Shops that want the 'X people are viewing this' urgency signal without inventing numbers. | Stores with popular products Products that are in several baskets or sell every week get a visible, honest proof of demand. | Teams watching live traffic A Live Viewers report in the Website app shows which product pages are open right now. |
Key features
All screenshots were taken on Odoo 19 with this module installed on a clean demo database (company Northwind Trading Co, Odoo demo products) and the default website theme.
Feature 1
Four live counters on the product page
Above the Add to Cart button the product page shows who else is looking at the product, how many people viewed it recently, how many other baskets hold it and how many were sold recently.
'5 people are viewing this right now' - visitors with the page open, from a heartbeat
'15 people viewed this in the last 24 hours' - distinct visitors from Odoo's own page tracking
'In 4 other baskets right now' and '7 sold in the last 7 days' - from draft carts and confirmed website orders

Feature 2
Live viewer count on the shop grid
Switch on Counters on the Shop Grid and product cards show the live viewer count under the product name. One request serves the whole page of products, not one per card.
Cards below the minimum show nothing at all
Only the viewer count is shown on cards, to keep the grid clean

Feature 3
One settings block for every counter
Website -> Configuration -> Settings has a Live Counters block. Each counter has its own switch, its own time window and its own Hide below minimum.
Live window in minutes and heartbeat interval in seconds
Views window in hours, carts window in hours, sales window in days
A minimum per counter - below it the line is hidden, never raised

Feature 4
Live Viewers report
Website -> Reporting -> Live Viewers lists the open product pages, grouped by product, with the time each visitor was last seen and the contact when the visitor is known.
Filters for the last 5 minutes and for identified visitors
Group by product or by country
Rows older than a day are removed automatically by a scheduled action

Feature 5
Turn the counters off for one product
The product form has a No Live Counters switch in the eCommerce shop section of the Sales tab. A product with the switch on never shows a counter, on its page or on the grid.

Feature 6
Works on mobile
On a phone the counters sit under the price, above the quantity and Add to Cart button, with the same wording as on the desktop page.

How it works, step by step
| 1 | Install the module It depends only on Odoo eCommerce. Nothing to configure in the theme. |
| 2 | Switch on the counters you want Website -> Configuration -> Settings -> Live Counters. All counters are off until you switch them on. |
| 3 | Set the windows and minimums Choose how long counts as 'now', how far back views, carts and sales are counted, and the minimum each line needs before it appears. |
| 4 | Watch it on the shop Open a product page: the counters are fetched when the page is shown and the viewer count refreshes at the heartbeat interval while the page stays open. |
Settings
All settings are per website, in Website -> Configuration -> Settings -> Live Counters.
| Viewers Right Now | Show how many other visitors have the product page open. Counted as 'now' for 5 minutes, heartbeat every 60 seconds, hidden below 2 viewers by default. |
| Recently Viewed | Distinct visitors who viewed the product, read from Odoo's page tracking. 24 hours and a minimum of 10 views by default. |
| In Other Baskets | Open carts holding the product, touched within 6 hours, hidden below 2 carts by default. |
| Recently Sold | Units sold through this website over the last 7 days, hidden below 3 units by default. |
| Counters on the Shop Grid | Also show the viewer count on product cards in the shop listing. |
| No Live Counters (product) | Per product switch on the product form that hides every counter for that product. |
Frequently asked questions
Are the numbers real?
Yes. Viewers come from heartbeats of open product pages, views from Odoo's page tracking, baskets from draft website orders and sales from confirmed website orders. There is no multiplier and no minimum that turns one viewer into three: below the minimum the line is hidden.
Is the visitor counted in their own number?
No. The visitor reading the page is excluded from the viewer count they are shown.
Does it work with a page cache or a CDN?
Yes. The counters are never written into the page HTML. The browser asks for them when the page is shown, so a cached page never shows an old number.
Are search engine crawlers counted?
No. Requests from bots get no counts and send no heartbeat, and a browser tab in the background stops sending heartbeats.
What does it store?
One row per visitor per product with the visitor, product, website and last seen time. Rows older than a day are removed by a scheduled action.
Compatibility
Odoo 19 Community and Enterprise | Depends on eCommerce (website_sale) | Tested 23 automated tests |
Let shoppers see the demand that is already there
Questions before you buy, help with setup, or a change for your own workflow - write to us and a developer answers.
SUPPORT | AUTHOR Modvanta | INCLUDED Module, setup help by email |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Website (website) • Discuss (mail) • Invoicing (account) |
| Lines of code | 721 |
| Technical Name |
mdv_live_visitors |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/live-visitors/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module