Skip to main content

Google Analytics Integration - Track Your Traffic

5 min read Beginner For Owner, Manager Updated about 2 months ago
Quick Answer
To set up Google Analytics, go to Account → Account Info → Integrations > Google Analytics and enter your GA4 Measurement ID (starts with G-). Tracking starts immediately on your booking site.

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

  1. Log into Google Analytics
  2. Go to Admin (gear icon)
  3. In the Property column, click Data Streams
  4. Click your web stream (or create one)
  5. Copy the Measurement ID (starts with G-)

Step 2: Connect to RecSystems

  1. In RecSystems, go to Account → Account Info → Integrations
  2. Click Configure next to Google Analytics
  3. Paste your Measurement ID
  4. Click Save

Step 3: Verify Tracking

  1. Visit your booking site
  2. In Google Analytics, go to ReportsRealtime
  3. You should see your visit appear
  4. 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

  1. Go to AdminEvents
  2. Find the purchase event
  3. Toggle Mark as conversion ON
  4. 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:

  • ReportsAcquisitionTraffic acquisition
  • Shows sources: organic, paid, direct, referral

Conversion Analysis

Track booking performance:

  • ReportsEngagementConversions
  • See conversion rate by source

Ecommerce Reports

Revenue and transaction data:

  • ReportsMonetizationEcommerce purchases
  • Revenue by item, transaction details

User Flow

How customers navigate:

  • ExplorePath 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.

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 ReportsRealtimeEvents
  • Look for purchase event
  • Ensure the booking completed fully (payment processed)

Advanced Setup

Google Tag Manager

If you prefer using Google Tag Manager:

  1. Don't enter Measurement ID in RecSystems
  2. Add GTM container to your site via custom code
  3. Configure GA4 tag in GTM
  4. 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)

Frequently Asked Questions

Where do I find my GA4 Measurement ID?
In Google Analytics, go to Admin > Data Streams > select your stream > you'll see the Measurement ID starting with 'G-' (e.g., G-ABC123DEF).
Is customer data shared with Google?
RecSystems enables anonymous IP and disables ad personalization by default. No personal customer data is shared beyond standard analytics cookies.
Can I track bookings as conversions?
Yes, RecSystems sends 'purchase' events to GA4 when bookings complete. You can set up conversion tracking in Google Analytics for these events.