AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Ga4 Lead Quality Investigation

skill-fourteenwm-ppc-ai-skills-ga4-lead-quality-investigation · by fourteenwm

Investigate Google Ads lead quality issues by cross-analyzing GA4 behavioral data with Google Ads campaign settings. Auto-invoke when user says "investigate [account] lead quality", "GA4 analysis for [campaign]", "why are [account] leads low quality", or mentions no-shows, missing phone numbers, or bot traffic. Applies 5 red-flag frameworks, hypothesis-driven cross-reference verification, and 3-t…

No reviews yet
0 installs
37 views
0.0% view→install

Install

$ agentstack add skill-fourteenwm-ppc-ai-skills-ga4-lead-quality-investigation

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-fourteenwm-ppc-ai-skills-ga4-lead-quality-investigation)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Ga4 Lead Quality Investigation? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

GA4 Lead Quality Investigation

Purpose: Investigate why a Google Ads campaign is generating low-quality leads (no-shows, missing contact info, bot traffic, geographic mismatches) by cross-analyzing GA4 behavioral data with Google Ads campaign settings and producing prioritized recommendations.

Type: Read-only investigation skill. Reads GA4 + Google Ads data and writes an analysis document; never writes to Google Ads.


Inputs

The skill expects:

  • {CUSTOMER_ID} — Google Ads customer ID (e.g., 1234567890)
  • {CAMPAIGN_NAME} — exact campaign name (e.g., Example Property - Pmax)
  • {GA4_PROPERTY} — GA4 property ID (e.g., 123456789)
  • {CONVERSION_EVENT} — GA4 event to analyze (e.g., book_tour, submit_lead_form)
  • {ISSUE_DESCRIPTION} — what the user is experiencing (e.g., "leads are no-shows", "phone numbers missing")
  • {DATE_RANGE} (optional) — defaults to last 14 days

Auto-Load Domain Knowledge Skills

CRITICAL: At the start of every investigation, auto-invoke these companion skills via the Skill tool to load the frameworks, formulas, and templates:

  1. ga4-cross-analysis — Data collection from GA4 and Google Ads APIs (structured JSON output)
  2. lead-quality-pattern-analysis — Red flag detection frameworks (5 frameworks: landing pages, geo, devices, time, user behavior)
  3. ga4-campaign-cross-reference — Hypothesis → Verification → Finding methodology for discrepancy identification
  4. lead-quality-recommendation-prioritization — 3-tier priority system (Immediate / Medium / Long-term) and recommendation templates
  5. client-communication-standards — Background → Analysis → Conclusions report formatting with "What We Looked At" attribution

Do this BEFORE collecting any data. All five companion skills are shipped as standalone skills in this repo.


Investigation Protocol

Step 1: Data Collection

Reference skill: ga4-cross-analysis

Auto-invoke the ga4-cross-analysis companion skill to collect:

  • Google Ads side: campaign performance + campaign settings (geo targeting, bid strategy, URL exclusions, negative keywords, audience signals, placement exclusions, ad scheduling)
  • GA4 side: conversion summary, landing pages, user segments (cities, devices, browsers, hourly distribution), engagement metrics

The companion skill returns structured JSON. Document:

  • Data collection timestamp
  • Date range analyzed
  • Any data quality warnings (e.g., low conversion volume, missing events)

> Implementation note: The underlying data collection scripts are environment-specific — they call the Google Ads API and GA4 Data API against your accounts and properties. The ga4-cross-analysis companion skill documents the data contract; you adapt the scripts to your own infrastructure (credentials, customer IDs, GA4 property IDs).


Step 2: Pattern Analysis (5 Frameworks)

Reference skill: lead-quality-pattern-analysis

Apply all 5 analysis frameworks from the companion skill:

| Framework | Focus | Red Flag Examples | |---|---|---| | 1. Landing Page Distribution | High-intent vs low-intent pages | >50% from blog/informational | | 2. Geographic Distribution | Conversion locations vs target market | Conversions outside target geo, VPN indicators | | 3. Device & Browser Patterns | Bot indicators | Android Webview >50%, 100% mobile, unusual UAs | | 4. Time Patterns | Hourly conversion distribution | 1-4 AM peaks >20%, exact intervals | | 5. User Behavior | Engagement metrics | 100% new users, session duration 3 red flags detected

  • Moderate Quality Concerns — 1-2 red flags detected
  • Configuration Issues — 0 red flags but poor performance

Step 3: Campaign Settings Verification

Run a campaign-settings query against the Google Ads API to capture current configuration:

python query_campaign_settings.py {CUSTOMER_ID} "{CAMPAIGN_NAME}"

(The script is environment-specific — see "Script Contract" below.)

Document ALL settings:

  • Location targeting and exclusions (radius, presence vs interest)
  • Audience signals
  • URL exclusions (content exclusions)
  • Negative keywords
  • Bidding strategy and targets
  • Asset groups and final URLs
  • Ad scheduling (day parting)
  • Placement exclusions

This becomes the "what is currently configured" baseline for Step 4.


Step 4: Cross-Reference Analysis (Hypothesis → Verification → Finding)

Reference skill: ga4-campaign-cross-reference

For each red flag from Step 2, apply the companion skill's verification methodology. The core principle is: never assume GA4 data indicates a settings problem without verification.

Verification template (from companion skill):

### Hypothesis: {What GA4 data suggests}

**Verification Method:**
1. Check {specific campaign setting}
2. Review {additional data source}

**Finding:** Already implemented / Not implemented / Partially implemented

**Evidence:** {Specific setting value or data point}

**Conclusion:** {GAP TO FIX / NO ACTION NEEDED / DATA ANOMALY}

Common cross-references (from companion skill):

  1. Geographic: GA4 shows wrong cities BUT targeting correct → IP geolocation issue (NOT a targeting fix)
  2. Landing pages: GA4 shows blog traffic BUT no URL exclusions → configuration gap (FIX)
  3. Devices: GA4 shows bots BUT no placement exclusions → missing safeguards (FIX)
  4. Time: GA4 shows 1-4 AM peak BUT no ad scheduling → consider restricting hours
  5. Audience: GA4 shows low engagement BUT no audience signals → targeting too broad

Step 5: Prioritize Recommendations (3-Tier Framework)

Reference skill: lead-quality-recommendation-prioritization

Apply the companion skill's 3-tier priority framework:

IMMEDIATE (Today):

  • Quick wins ( "Use the ga4-lead-quality-investigation skill to investigate Customer ID 1234567890, campaign 'Example Property - Pmax', GA4 property 123456789, event 'book_tour'. Issue: leads are no-shows."

Parallel orchestration (when investigating multiple campaigns):

An orchestrator can launch N parallel Task(subagent_type="general-purpose", …) calls in a single message, each invoking this skill against one campaign. Parallelism + per-investigation context isolation are preserved at the Task layer.


Companion Skills (Required)

All 5 are shipped in this repo as standalone skills:

  • ga4-cross-analysis — Data collection from GA4 + Google Ads APIs (structured JSON output)
  • lead-quality-pattern-analysis — 5 red-flag detection frameworks with severity classification
  • ga4-campaign-cross-reference — Hypothesis-driven verification methodology
  • lead-quality-recommendation-prioritization — 3-tier priority system and recommendation templates
  • client-communication-standards — Background → Analysis → Conclusions report formatting

Install all 5 alongside this skill for full functionality.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.