Setup and tracking for GA4

Assuming you have set up a GA4 property with an ID and have a GTM:

Connect GTM to DB

  1. Insert your GTM ID in the “global settings” in the DinnerBooking backend.
  2. Activate Cookie consent on the DB booking page (check the box in the “global
    settings”).

Instruct GA4 to track on the DinnerBooking domain

  1. Go to “Admin” in your GA4.
  2. Navigate to “Data Streams” under “Data Collection” and click on your current web
    stream (your current domain).
  3. Click on “Configure tag settings” under “Google tag”.
  4. Click on “Configure your domains” under “Settings”.
  5. Add condition: Matchtype = “Contains” and Domain = “dinnerbooking.com”.
  6. Click “Save”.

Import Container file to your GTM (includes Google tag, Cookiebot consent, Event
“Booking_complete”, and variable “Quantity”).


  1. Click on “Admin” in your GTM.
  2. Click on “Import container”.
  3. Select the container file and attach the file sent by DinnerBooking support.
  4. Choose “Existing” workspace.
  5. Select “Merge” and “Rename tags”.

Place GA4 stream ID into a Variable in GTM

  1. Click on “Variables” in GTM.
  2. Choose “DinnerBooking GA4 ID” under “User-defined Variables”.
  3. Place your “GA4 ID” here.