Assuming you have set up a GA4 property with an ID and have a GTM:
Connect GTM to DB
- Insert your GTM ID in the “global settings” in the DinnerBooking backend.
- Activate Cookie consent on the DB booking page (check the box in the “global
settings”).
Instruct GA4 to track on the DinnerBooking domain
- Go to “Admin” in your GA4.
- Navigate to “Data Streams” under “Data Collection” and click on your current web
stream (your current domain). - Click on “Configure tag settings” under “Google tag”.
- Click on “Configure your domains” under “Settings”.
- Add condition: Matchtype = “Contains” and Domain = “dinnerbooking.com”.
- Click “Save”.
Import Container file to your GTM (includes Google tag, Cookiebot consent, Event
“Booking_complete”, and variable “Quantity”).
- Click on “Admin” in your GTM.
- Click on “Import container”.
- Select the container file and attach the file sent by DinnerBooking support.
- Choose “Existing” workspace.
- Select “Merge” and “Rename tags”.
Place GA4 stream ID into a Variable in GTM
- Click on “Variables” in GTM.
- Choose “DinnerBooking GA4 ID” under “User-defined Variables”.
- Place your “GA4 ID” here.
