Google Analytics Integration - Track Your Traffic
Google Analytics Integration
Track visitor behavior on your booking site with Google Analytics 4 (GA4). Understand where customers come from, how they browse, and what drives bookings.
What You'll Need
Before starting, make sure you have:
- Google Analytics 4 property — Create one at analytics.google.com
- GA4 Measurement ID — Starts with G- (e.g., G-ABC123DEF)
Setup Steps
Step 1: Get Your Measurement ID
- Log into Google Analytics
- Go to Admin (gear icon)
- In the Property column, click Data Streams
- Click your web stream (or create one)
- Copy the Measurement ID (starts with G-)
Step 2: Connect to RecSystems
- In RecSystems, go to Account → Account Info → Integrations
- Click Configure next to Google Analytics
- Paste your Measurement ID
- Click Save
Step 3: Verify Tracking
- Visit your booking site
- In Google Analytics, go to Reports → Realtime
- You should see your visit appear
- Tracking is working!
What Gets Tracked
Automatic Tracking
RecSystems automatically sends these events to GA4:
| Event | When It Fires |
|---|---|
page_view |
Every page load |
view_item |
Customer views a unit |
add_to_cart |
Item added to cart |
begin_checkout |
Customer starts checkout |
purchase |
Booking completed |
Ecommerce Data
Purchase events include:
| Data | Description |
|---|---|
transaction_id |
Cart/booking ID |
value |
Total amount |
currency |
Payment currency |
items |
What was booked |
User Properties
When customers are logged in:
- User ID is set (database ID, not personal info)
- Enables cross-device tracking in GA4
Setting Up Conversions
In Google Analytics
- Go to Admin → Events
- Find the
purchaseevent - Toggle Mark as conversion ON
- Purchase events now count as conversions
Tracking Marketing Campaigns
Use UTM parameters in your marketing links:
https://yourdomain.com/book?utm_source=facebook&utm_medium=cpc&utm_campaign=summer
| Parameter | Purpose |
|---|---|
utm_source |
Where traffic came from (facebook, google, newsletter) |
utm_medium |
Marketing medium (cpc, email, social) |
utm_campaign |
Campaign name (summer, holiday, promo) |
GA4 automatically picks up these parameters.
Useful GA4 Reports
Traffic Acquisition
See where visitors come from:
- Reports → Acquisition → Traffic acquisition
- Shows sources: organic, paid, direct, referral
Conversion Analysis
Track booking performance:
- Reports → Engagement → Conversions
- See conversion rate by source
Ecommerce Reports
Revenue and transaction data:
- Reports → Monetization → Ecommerce purchases
- Revenue by item, transaction details
User Flow
How customers navigate:
- Explore → Path exploration
- See common paths to booking
Privacy Settings
Privacy Settings
RecSystems handles privacy in these ways:
| Setting | Status | Notes |
|---|---|---|
| Backend Analytics | DNT respected | Server-side tracking checks Do Not Track headers |
| IP Handling | Standard GA4 | GA4 anonymizes IP addresses by default |
Do Not Track
RecSystems backend analytics respects browser Do Not Track (DNT) settings:
- Server-side analytics checks DNT headers
- When DNT is enabled, backend tracking is disabled
Note: The GA4 script itself loads as standard Google Analytics. For complete DNT compliance, you may want to implement a cookie consent solution.
Cookie Consent
If you need cookie consent banners for GDPR compliance:
- Add your own consent management solution
- GA4 tracking will respect consent state
Troubleshooting
Not Seeing Data
Check:
- Measurement ID is correct (G-XXXXXXXXXX format)
- You're looking at the right GA4 property
- Wait 24-48 hours for historical reports (realtime should be instant)
- Ad blockers may prevent tracking
Realtime Shows Nothing
Check:
- Visit your booking site in a different browser
- Disable ad blockers temporarily
- Verify the Measurement ID matches
Purchase Events Missing
Check:
- Complete a test booking
- Check Reports → Realtime → Events
- Look for
purchaseevent - Ensure the booking completed fully (payment processed)
Advanced Setup
Google Tag Manager
If you prefer using Google Tag Manager:
- Don't enter Measurement ID in RecSystems
- Add GTM container to your site via custom code
- Configure GA4 tag in GTM
- More control over what's tracked
Custom Events
RecSystems sends standard events. For custom events:
- Use Google Tag Manager
- Or contact support for custom tracking needs
Multiple Properties
You can only set one Measurement ID in RecSystems. For multiple GA4 properties:
- Use Google Tag Manager with multiple GA4 tags
- Or send data to one property and create filtered views
Settings Reference
| Setting | Description |
|---|---|
| Measurement ID | Your GA4 Measurement ID (G-XXXXXXXXXX) |
Related Articles
Frequently Asked Questions
Where do I find my GA4 Measurement ID?
Is customer data shared with Google?
Can I track bookings as conversions?
Was this article helpful?