Google Analytics 4 and Boulevard Integration
This article explains how to integrate Google Analytics 4 (GA4) with your Boulevard booking platform to track booking events and conversions. This integration allows you to monitor customer booking behavior and measure the effectiveness of your online booking system.
Prerequisites
Before you begin, ensure you have:
- Administrative access to your Google Analytics account
- Administrative access to your Boulevard dashboard
- Website editing capabilities to add tracking code
- Basic understanding of Google Analytics and Boulevard booking widgets
Important Notes
- Boulevard is compatible with GA4 (Google Analytics 4) only
- You cannot retroactively view activity - tracking begins from the day you complete the setup
- Both Google Analytics and Boulevard configurations are required for proper tracking
Part 1: Google Analytics 4 Setup
Step 1: Create a GA4 Property
- Sign in to your Google Analytics account
- Click on Admin (gear icon in the bottom left corner)
- Select Create Property
- Complete all required fields in the property setup
- When prompted for "Data Streams", select Web as the platform
- Follow the remaining setup steps to complete your GA4 property creation
Step 2: Generate Measurement Protocol API Secret
- In your newly created GA4 property, navigate to the applicable data stream
- Click on Measurement Protocol API Secrets
- Click Create in the top right corner
- Give your secret a descriptive nickname (e.g., "Boulevard Booking Tracking")
- Save the generated secret - you'll need this for Boulevard configuration
Step 3: Get Your Google Tag Code
- Go to Admin in your GA4 property
- Click on Data Streams
- Select the applicable data stream
- Scroll down to the Google Tag section
- Click View Tag Instructions
- Copy the Global Site Tag code provided
Step 4: Install Tracking Code on Your Website
- Insert the Global Site Tag code in the header of each webpage you want to track
- Important: Place this code directly above your Boulevard booking widget code
- This ensures proper tracking of booking events
Step 5: Set Up Conversion Tracking (Optional)
If you want to track "cart_completed" instead of "purchase" as your conversion event:
- In your GA4 property, click on the applicable data stream
- Navigate to Conversions
- Click New Conversion Event
- Name the event "cart_completed"
- Mark this new event as a conversion
- Note: Remember to select "cart_completed" as the conversion event in your Boulevard dashboard
Part 2: Boulevard Configuration
Step 1: Access Conversion Analytics
- Sign in to your Boulevard dashboard
- Click on the gear icon (settings)
- Navigate to Client Experience > Conversion Analytics
Step 2: Add GA4 Measurement ID
- In the Conversion Analytics section, locate the GA4 Measurement ID field
- Enter your GA4 Measurement ID (found in your Google Analytics property)
- Save the changes
Step 3: Add API Secret
- In the same Conversion Analytics section, find the Google Measurement Protocol API Secret field
- Enter the API secret you generated in Step 2 of Part 1
- Save the configuration
Step 4: Choose Conversion Event
- Select your preferred conversion event type:
- Purchase: Tracks completed bookings
- Cart_completed: Tracks when customers complete the booking process
- Choose the option that aligns with your tracking goals
Step 5: Update Website Booking Code
- Navigate to the Booking Widget code snippet section in Boulevard
- The code will automatically update with your new tracking configuration
- Copy the updated booking widget code
- Replace your existing booking widget code on your website with this new version
Verification and Testing
After completing both parts of the setup:
Immediate Steps
- Test the booking process to ensure tracking is working
- Check that the Global Site Tag is properly installed
- Verify that the Boulevard widget code has been updated
Ongoing Monitoring
- Monitor your GA4 property for booking events
- Check conversion tracking in your Analytics reports
- Review booking data in your Boulevard dashboard
Troubleshooting
Common Issues
Tracking not working:
- Verify the Global Site Tag is installed correctly
- Ensure the Boulevard widget code has been updated
- Check that the GA4 Measurement ID is entered correctly
No conversion data:
- Confirm you've selected the correct conversion event type
- Verify the API secret is properly configured
- Check that conversions are marked correctly in GA4
Data discrepancies:
- Remember that tracking only begins from setup completion
- Allow 24-48 hours for data to populate fully
- Compare Boulevard booking data with GA4 reports
Technical Requirements
- Ensure your website supports the GA4 tracking code
- Verify that the Boulevard booking widget is properly embedded
- Check that there are no conflicts with other tracking scripts
Best Practices
Data Management
- Regularly review conversion tracking performance
- Set up custom reports in GA4 for booking analytics
- Monitor booking funnel performance
Configuration Maintenance
- Keep your GA4 property and Boulevard settings synchronized
- Update tracking codes when making website changes
- Regularly audit your conversion tracking setup
Benefits of Integration
This integration provides:
- Enhanced Analytics: Track customer booking behavior and conversion paths
- Performance Insights: Measure booking widget effectiveness
- Conversion Optimization: Identify opportunities to improve booking rates
- ROI Tracking: Monitor the success of marketing campaigns driving bookings