How to Set Up GA4 Conversion Tracking (2026 Guide)
Google Analytics 4 is the foundation of CRO measurement. But many sites have it misconfigured—or not configured at all for conversions.
This guide walks you through proper GA4 conversion tracking setup, from basic to advanced.
GA4 Basics: Events and Conversions
GA4 is event-based. Everything users do—pageviews, clicks, scrolls, purchases—is tracked as an event.
Conversions in GA4 are simply events you’ve marked as important. Any event can become a conversion with one toggle.
Event Categories
Automatically collected events:
page_view(pageviews)session_start(new sessions)first_visit(new users)scroll(90% scroll depth)click(outbound link clicks)
Enhanced measurement events (optional, toggle in settings):
scrolloutbound_clicksite_searchvideo_start,video_progress,video_completefile_downloadform_start,form_submit
Recommended events (you implement): Google defines standard event names for common actions:
purchaseadd_to_cartbegin_checkoutsign_upgenerate_leadlogin
Custom events (you define): Anything specific to your business not covered above.
Step 1: Verify GA4 Is Installed
Before configuring conversions, confirm GA4 is working.
Check in GA4 Interface
- Go to your GA4 property
- Navigate to Reports → Realtime
- Open your website in another tab
- You should see yourself in the realtime report within seconds
Check with Tag Assistant
- Install Google Tag Assistant browser extension
- Navigate to your site
- Click the extension
- Look for your GA4 tag (G-XXXXXXXXXX)
- Green = working, Red = problem
Common Installation Issues
No data showing:
- GA4 code not installed or installed incorrectly
- Wrong measurement ID
- Code placed in wrong location
Duplicate events:
- GA4 installed multiple times (directly + via GTM)
- Check for multiple gtag installations
Step 2: Enable Enhanced Measurement
Enhanced measurement automatically tracks common events without code changes.
How to Enable
- GA4 Admin → Data Streams → Select your stream
- Click Enhanced Measurement gear icon
- Toggle on desired events:
- Page views (usually on by default)
- Scrolls
- Outbound clicks
- Site search
- Video engagement
- File downloads
- Form interactions
Recommended Settings
For most CRO purposes, enable:
- ✅ Scrolls (tracks 90% scroll depth)
- ✅ Outbound clicks (tracks exits)
- ✅ Site search (if you have search)
- ✅ Form interactions (tracks form engagement)
Step 3: Set Up E-commerce Tracking (If Applicable)
For e-commerce sites, proper purchase tracking is essential.
Shopify
Shopify has native GA4 integration:
- Go to Online Store → Preferences
- Enter your GA4 Measurement ID in the Google Analytics section
- Enhanced e-commerce events are automatically tracked
WooCommerce
Use a plugin like “GA4 for WooCommerce” or implement via Google Tag Manager:
- Install and activate the plugin
- Enter your GA4 Measurement ID
- Configure which events to track
Custom Implementation
If building custom, implement these events:
// Purchase event
gtag('event', 'purchase', {
transaction_id: 'T12345',
value: 59.99,
currency: 'USD',
items: [{
item_id: 'SKU123',
item_name: 'Product Name',
price: 59.99,
quantity: 1
}]
});
Key e-commerce events:
view_item— Product page viewadd_to_cart— Item added to cartremove_from_cart— Item removedbegin_checkout— Checkout initiatedadd_payment_info— Payment stepadd_shipping_info— Shipping steppurchase— Order completed
Step 4: Mark Events as Conversions
Now designate which events are conversions.
Method 1: In GA4 Interface
- Admin → Events
- Find your event in the list
- Toggle “Mark as conversion” to ON
- Event now appears in Admin → Conversions
Method 2: Create New Conversion
If the event doesn’t exist yet:
- Admin → Conversions
- Click “New conversion event”
- Enter the exact event name
- When that event fires, it’s automatically a conversion
Recommended Conversions by Business Type
E-commerce:
purchase(primary)begin_checkout(micro)add_to_cart(micro)
SaaS:
sign_up(primary or micro)- Custom event for paid conversion (primary)
generate_leadfor demo requests
Lead Generation:
generate_leador custom form submission (primary)form_start(micro)
Step 5: Set Up Custom Events
Many valuable actions aren’t automatically tracked. Use Google Tag Manager (GTM) for custom events.
Example: Track Button Clicks
-
In GTM, create a new Tag:
- Tag type: Google Analytics: GA4 Event
- Event name:
cta_click - Add parameters if needed (button_text, button_location)
-
Create a Trigger:
- Trigger type: Click - All Elements
- Configure to fire on specific button (CSS selector, click text, etc.)
-
Test in GTM Preview mode
-
Publish
Example: Track Scroll Depth Milestones
Enhanced measurement only tracks 90% scroll. For more granular data:
-
In GTM, enable the Scroll Depth built-in variable
-
Create a Trigger:
- Trigger type: Scroll Depth
- Vertical scroll depths: 25, 50, 75, 90
-
Create a Tag for each milestone or one tag with scroll_percentage parameter
Example: Track Time on Page
-
Create a Timer Trigger:
- Interval: 30000 (30 seconds)
- Limit: 1
- Conditions: specific page or all pages
-
Tag fires after 30 seconds, indicating engaged visitor
Step 6: Verify Your Setup
After configuration, verify everything works.
Use GA4 DebugView
- Install GA4 Debugger Chrome extension
- Enable debug mode on your site
- In GA4, go to Admin → DebugView
- Perform conversion actions
- Watch events appear in real-time with full detail
Test Conversions
For each conversion event:
- Trigger the action (submit form, complete purchase, etc.)
- Verify in DebugView that event fires
- Check parameters are correct
- Wait 24-48 hours for data to appear in standard reports
Common Verification Issues
Event fires but not marked as conversion:
- Double-check the conversion toggle is on
- Verify event name matches exactly (case-sensitive)
Duplicate events:
- Multiple tags firing for same action
- Check GTM for conflicting triggers
Missing parameters:
- Parameter names case-sensitive
- Check GTM tag configuration
Step 7: Create Conversion-Focused Reports
With tracking in place, build reports for CRO analysis.
Funnel Exploration
- Explore → Funnel exploration
- Define steps (page_view → add_to_cart → begin_checkout → purchase)
- Analyze drop-off between steps
- Segment by traffic source, device, etc.
Conversion Path Report
- Advertising → Attribution → Conversion paths
- See touchpoints leading to conversion
- Understand multi-session journeys
Landing Page Performance
- Reports → Engagement → Landing page
- Add secondary dimension: Session source/medium
- Compare conversion rates by landing page and source
Advanced: Attribution Settings
GA4 offers multiple attribution models affecting how conversions are credited.
Configure Attribution
-
Admin → Attribution settings
-
Choose reporting attribution model:
- Data-driven (recommended if enough data)
- Last click
- First click
- Linear
- Position-based
- Time decay
-
Set conversion window (how far back to look)
For CRO Purposes
Last-click attribution is often clearest for CRO since you’re optimizing the final conversion experience. But consider the full journey for strategic decisions.
Troubleshooting Common Issues
No Conversion Data
- Verify event is firing (DebugView)
- Confirm event marked as conversion
- Check event name spelling exactly
- Wait 24-48 hours for processing
Conversion Numbers Don’t Match Platform Data
- GA4 and Shopify/WooCommerce may count differently
- Check for duplicate transactions
- Verify currency settings
- Account for attribution differences
Events Show But No Parameters
- Parameter implementation incorrect
- Check data layer or gtag call
- Use DebugView to inspect full event payload
Too Many Events
- You might be tracking too granularly
- Focus on meaningful actions
- Remove noisy events that don’t inform decisions
Your GA4 Conversion Checklist
- GA4 installed and receiving data
- Enhanced measurement enabled appropriately
- E-commerce tracking configured (if applicable)
- Primary conversion events marked
- Micro conversion events tracked
- Custom events implemented for unique actions
- Setup verified via DebugView
- Funnel reports configured
- Attribution settings reviewed
Ready to Improve Your Conversions?
Get a comprehensive CRO audit with actionable insights you can implement right away.
Ready to optimize your conversions?
Get personalized, data-driven recommendations for your website.
Request Your Audit — $2,500