Meta Pixel and Google Analytics#

Do you advertise your venue on Instagram or Facebook and want to know whether the ads bring guests? Or show ads to exactly the people who already opened your menu? Connect your own Meta Pixel and your own Google Analytics 4 to the menu.

  • Meta Pixel – Facebook and Instagram ads for people who opened your menu, and orders from ads in your Meta reports.
  • Google Analytics 4 – your own Google Analytics shows how many guests open the menu, what they search for and what they order.

You do not need a developer and you do not paste code anywhere. You only copy an ID, and the menu sends the right events by itself: dish views, searches, the cart and orders with the amount.

Where: Settings › Connections › Analytics and ads. The page has three rows: Google Analytics 4, Meta Pixel and TikTok Pixel marked Soon.

Available on Pro and Business. On Start the rows are visible with the lock Available on Pro. The Tagged links for ads card on the same page works on every plan, with no pixel and no cookies: see See ad results without a pixel.

Step 1. Find your ID#

Pixel ID in Meta#

  1. Open Meta Events Manager: business.facebook.com/events_manager.
  2. On the left, choose Data sources and click your pixel.
  3. Copy the number under the pixel's name. That is the Pixel ID: 15–16 digits, for example 104822653917482.

No pixel yet? In the same Events Manager click Connect data sources → Web, give the pixel a name (for example your venue's name) and create it. When Meta offers to install code on a website, you can simply close that window: you do not need the code, the menu does that part. Meta sometimes calls new pixels a "dataset"; the ID works the same.

Measurement ID in Google Analytics#

  1. Open Google Analytics → Admin (the gear at the bottom left).
  2. Open Data streams and choose your web stream.
  3. Copy the Measurement ID at the top right. It starts with G-, for example G-7QK2M4XH1R.

No data stream? Create a property in Google Analytics and a web stream inside it. Use stravopys.com as the website address.

Pasted the whole code? No problem#

If you copied the whole pixel or Google Analytics code instead of just the ID, paste it as it is. We find the ID and keep only the ID. Under the field you see: You pasted the whole code. We found the ID … in it and will keep only the ID.

Some IDs look similar but do not work here. The page tells you what you pasted:

What you pastedWhat it isWhat to do
UA-…the old Universal Analytics, which Google switched offtake the GA4 ID that starts with G-
GTM-…a Google Tag Manager containeryou need the GA4 ID (G-…): Admin → Data streams
AW-…a Google Ads IDyou need the GA4 ID (G-…)

Step 2. Connect and check#

  1. Open Settings › Connections › Analytics and ads.
  2. Tap Meta Pixel or Google Analytics 4, then Connect.
  3. Paste the ID into the Pixel ID or Measurement ID field. If it is right, you see Looks like a valid ID (15–16 digits) or Looks like a valid ID (G-…) under the field.
  4. Tap Check in the menu. Your menu opens in a new tab in test mode.
  5. In the menu, tap Allow all. The menu sends one test event: a dish view, ViewContent for Meta and view_item for Google (in debug mode).
  6. Go back to the admin. You see, for example, Test event sent at 14:32.
  7. Tick Understood, I agree (step 3 on the page, explained below) and tap Connect.

You tick the box once per service. You cannot connect without it.

Seeing the test event in Meta#

The message in the admin means your menu sent the event. To see it in Meta itself:

  1. In Meta Events Manager, open your pixel and the Test events tab.
  2. In the box for testing browser events, enter your menu link and click Open website.
  3. In the menu that opens, tap Allow all and open any dish.
  4. ViewContent appears in Test events within a minute or two.

Meta shows regular guest events in the pixel overview with a delay, so if it is empty at first, give it time.

Seeing the test event in Google Analytics#

Open Admin → DebugView. The view_item test event appears there within seconds or a minute. Regular guest visits show in the Realtime report.

What the status on the page means#

StatusWhat it means
Connected · waiting for the first event from the menuthe ID is saved, but no guest has allowed cookies yet. Wait or check it yourself
Test event sent at 14:32 · waiting for gueststhe check worked, now we wait for real guests
Working · event 3 min agowhen our menu last sent an event to your pixel or Google Analytics
Available on Proyou are on Start, the feature is locked

We cannot sign in to your Meta or Google account. So "Working" means the menu sent the event. Whether Meta and Google received it, you check in Test events and DebugView.

What guests see#

When at least one service is connected, guests of your menu see a short cookie question at the bottom:

  • With Meta Pixel connected: Cookies, statistics and ads with two equal buttons No, thanks and Allow all, and Settings below them. Settings has two switches: Statistics (Google Analytics) and Ads from … (Meta Pixel).
  • With only Google Analytics connected: Cookies and analytics with No, thanks and Allow analytics.

Good to know:

  • Nothing loads without consent, and the menu works exactly the same: the guest still browses dishes and orders.
  • The choice is remembered for about 6 months. Guests can change it at any time with Cookie settings at the bottom of the menu.
  • Advertising consent is for your venue only. If a guest allowed ads in another venue's menu, we ask again in yours.
  • If the guest's browser sends "Do Not Track" or a similar privacy signal, the pixels do not load at all.
  • With no service connected, there is no cookie question at all.

You do not need your own cookie banner: the menu asks by itself.

Which events the menu sends#

The events are the same for Google and Meta. They use the standard names, so reports, audiences and ad optimisation work straight away with nothing to set up. You find the list in the Events row on the Analytics and ads page.

Guest actionMetaGoogleDefault
Menu, category and dish viewsViewContentview_item, view_item_liston
Menu searchSearchsearchon
Dish added to the cartAddToCartadd_to_carton
Checkout startedInitiateCheckoutbegin_checkouton
Order placed (amount, currency)Purchasepurchaseon
Waiter or bill calledLeadgenerate_leadoff
  • The order event is sent when the guest places an order in the menu, with the amount and currency. If you do not take orders through the menu, there are no cart and order events, while views and searches still work.
  • You can switch any event off. Turn on Waiter or bill called if you want to count calls as a result of your ads.

What we never send#

Names, phone numbers, e-mails, delivery addresses, order comments and table numbers. Meta's advanced matching is off. There is no server-side sending (Conversions API) yet: everything goes only from the guest's browser and only after consent.

Who is responsible for what (GDPR in plain words)#

In step 3 you tick Understood, I agree. This is what it means:

  • You are the data controller. Guest data in your Meta and your Google Analytics belongs to your venue. You decide what you need it for, how long to keep it and whom to show ads to.
  • Stravopys is the processor. We only show the menu and pass the events on your behalf, under the Data Processing Agreement in our Terms.
  • Tell your guests. In your privacy notice (on your website or on an info page of the menu), say in plain words that, with the guest's permission, the menu uses Google Analytics and Meta Pixel, what for (statistics and ads), and that they can change their choice with Cookie settings at the bottom of the menu.
  • Your ads are your responsibility. Ad texts, audiences and your settings in Meta and Google (for example how long data is kept) are yours to manage under those services' rules.

We record who agreed and when: the service page shows Terms accepted on … with the date. More about guest data: Privacy, guest data and deleting your account.

Plan#

Meta Pixel and Google Analytics are available on Pro and Business. New venues get a 14-day Business trial, so you can connect and check straight away. On Start the feature is visible with the lock Available on Pro.

If your older plan already included Google Analytics, you keep it. If your plan changes to Start, the menu stops loading your pixels and the IDs are kept: after you move to Pro, everything works again.

Tagged links work on every plan: See ad results without a pixel.

Frequently asked questions#

Why do Google or Meta show fewer visits than Stravopys statistics? Google and Meta only see guests who tapped Allow. Some guests say no, and some use ad blockers. Stravopys statistics count everyone without cookies and without names, so their numbers are always higher. That is normal.

The pixel does not work, there are no events. What should I check?

  1. The ID: 15–16 digits for Meta, starts with G- for Google.
  2. Your Pro or Business plan is active and the service is connected (you tapped Connect).
  3. You tapped Allow all in your own menu.
  4. The browser: Brave, "Do Not Track" and ad blockers stop pixels. Test in Chrome or Safari without blockers.
  5. Wait: Meta shows regular events with a delay. For a quick check, use Test events and DebugView.

The status says "Connected · waiting for the first event from the menu" for a long time. No guest has allowed cookies yet, or the menu has had few visits. Tap Check in the menu to make sure everything works.

Can I connect Google Tag Manager or Google Ads? No, only Google Analytics 4 (G-…) and Meta Pixel. You can link Google Ads to Google Analytics inside Google Analytics itself.

What about TikTok? TikTok Pixel is marked Soon. It is not available yet.

I have several venues. Each venue connects on its own. You can paste the same ID into several venues or use separate ones to see the venues separately. Guests give advertising consent to each venue separately.

How do I disconnect? Open the service on the Analytics and ads page and tap Disconnect. The menu stops loading it straight away. When no service is connected, guests no longer see the cookie question.

Do I have to show guests a cookie banner myself? No, the menu asks automatically. But it is up to you to mention it in your privacy notice.