Token导航 LogoToken导航

Agent Skill · 开发

meta-ads-capi-setup(元广告 capi 设置)

meta-ads-capi-setup 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

meta-ads-capi-setup 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 8,979。

总安装 2,916周安装 124GitHub Stars 公开资料未说明下载 1,022核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:meta-ads-capi-setup(元广告 capi 设置)
来源仓库:https://github.com/elias-didoo/meta-ads-capi-setup
安装命令:
openclaw skills install meta-ads-capi-setup
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install meta-ads-capi-setup

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

设置元转化 API (CAPI) 的分步指南,提升转化测量准确性。适用于部署服务器端事件跟踪以优化归因模型时参考。meta-ads-capi-setup 属于开发类 Skill,可作为该场景下的辅助能力补充。按步骤配置像素与后端集成,确保数据上报合规稳定。安装前须验证 API 密钥权限及网络连通性要求。

注意核对原始 README 中关于错误处理和重试机制说明。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install meta-ads-capi-setup;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

meta-ads-capi-setup 怎么安装?

在终端执行 openclaw skills install meta-ads-capi-setup。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

meta-ads-capi-setup 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

meta-ads-capi-setup 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

meta-ads-capi-setup 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

meta-ads-capi-setup 用的人多吗?

公开数据是累计安装 2,916 次,近一周安装 124 次,下载 1,022 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

meta-ads-capi-setup 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
meta-ads-capi-setup

元广告 capi 设置 · 本页

2,916—接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
meta-ads-capi-setup
description
[Didoo AI] Step-by-step guide for setting up Meta Conversions API (CAPI) — server-side event tracking that improves conversion measurement accuracy and reduces CPA discrepancy vs pixel-only tracking. Use when setting up tracking for a new account or when CPA shown in Meta Ads Manager is significantly higher than actual leads/sales.

Meta Ads CAPI Setup Guide

Required Credentials

CredentialWhere to GetUsed For
META_ACCESS_TOKENMeta Developer Console → Graph API Explorer → Generate TokenAll Meta Marketing API calls
META_PIXEL_IDMeta Events Manager → select your Pixel → copy Pixel IDIdentifying which pixel to configure
Token note: The System User access token (generated in Business Settings) is the primary credential for CAPI API calls. You still need a registered Meta App (App ID) to set up the CAPI integration in Events Manager — the App ID is required when creating the System User and configuring token permissions. Make sure the token includes these scopes: ads_management, business_management, pages_read_engagement.

When to Use

When setting up tracking for a new account, or when CPA shown in Meta Ads Manager is significantly higher than actual leads/sales (indicating a tracking gap). CAPI is especially critical for lead generation campaigns where offline conversions are the true business outcome.


What CAPI Does (vs Pixel Only)

  • Pixel only: Browser-based. Tracks users who click your ad and then take action on your website. Misses users who convert on different devices, after clearing cookies, or without clicking.
  • CAPI: Server-to-server. Sends conversion events directly from your server to Meta. More accurate, more reliable, harder to block.

Together: Pixel + CAPI gives Meta the most complete picture → better optimization → lower CPA over time.

If you're not using CAPI, you're likely overpaying for every lead. The gap can be 20–50% depending on industry and browser mix.


Prerequisites

Before setting up CAPI, you need:

  1. Meta Pixel installed on your website
  2. A Meta App registered at developers.facebook.com (App ID required to configure CAPI in Events Manager)
  3. A server environment that can send HTTP requests (or a partner integration like Shopify, WooCommerce, Zapier, or Google Tag Manager Server-side)
  4. Access to your Meta Business Manager with pixel-level permissions

Step 1: Choose Your Integration Method

Recommended for Most SMBs — Native Platform Integration

Use your e-commerce platform's built-in Meta integration. This is the easiest path:

PlatformHow to Connect
ShopifyShopify Admin → Sales Channels → Meta
WooCommercePlugins → Meta for WooCommerce
Other platformsCheck Meta's partner directory at meta.com/partners

Steps (native integration):

  1. Go to Meta Events Manager → select your Pixel
  2. Click "About CAPI" → "Get Started"
  3. Select your platform from the partner list
  4. Follow the on-screen prompts to authorize the connection
  5. Select which events to send (see Step 3 below)

Advanced — Manual Integration Options

Only use these if you are a developer or using a platform without native Meta integration.

MethodBest ForComplexity
Google Tag Manager Server-SideTeams already using GTMMedium
Zapier / Make.comNo-code teams, non-standard tech stacksMedium
Meta Conversions API via Meta Business ManagerSimple server events without developer resourcesLow
Direct API IntegrationDevelopers building custom infrastructureHigh

For Direct API: use your META_ACCESS_TOKEN to send events to https://graph.facebook.com/v21.0/{pixel_id}/events.


Step 2: Generate a System User Access Token

  1. Go to Meta Business Manager → Business Settings → System Users
  2. Create a new system user with "Analytics" or "Ads" permissions
  3. Generate an access token with: ads_management, business_management, pages_read_engagement
  4. Save this token securely — you'll need it for all API calls

Step 3: Configure Which Events to Send

  1. Go to Meta Events Manager → select your Pixel
  2. Click "About CAPI" → "Get Started"
  3. Select your integration method
  4. Configure which events to send:
EventRecommended For
PageViewAll campaigns — helps Meta build audience
ViewContentE-commerce product pages
AddToCartE-commerce
PurchaseE-commerce (critical — this is your conversion event)
LeadLead generation (critical — matches your optimization goal)
CompleteRegistrationWebinar, courses, freemium signups
ContactLocal service businesses

Step 4: Test Your CAPI Connection

In Meta Events Manager:

  1. Select your pixel → "Test Events" tab
  2. Trigger the events on your website (submit a form, complete a purchase, etc.)
  3. Check that events appear in the test panel within seconds

What to verify:

  • Events are arriving with Deduping source confirmed (CAPI and Pixel aren't double-counted)
  • Event IDs are being passed (for deduplication)
  • Parameter completeness — more parameters = better optimization

Event parameters that improve CAPI quality:

  • event_id — unique ID per event, enables deduplication
  • user_data — email, phone, country (hashed with SHA-256)
  • custom_data — value, currency, content_name, content_category

Step 5: Verify CAPI Is Working Correctly

In Meta Events Manager, check:

  1. Event Quality Score — should be "Active" with green status
  2. Matching Quality — how many user parameters Meta can match to real users
  3. No significant gap between pixel events and CAPI events

Matching Quality benchmarks:

  • 7+ parameters with good hash quality → Excellent
  • 5–6 parameters → Good
  • < 5 parameters → Poor — optimize your event setup

Step 6: Standard Events vs. Custom Events

Standard Events (Preferred)

Meta's predefined event names: Lead, Purchase, PageView, ViewContent, AddToCart, InitiateCheckout, CompleteRegistration. Better optimization because Meta knows exactly what the event means.

Custom Events

Use only when no standard event fits. Define custom name and parameters yourself. Required for: offline sales, phone calls, specific business workflows.


CAPI Common Issues and Fixes

IssueLikely CauseFix
CAPI events not appearing in MetaToken expired or permissions wrongRegenerate access token with correct permissions
Huge gap between pixel and CAPI volumesCAPI not connected properlyCheck Events Manager → CAPI status
CPA artificially high in MetaCAPI not sending offline conversions (lead gen)Verify Lead event is firing server-side
Events marked as "Unmatched"User data not being passed correctlyEnsure email/phone is hashed before sending
Duplicate events (double counting)Both pixel and CAPI firing without deduplicationPass event_id in both pixel and CAPI calls

Lead Generation — CAPI Is Especially Critical

For lead gen campaigns, the conversion happens offline — someone fills out a form, you call them, they sign up. Meta pixel can't see this.

What CAPI must send for lead gen:

  1. Lead event when form is submitted (server-side, not just pixel)
  2. Lead event when you mark a lead as qualified in your CRM (offline → Meta)
  3. Revenue data if possible (even approximate) — helps Meta optimize for quality

CRM Integrations that support CAPI for leads: HubSpot, Salesforce, Zapier, Make.com.

If you're not sending offline lead data back to Meta: Meta is optimizing for form submissions only. You're paying for leads that never convert.


Event Deduplication — Preventing Double Counting

When both Pixel and CAPI send the same event (same event_id), Meta deduplicates automatically. Requirements:

  • Same event_id in both pixel and CAPI call
  • Same event_name
  • Events fired within the same 48-hour window
  • Same user data (at least one: email, phone, client_ip, client_user_agent)

Security Notes

  • Access tokens for CAPI should be treated like passwords — store in environment variables, never in code repositories
  • Use HTTPS for all CAPI calls
  • Hash PII (email, phone) using SHA-256 before sending to Meta

平台分布

OpenClaw

83.66%
按下载量换算855

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills