---
name: ghl-capi-attribution
description: "Configure server-side Meta Conversions API (CAPI) and Google Ads Offline Conversions from GoHighLevel Opportunity Stage Changed events (Appointment Booked and Job Won)."
---

# Meta CAPI & Google Offline Conversion Attribution

Author: Daniel Hallman | Publisher: Moosh Works

## When to use this skill

Use this skill when ad campaigns optimize for low-intent form fills or spam submissions and need server-side conversion signals tied to booked appointments and closed jobs.

## Required Official MCP v2 scopes

- `opportunities.readonly`, `pipelines.readonly`, `contacts.readonly`
- `locations/customFields.readonly`, `workflows.readonly`, `workflows.write`, `workflows.logs`

## Implementation steps

1. **Verify native ad integrations:**
   In **Settings** > **Integrations**, confirm the sub-account's Meta Pixel / Dataset ID and Google Ads account are authorized.
2. **Confirm click ID capture on contacts:**
   Inspect recent ad-sourced contacts to verify `fbclid`, `fbc`, `fbp`, and `gclid` populate from Lead Ads or landing-page forms.
3. **Trigger conversions on Opportunity Stage Changed:**
   Build or inspect a workflow triggered by **Opportunity Stage Changed** (not raw form submission):
   - Stage `Appointment Booked`: fire Meta CAPI `Schedule` event + Google Ads Offline Conversion (`Booked Appointment`).
   - Stage `Job Won`: fire Meta CAPI `Purchase` event with `{{opportunity.lead_value}}` + Google Ads Offline Conversion (`Closed Won`).
4. **Filter out unqualified and spam contacts:**
   Add an `If/Else` branch checking that tag `spam` or `unqualified` is absent before dispatching conversion events.

## Verification

Move one test opportunity through `Appointment Booked` and inspect **Workflows** > **Execution Logs** to verify `200` sync status on both CAPI and Google Offline Conversion actions.
