1. Checklist – Adding GA4 Tag to Google Tag Manager
Prerequisites:
You have a Google Analytics 4 property created.
You have access to Google Tag Manager (admin or edit permission).
Your website has the GTM container code installed.
2. Step-by-Step – Adding GA4 Tag in GTM
Step 1: Get Your GA4 Measurement ID
Go to Google Analytics
Select your GA4 property
Navigate to:
Admin > Data Streams > Click your Web stream(need active)
Make sure Stream URL: https://booking.gauvendi.com/<:hotelCode>
<:hotelCode>: Your hotel code
Copy the Measurement ID (starts with G-XXXXXXXXXX)
Step 2: Create GA4 Configuration Tag in GTM
Go to Google Tag Manager
Open your container
Click Tags > New
Click Tag Configuration
Select Google Analytics: GA4 Configuration
Paste your Measurement ID
Optional settings:
Config like below image
Step 3: Set a Trigger
Click Triggering
Config like below image:
Add Regex: ^(begin_checkout|purchase|select_item|view_item|view_item_list)$
Step 4: Save and Publish
Name your tag (e.g., GA4 - Config)
Click Save
Click Submit > Add a version name and description > Publish
3. Final Check
Check GA4 Realtime Reports to confirm hits are recorded.