Getting started

Visitor statistics: who visits your website and sees your reviews

The Mocha widget on your website can do more than show reviews: it can also count how many people open the page, where they come from and how often they see your reviews. Without cookies and without stored IP addresses.

TL;DR in 5 steps

  1. Switch visitor statistics on in the project settings; they are off by default.
  2. Under Analytics, Website you see visitors, duration, bounce rate, entry and exit pages and sources by channel, per page on a click.
  3. Only pages with the Mocha widget are counted.
  4. Add the paragraph from the settings to your privacy policy.
  5. Available from the Reviews plan (30 days of history), with 12 months in Marketing and Marketing Plus.

Switch it on

Open your project in the dashboard and go to "Settings". In the "Visitor statistics" section, switch on "Count website visitors". This applies to every page where this project's widget is embedded; you do not need to change the code on your website.

On the Free plan you see the switch with a hint to the plans. Visitor statistics are available from the Reviews plan.

What is counted

With every view of a page with the widget, the widget reports:

  • the address of the page, without the parameters after the question mark,
  • the domain of the page the visitor came from, for example google.com,
  • "utm_source" and "utm_medium" if the link contains them, for example from your newsletter (no other parameters),
  • the size class of the screen: smartphone, tablet or computer.

When the visitor leaves the page or switches to another tab, the widget reports once per page how many seconds it was visible. Mocha also counts how often your reviews were shown and clicked in the widget.

So that each visitor is counted only once a day, Mocha forms a hash from the IP address, the browser's identifier, the project and a random value that changes every day. Before that, Mocha determines the country from the IP address with a database on its own server. The IP address is then discarded, the random value deleted shortly after the day ends. On the next day the same person is a new visitor.

Page views of the same visitor with pauses of 30 minutes at most form one visit. Mocha adds a visit to the daily figures once nothing has come from it for 30 minutes; individual page views are deleted after 24 hours at the latest.

Reading the report

Under "Analytics" and then "Website", choose the project and the period. At the top are six figures with the change against the period before:

  • Page views and visitors (each person at most once a day),
  • Avg. duration: how long the pages of a visit were visible on average,
  • Bounce rate: the share of visits with a single page; its change is shown in percentage points,
  • how often reviews were seen and how often someone clicked into the widget.

Below follow page views and visitors per day and three tables side by side: the most visited pages, the entry pages (the first page of a visit, with the most frequent next page and its share) and the exit pages (the last page of a visit). Then the sources, the countries and the devices.

Sources shows visits by channel: search (for example Google, Bing, DuckDuckGo, Ecosia, Yahoo), social media (for example Instagram, Facebook, LinkedIn, TikTok, YouTube, Pinterest, X, Threads), newsletter (links with "utm_medium=email" or from your Mocha newsletter), direct (no source) and other websites. Click a channel to see its domains.

Filter by page: click a page in one of the three page tables. Figures, chart and sources then only show visits with this page; at the top it says "Page: …" with an X to remove it. Countries and devices stay for all pages.

An example: a painting company has the widget on its home page and on its "References" page. In the "Top pages" table it sees that the references get fewer views, but the reviews there are clicked more often. So it links the page more prominently from the home page.

A visit appears in the report once it has been quiet for 30 minutes, within an hour after that, because Mocha combines visits every hour.

Add to your privacy policy

When you switch visitor statistics on, Mocha processes your visitors' data on your behalf. In the project settings, below the switch, you find a paragraph in German and in English that you copy into your privacy policy. It describes exactly what Mocha collects. Have it checked if in doubt; Mocha does not give legal advice.

History per plan

  • Reviews: the last 30 days (comparison with the period before for 7 days).
  • Marketing and Marketing Plus: the last 12 months, every period with a comparison.

The exact limits are on the pricing page.

Frequently asked questions

Do I need a cookie banner for this?

Mocha sets no cookies and stores nothing in your visitors' browsers. Whether your website as a whole needs a consent banner depends on everything you use there. Mocha cannot answer that for you; this is not legal advice.

Why do I see fewer visits than in other statistics?

Mocha does not count when "Do Not Track" or "Global Privacy Control" is switched on in the browser, and it does not count search engines and other programs. It also only counts pages with the widget. Other tools count differently, so the numbers differ.

Why do some countries say "Unknown"?

Mocha determines the country from the IP address with a country database on its own server. Addresses the database does not know, and requests without an address, are listed as "Unknown".

How is the duration of a visit measured?

When a visitor leaves a page or switches to another tab, the widget reports once how many seconds the page was visible. The duration of a visit is the sum of these times. If someone closes the browser in a way that no report arrives, the time of that page is missing.

What happens when I switch the statistics off?

From then on the widget only reports its own views and clicks. The daily figures so far stay in the report until their history runs out.

Ready for your first reviews?

Start for free, no credit card needed. Your form is ready in minutes.

Sign up for free