How to Setup your Google Ad Tracking and Analytics
Complete guide to connecting your EMRG booking widget with Google Analytics and Google Ads to track conversions and optimize ad performance.
EMRG Booking Widget Tracking Setup Guide
For Clinic Brand Marketing Teams & Agencies
Our EMRG booking widget includes full event tracking and UTM support. This guide shows you how to connect your website + Google Analytics + Google Ads so you can see which ads drive real booked appointments and optimize toward conversions.
π― What You'll Accomplish
After setup you will:
- See EMRG booking funnel events in GA4
- Attribute bookings to ad campaigns, keywords, and UTMs
- Track booking_completed as a conversion
- Optimize Google Ads toward real booked patients
This unlocks performance marketing. No more guessing.
π Summary for Your Web Developer
Here is a summary you can copy and share with your web developer:
"Please embed the EMRG widget using our GA4 measurement ID and confirm all EMRG booking events fire in GA4 DebugView (booking_completed, etc.). Then import booking_completed into Google Ads as a primary conversion."
π Requirements
| Tool | Required |
|---|---|
| Google Tag Manager (recommended) | β |
| GA4 property | β |
| Google Ads account | β |
| Ability to edit your website | β |
π§© Step 1: Add EMRG Booking Widget with GA4 Measurement ID
First, you need to install the EMRG booking widget on your website with your Google Analytics Measurement ID included.
π See our guide: How to Put Your Booking Widget on Your Website
When adding the widget code, make sure to include your GA4 Measurement ID in the config:
var config = { clinicId: YOUR_CLINIC_ID, gaMeasurementId: "G-XXXXXXXXXX", // Your Google Analytics Measurement ID // ... other config options };
β Be sure your GA4 Measurement ID is included in the widget configuration. This enables event tracking for all booking actions.
π Step 2: Verify Events in GA4
In GA4:
- Admin β DebugView
- Trigger a test booking on your site. You should see events appear such as:
| Event | Meaning |
|---|---|
| widget_opened | Booking widget launched |
| booking_started | Patient began booking flow |
| booking_service_selected | Service chosen |
| booking_time_selected | Time slot chosen |
| β booking_completed | Appointment booked |
If you see these, proceed.
π Step 3: Import Booking Conversion into Google Ads
In Google Ads go to:
- Tools & Settings β Conversions β New Conversion Action β Website
- Click Scan Website
- Google will detect your GA4 events automatically.
- Select:
- Event: booking_completed
- Category: Book appointment
- Conversion value: Choose static or estimated revenue
- Counting: One
- Primary action: β On (used for bidding)
- Save.
This tells Google Ads: "Optimize toward booked appointments."
π‘ Need more help? Google provides detailed guidance on creating Google Ads conversions based on Google Analytics key events, including troubleshooting attribution settings and managing conversion data across both platforms.
π― Step 4: Make Sure UTMs Flow
Always tag your ad URLs like:
?utm_source=google&utm_medium=cpc&utm_campaign=product-or-service-offering&utm_term=appointment&utm_content=cta1
EMRG passes these through your widget events so GA4 can tie bookings to clicks.
π§ͺ Step 5: Check Tracking Works
Use Tag Assistant:
- Visit your site
- Trigger a booking
- Confirm you see booking_completed firing
- Confirm Google Ads remarketing pixel loads
You should see something like:
en=booking_completed
ep.utm_source=google
ep.utm_campaign=product-or-service-offering
When you see this β β your conversion pipeline is working.
π You're Ready to Scale
With everything connected, you can now:
- Run ads optimized to booked appointments
- Build remarketing audiences ("started booking but didn't finish")
- Track performance to ROI
Magic begins when you switch to Maximize Conversions or Target CPA bidding.
π Best Practices
| Tip | Why |
|---|---|
| Mark booking_completed as a Key Event in GA4 | Stronger signal to Google |
| Create audiences (abandoned bookings) | Advanced retargeting - Learn how to build retargeting audiences from EMRG booking events |
| Use unique UTMs per product or service offering | Better reporting |
π¦ Troubleshooting
If you don't see events in GA4
- Check iframe URL has your measurement ID
If Google Ads doesn't see the event
- Wait up to 24 hours after setup
If conversions aren't optimizing
- Ensure it's marked as Primary in Ads
β Final Checklist
| Task | Status |
|---|---|
| Widget installed with GA4 ID | β |
| Events appear in GA4 DebugView | β |
| booking_completed imported in Ads | β |
| Conversion marked as Primary | β |
| Tracking tested in Tag Assistant | β |
Support
For additional help with widget integration or troubleshooting:
- Email: support@joinemrg.com
- Contact your EMRG Success Specialist
- Check our knowledge base for additional articles
The EMRG team is here to ensure a smooth integration process for your website and tracking setup.