> 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

This message can work in two modes: Random or Real data

### 🔁 **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="https://content.gitbook.com/content/b8tXvs0XGg1dcXcoJqFy/blobs/TB5XmOxP9kMAyWEpsLsn/8.png" 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="https://content.gitbook.com/content/b8tXvs0XGg1dcXcoJqFy/blobs/lvVCsnxyJ7QSZD2eQ6AO/9.png" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
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>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
