# Product View Counter

<div align="left"><figure><img src="/files/8IPlA4DsE9Dcr9F7VSfn" alt=""><figcaption><p>Рис. 9</p></figcaption></figure></div>

### There are 2 types of messages you can turn o&#x6E;**:**

* 👀 How many people are viewing the product right now
* 📅 How many people viewed the product during the last X days

You can turn each message **on or off** in the message settings (see Fig. 10).

<div align="left"><figure><img src="/files/GcByCeUVRUVnSn101vYK" alt=""><figcaption><p>Рис. 10.</p></figcaption></figure></div>

If a message is turned on, it will appear right on the product page (see Fig. 11 and Fig. 12):

<figure><img src="/files/394fJmHivmvkTTRXcnFa" alt=""><figcaption><p>Fig. 11. Message: “1 people are viewing this product right now”</p></figcaption></figure>

<figure><img src="/files/IzsjDq5uPK0oOQiBEAjB" alt=""><figcaption><p>Fig. 11. Message: “3 people viewed this product in the last 24 hours”</p></figcaption></figure>

#### **🔁 Two display modes:**

Each message can work in one of two ways:

* **Random numbers** – the message shows made-up numbers between X and Y
* **Real store data** – the message shows actual numbers from your store

#### **⏱️ How often the message appears:**

You can control how often each message is shown on the product page:

* **100** = always shown
* **0** = never shown

Set the number from **0 to 100** depending on how often you want it to appear (see Fig. 13)

<figure><img src="/files/sYkxoTsPAlVhbf1RFWbE" alt=""><figcaption><p>Fig. 13.</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.codpeller.com/en/social-proof/product-guide/real-time-stats-messages/product-view-counter.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
