> For the complete documentation index, see [llms.txt](https://docs.codpeller.com/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codpeller.com/en/social-proof/product-guide/real-time-stats-messages/product-view-counter/how-many-people-viewed-this-product-over-time.md).

# How Many People Viewed This Product Over Time

### 🔁 **Random Mode**

If random mode is enabled, the message will show a **made-up number of views** — between **X and Y** — for the selected time period (see Fig. 16).

**For example:** *“65 people viewed this product in the last 7 days.”*

<figure><img src="/files/2B0Ljod6srjR38CBYrgR" alt=""><figcaption><p>Fig. 16</p></figcaption></figure>

### 📊 **Real Data Mode**

If you enable real store data, the message will show the **actual number of views** from your store.

You can choose a time period:

* Today
* Last 7 days
* Last 30 days
* All time (see Fig. 17)

<figure><img src="/files/jTSlNhSWBCFyqlbJMxDi" alt=""><figcaption><p>Fig. 17</p></figcaption></figure>

### **⏱️ Display Frequency**

You can still set how often this message appears on the product page — from **0 to 100**:

* **100** = always visible
* **0** = hidden

#### **🎨 Message Appearance**

You can fully customize the look of this message — including text, colors, icons, and more.

{% content-ref url="/pages/QGYEfLlp3NezcLLc3EX6" %}
[Message Appearance](/en/social-proof/product-guide/real-time-stats-messages/message-appearance.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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/how-many-people-viewed-this-product-over-time.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.
