Run · Analytics · intermediate

Configure GA4 Conversion Goals

Analytics General intermediate Google Analytics

How to use

  1. Copy the prompt below
  2. Paste it into Google Analytics
  3. Review the output and follow up with refinements
Prompt
I need to set up Google Analytics 4 (GA4) with proper conversion tracking for my website. Help me configure events, conversions, and a useful dashboard so I can actually understand what's driving results.

Website details:
- URL: [your website URL]
- Framework: [e.g. Next.js, WordPress, Shopify, static HTML]
- Business model: [e.g. SaaS free trial, e-commerce, lead generation, content/newsletter]
- Key conversion actions:
  1. [e.g. "Free trial signup"]
  2. [e.g. "Demo request form submitted"]
  3. [e.g. "Pricing page visited"]
  4. [e.g. "Newsletter subscribed"]
- Current GA setup: [e.g. "GA4 installed but not configured", "nothing installed yet", "migrating from UA"]

Set up the following:

1. GA4 installation:
   - Give me the gtag.js snippet to add to my site
   - Show me where to place it in [my framework]
   - If using Google Tag Manager: walk me through creating a GA4 Configuration tag
   - Verify it's working: how to check real-time reports for my own visit

2. Custom event setup:
   For each of my conversion actions, create a custom event:

   Event: [conversion action 1, e.g. "sign_up"]
   - Trigger: [e.g. "user lands on /welcome page after form submission"]
   - Method: [page_view trigger on /welcome or custom JS event]
   - Parameters to include: method (google/email), source (landing page URL)
   - Give me the exact gtag('event', ...) code OR GTM tag configuration

   Event: [conversion action 2]
   - [same structure]

   Event: [conversion action 3]
   - [same structure]

   Event: [conversion action 4]
   - [same structure]

3. Mark events as conversions:
   - Walk me through: Admin > Events > toggle the conversion switch
   - Explain the difference between events and conversions in GA4
   - Show me how to verify a conversion is firing in the real-time report

4. Enhanced measurement configuration:
   - Enable: page views, scrolls, outbound clicks, site search, file downloads
   - Disable anything that adds noise for my use case
   - Set up cross-domain tracking if my app and marketing site are on different domains: [domains]

5. UTM parameter strategy:
   - Create a UTM naming convention for my campaigns
   - Build 5 example URLs for:
     - Newsletter link
     - Twitter bio link
     - Paid ad campaign
     - Partner referral
     - Product Hunt launch
   - Show me where UTM data appears in GA4 reports

6. Build a useful dashboard:
   Create a custom report with these views:
   - Traffic sources driving the most conversions (not just traffic)
   - Conversion rate by landing page
   - User journey: which pages do people visit before converting?
   - Device and location breakdown for converters only
   - Week-over-week conversion trend
   Walk me through creating each of these in Explore reports.

7. Common GA4 mistakes to avoid:
   - Events I should NOT mark as conversions (and why)
   - Why default channel grouping might misattribute my traffic
   - The data threshold issue (when GA4 hides data) and how to work around it

Give me step-by-step instructions with exact clicks in the GA4 interface. Assume I know nothing about GA4's layout.

Related prompts

Was this helpful?