If you already use Google Analytics for your website, you can count online menu visits there too. The setting is in Settings > Analytics and ads > Google Analytics 4. The same screen connects a Meta Pixel too: see Meta Pixel and Google Analytics.
For most venues the built-in Statistics is enough (see QR scan statistics). Google Analytics is for owners who want the menu in one report together with their other websites.
Where to find the measurement ID#
You need a Google Analytics 4 ID. It starts with G-, for example G-AB12CD34EF.
- Sign in to Google Analytics.
- Open Admin (the gear icon) and Data streams.
- Pick a web stream (or create a new one for the menu).
- Copy the Measurement ID at the top right.
Old IDs like UA-... (Universal Analytics) do not work: Google no longer supports them.
How to connect Google Analytics#
- Open Settings > Analytics and ads and tap Google Analytics 4.
- Paste the ID into the Measurement ID field. Pasting the whole Google tag code is fine: we keep only the ID.
- Optional: tap Check in the menu, then Allow all in the menu that opens. We send one test event you can see in Google Analytics > Admin > DebugView.
- Tick Understood, I agree (your venue is the controller of the data in Google Analytics, Stravopys the processor) and tap Connect.
If you see This does not look like a Google Analytics 4 ID: it looks like G-7QK2M4XH1R., check that you copied
the ID starting with G-. Old UA-..., GTM-... and AW-... IDs get their own explanation.
To switch Google Analytics off, open the same page and tap Disconnect.
What Google Analytics counts#
When a guest opens your online menu, Google Analytics receives page views (menu home, dish pages, info pages) and the standard events you leave on under Events: dish views, search, add to cart, checkout and the order with its amount and currency.
We protect your guests' privacy:
- the guest's IP address is anonymised;
- the table code from the QR code and the order number are removed from page addresses;
- names, phone numbers, e-mails, addresses, order comments and table numbers are never sent to Google Analytics.
The first data usually shows up in the Realtime report a few minutes after the first visit.
Guest cookie consent#
Google Analytics only runs after the guest agrees. When a guest opens the menu for the first time, a short cookie question appears at the bottom with No, thanks and Allow all (or Allow analytics when only Google Analytics is connected); Settings lets the guest allow Statistics without ads.
- If the guest allows it, their visits go to your Google Analytics.
- If they decline, Google Analytics stays off for them and the menu works as usual.
- Guests can change their mind at any time with Cookie settings. After about six months we ask again.
That is why Google Analytics always shows fewer visits than our Statistics: our statistics count anonymously and need no cookies.
Which plan you need#
Your own Google Analytics is available on Pro and Business. On Start the field is locked and you see an offer to try Pro or upgrade. If the plan ends, the menu stops sending data to your Google Analytics and the ID is kept. No credits are used.
Frequently asked questions#
Why is there no data in Google Analytics? Check the ID (it must start with G-), that the service row says Connected and that a Pro or Business plan is active. Use Check in the menu and look at DebugView or the Realtime report.
Why does Google Analytics show fewer visits than Stravopys statistics? Google Analytics counts only guests who allowed analytics. Our statistics use anonymous counters without cookies.
Can I add Google Tag Manager or a Facebook Pixel? A Meta (Facebook) Pixel: yes, on the same screen, see Meta Pixel and Google Analytics. Google Tag Manager is not supported.
Do I need a separate ID for each venue? The ID is set per venue. You can paste the same one into several venues, or create separate data streams to see each venue on its own.
Do I have to show guests a cookie banner myself? No, the cookie question appears in the menu automatically. Your venue is still responsible for the data in your Google Analytics and for your own privacy policy.
How do I switch Google Analytics off? Open Settings > Analytics and ads > Google Analytics 4 and tap Disconnect.
