Task IntentOperations
Google Analytics 4 Setup for Shopify
Step-by-step guide to properly configure Google Analytics 4 with enhanced ecommerce tracking on your Shopify store.
What This Sidekick Query Does
Step-by-step guide to properly configure Google Analytics 4 with enhanced ecommerce tracking on your Shopify store.
Prompts
Copy, adapt, and run this directly in Shopify Sidekick.
Provide a complete Google Analytics 4 (GA4) setup and configuration guide for my Shopify store with enhanced ecommerce tracking.
Store Details:
Store URL: [YOUR_STORE_URL]
Current analytics setup: [CURRENT_SETUP, e.g., none, Universal Analytics only, basic GA4]
GA4 Measurement ID: [GA4_MEASUREMENT_ID, e.g., G-XXXXXXXXXX]
Google Tag Manager container: [GTM_CONTAINER_ID, e.g., GTM-XXXXXXX or “not using GTM”]
Shopify plan: [SHOPIFY_PLAN, e.g., Basic, Shopify, Advanced, Plus]
Setup Steps Required:
GA4 Property Configuration:
Recommended property settings for ecommerce stores
Data retention settings (set to maximum 14 months)
Enable Google Signals for cross-device tracking
Configure data stream settings and enhanced measurement options
Set the correct time zone and currency to match Shopify settings
Shopify Integration Method:
If using native Shopify integration: exact steps in Online Store > Preferences
If using Google Tag Manager: provide the complete container configuration
Checkout and purchase event tracking setup specific to [SHOPIFY_PLAN]
Handling of post-purchase and thank-you page tracking
Enhanced Ecommerce Events to Configure:
view_item, view_item_list, select_item
add_to_cart, remove_from_cart, view_cart
begin_checkout, add_shipping_info, add_payment_info
purchase (with transaction_id, value, tax, shipping, items array)
refund event tracking setup
Custom Dimensions and Metrics:
Customer type (new vs returning)
Product vendor, product type, and collection
Discount code used, cart value tier
Recommended user properties for customer segmentation
Conversion Setup:
Mark purchase as a key event (conversion)
Set up additional conversions: add_to_cart, begin_checkout, sign_up, newsletter subscription
Configure conversion value settings for each event
Data Quality Checklist:
Internal traffic filter setup (list your office IP ranges)
Referral exclusion list (payment gateways: paypal.com, shopify.com, etc.)
Cross-domain tracking if applicable to [ADDITIONAL_DOMAINS]
Debug mode setup for validation using GA4 DebugView
Reporting Setup:
Custom explorations for ecommerce funnel analysis
Recommended audience segments to create
Linking to Google Ads, Search Console, and Merchant Center
Setting up custom channel groupings if needed
Provide the complete configuration as a numbered checklist with exact navigation paths in both Shopify admin and Google Analytics admin panels.Expected Output
Step-by-step guide to properly configure Google Analytics 4 with enhanced ecommerce tracking on your Shopify store.
Tips to Improve Results
Copy the prompt above
Open Shopify Sidekick in your Shopify admin
Paste the prompt and replace the bracketed placeholders with your details
Review Sidekick's response and apply the suggestions