Set up the Meta Conversion API in Cometly to send the leads and sales you track back to Meta, so its ad delivery learns from real conversions.
The Conversion API sends the events Cometly tracks (leads, purchases and other conversions) from Cometly’s servers straight to Meta. When you set up the Meta Conversion API in Cometly, you choose which events Meta receives and can set a different rule for any single event.This matters because Meta optimizes ad delivery from the conversions it can see. Sending the conversions Cometly has tied to your ads lets Meta link more of them to the correct ad, so your campaigns learn from real leads and sales.
How it works and why it helps
When Cometly sends data back to Meta, it provides accurate, enriched information about your conversions. This gives you:
Better match quality: Meta can link more conversions to the correct ads.
Improved ad optimization: better data leads to smarter ad delivery.
Faster AI learning: Meta’s AI can optimize campaigns faster with richer data.
How Cometly’s Conversion API is different
Other Conversion APIs send only the data available at the time of an event. Cometly builds a profile for every visitor and keeps it up to date, so the most complete data is sent when an event occurs. That gives Meta a better chance of matching the event, which improves ad optimization.
Make sure your events are tracking accurately in Cometly. The Conversion API page recommends waiting at least 7 days after events start flowing before you turn data sharing on.
Configure the Meta Conversion API
In Cometly, click Events Manager in the sidebar, then open the Conversion API tab.
Click the Meta row to expand it.
Under Master Data Sharing Settings, select one of the options:
Turn off data sharing: no event data is sent to Meta.
Send only attributed events (recommended): sends only events that Cometly can attribute to a Meta ad click. This prioritizes quality by including key parameters (like fbclid) that improve the match score in Meta Events Manager. If your event has a phone number, you can expect an event match quality score between 8.0 and 9.3.
Send all events: sends all event data to Meta, including unattributed events. This prioritizes quantity over quality, because some parameters (like fbclid) may be missing, which lowers the match score in Meta Events Manager.
Select a Meta ad account and enter a Pixel ID. Cometly uses this account’s Meta login and this pixel for unattributed events and Meta lead forms. Attributed events go to the pixel attached to the ad that drove them. Both fields are required when you send all events, either as the master setting or in a custom rule.
Click Save.
Custom rules for specific events
The master setting applies to every event. To make one event behave differently, add a custom rule. Events without a rule follow the master setting.
Expand Custom Rules for Specific Events and click Add custom rule.
Under Cometly event, select one of your tracked events.
Under Rule, pick one of the options:
Do not send any events: the event is never sent to Meta.
Only send attributed events: sends the event only when it is attributed to a Meta ad.
Send all events: sends every occurrence of the event, regardless of attribution.
Click Save.
Advanced: force all events to a single Meta pixel
When the master setting is Send all events, an Advanced section appears with the option Force all events to a single Meta pixel. By default Cometly routes each conversion to the Meta pixel attached to the ad that drove it, which is correct for nearly all accounts. Turning this on sends every conversion to the Pixel ID you entered above instead.
Only turn this on if you have consolidated to a single pixel, or Meta support or your agency told you to send everything to one pixel. Forcing events to the wrong pixel can break attribution in Meta Ads Manager and is difficult to reverse.
Check it worked
On the Conversion API tab, the Meta row shows an Active badge once data sharing is on. Cometly sends each conversion to Meta about 15 minutes after the event is tracked, so allow that long before you look for new events in Meta Events Manager.If you choose Send only attributed events, you see higher match quality scores inside Meta, because Cometly sends enriched data for each event.
Important considerations
One Conversion API only: Meta allows only one active Conversion API. Disable any others before enabling Cometly’s.
Page view events: Cometly’s Conversion API doesn’t send page view events. Add the Meta Pixel to the <head> of all your site pages for browser-based tracking.
Best setup: place the Meta Pixel in the <head> of your site for page views, and use Cometly’s Conversion API to send all other events to Meta from the server.
Frequently asked questions
How long does it take for Cometly events to show up in Meta Events Manager?
Cometly sends each conversion to Meta about 15 minutes after the event is tracked, so a new lead or sale does not appear in Meta instantly. If events still have not arrived after that, work through Meta CAPI not sending events.
Can I stop a single conversion from being sent to Meta, for example when a visitor opts out?
Yes. You can flag an individual event so Cometly records it for attribution and reporting but does not send it through the Conversion API. The flag applies to every ad platform, not only Meta. See Exclude an event.
Why does Meta say my site is in a category with restrictions?
Meta flags or blocks Conversion API events from sites that deal with sensitive topics (health, political or social issues) unless the event includes the Event Source URL parameter. You can send that URL to Cometly so it is included in the events sent to Meta. See Event source URL for the Meta Conversion API.
Still have questions or need a hand? We’re happy to help. Reach our team at support@cometly.com.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Cometly Docs","description":"Cometly documentation: set up ad tracking and attribution, connect your ad platforms and tools, send conversions back with the Conversion API, and build on the Cometly API and MCP server.","colors":{"primary":"#0086FF","light":"#0086FF","dark":"#0086FF"},"logo":{"light":"https://mintcdn.com/cometly/hnuCBvleNSBDJAON/logo/light.svg?fit=max\u0026auto=format\u0026n=hnuCBvleNSBDJAON\u0026q=85\u0026s=1b725e99cd933554c9ab680583d1b779","dark":"https://mintcdn.com/cometly/hnuCBvleNSBDJAON/logo/dark.svg?fit=max\u0026auto=format\u0026n=hnuCBvleNSBDJAON\u0026q=85\u0026s=5b27a31c96508945608d23fa3394eafc"},"favicon":"https://mintcdn.com/cometly/hnuCBvleNSBDJAON/favicon.svg?fit=max\u0026auto=format\u0026n=hnuCBvleNSBDJAON\u0026q=85\u0026s=676feb9017410d273527df10995ef763","api":{"playground":{},"mdx":{"auth":{"method":"bearer"},"server":"https://app.cometly.com"}},"navbar":{"links":[{"href":"mailto:support@cometly.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.cometly.com"}},"seo":{"metatags":{"og:site_name":"Cometly Docs","og:locale":"en_US","twitter:card":"summary_large_image"},"indexing":"navigable"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cometly","hasAudioNarration":false,"actualSubdomain":"cometly","customDomains":["docs.cometly.com"],"gitSource":{"type":"github","owner":"cometly","repo":"app","deployBranch":"main","contentDirectory":"publicApiDocs/V1","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6afe1ed3e5481c801f76013c","clientVersion":"0.0.4205","searchFilterCounts":[{"language":"default","tag":"Integrations","count":137},{"language":"default","tag":"Guides","count":70},{"language":"default","tag":"Integrations by platform","count":68},{"language":"default","tag":"MCP","count":58},{"language":"default","tag":"Troubleshooting","count":50},{"language":"default","tag":"Tools","count":49},{"language":"default","tag":"Developers \u0026 API","count":44},{"language":"default","tag":"Getting Started","count":38},{"language":"default","tag":"Settings","count":23},{"language":"default","tag":"Events","count":22}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@cometly.com","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".card-group .card{transition:background-color 150ms ease, border-color 150ms ease}.card-group .card:hover{background-color:#f6f7f8!important}.dark .card-group .card:hover{background-color:rgba(255, 255, 255, 0.04)!important}.start-cards .card-group .card{position:relative;isolation:isolate;background-color:#ffffff!important;background-image:radial-gradient(110% 60% at 50% 115%, rgba(0, 134, 255, 0.05) 0%, transparent 70%),\n linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%)!important;border-color:#e4e7ec!important;box-shadow:0 1px 2px rgba(16, 24, 40, 0.04);transition:border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease}.start-cards .card-group .card::before{content:\"\";position:absolute;inset:auto 0 0 0;height:85%;z-index:-1;pointer-events:none;background-image:repeating-linear-gradient(90deg, rgba(100, 116, 139, 0.15) 0, rgba(100, 116, 139, 0.15) 1px, transparent 1px, transparent 26px),\n repeating-linear-gradient(90deg, transparent 0, transparent 13px, rgba(100, 116, 139, 0.08) 13px, rgba(100, 116, 139, 0.08) 14px, transparent 14px, transparent 26px);-webkit-mask-image:linear-gradient(to top, #000 0%, transparent 90%);mask-image:linear-gradient(to top, #000 0%, transparent 90%);opacity:0.8;transition:opacity 200ms ease}.start-cards .card-group .card:hover{background-color:#ffffff!important;border-color:rgba(0, 134, 255, 0.45)!important;box-shadow:0 12px 28px -16px rgba(0, 134, 255, 0.35), 0 1px 2px rgba(16, 24, 40, 0.05);transform:translateY(-1px)}.start-cards .card-group .card:hover::before{opacity:1}.start-cards [data-component-part=\"card-image\"]{display:block;width:100%;height:auto;margin:0!important;border-bottom:1px solid #eceef2}.start-cards [data-component-part=\"card-icon\"]{display:flex;align-items:center;justify-content:center;width:2.5rem!important;height:2.5rem!important;border-radius:0.75rem;background:linear-gradient(135deg, #46a9ff 0%, #0086ff 55%, #0068d6 100%);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 14px -6px rgba(0, 134, 255, 0.65)}.start-cards [data-component-part=\"card-icon\"]>svg{width:1.25rem!important;height:1.25rem!important;background-color:#ffffff!important}.dark .start-cards .card-group .card,.dark .start-cards .card-group .card:hover{background-color:rgba(255, 255, 255, 0.02)!important;background-image:radial-gradient(110% 60% at 50% 115%, rgba(0, 134, 255, 0.14) 0%, transparent 70%)!important;border-color:rgba(255, 255, 255, 0.12)!important}.dark .start-cards .card-group .card:hover{border-color:rgba(70, 169, 255, 0.6)!important}.dark .start-cards .card-group .card::before{background-image:repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.2) 0, rgba(148, 163, 184, 0.2) 1px, transparent 1px, transparent 26px),\n repeating-linear-gradient(90deg, transparent 0, transparent 13px, rgba(148, 163, 184, 0.1) 13px, rgba(148, 163, 184, 0.1) 14px, transparent 14px, transparent 26px)}.dark .start-cards [data-component-part=\"card-image\"]{border-bottom-color:rgba(255, 255, 255, 0.08)}.logo-tile{display:inline-flex;align-items:center;justify-content:center;flex:none;width:2.5rem;height:2.5rem;border-radius:0.75rem;border:1px solid #e5e7eb;background:#ffffff;overflow:hidden}.logo-tile img{width:1.375rem!important;height:1.375rem!important;max-width:none!important;margin:0!important;border-radius:0!important;object-fit:contain;pointer-events:none}.logo-tile-sm{width:2rem;height:2rem;border-radius:0.5rem}.logo-tile-sm img{width:1.125rem!important;height:1.125rem!important}.logo-tile-letter{font-size:0.8125rem;font-weight:600;color:#6b7280;background:#f9fafb}.dark .logo-tile{border-color:rgba(255, 255, 255, 0.12)}.logo-row{display:flex;flex-wrap:wrap;align-items:center;gap:0.5rem;margin-top:0.875rem}.logo-more{margin-left:0.25rem;font-size:0.8125rem;font-weight:500;color:#6b7280;white-space:nowrap}.dark .logo-more{color:#9ca3af}.integration-grid{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:0.25rem 0.75rem;margin:1rem 0 0.5rem}@media (min-width: 640px){.integration-grid{grid-template-columns:repeat(2, minmax(0, 1fr))}}@media (min-width: 1024px){.integration-grid{grid-template-columns:repeat(3, minmax(0, 1fr))}}.integration-grid a{display:flex;align-items:center;gap:0.625rem;padding:0.375rem 0.5rem;border-radius:0.625rem;border:0!important;font-size:0.875rem;font-weight:500!important;line-height:1.3;color:inherit!important;text-decoration:none!important;transition:background-color 150ms ease}.integration-grid a:hover{background-color:#f6f7f8}.dark .integration-grid a:hover{background-color:rgba(255, 255, 255, 0.04)}.dark li>a img[src^=\"/images/logos/\"]{background:#ffffff!important;border-radius:0.25rem;padding:1px}"}],"page":{"pagePath":"guides/conversion-api/meta","slug":"/guides/conversion-api/meta","pageMetadata":{"title":"Configure the Meta Conversion API","sidebarTitle":"Meta","description":"Set up the Meta Conversion API in Cometly to send the leads and sales you track back to Meta, so its ad delivery learns from real conversions.","og:title":"Set Up the Meta Conversion API in Cometly","href":"/guides/conversion-api/meta"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Set up the Meta Conversion API in Cometly to send the leads and sales you track back to Meta, so its ad delivery learns from real conversions.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Frame,Heading,OptimizedFrame,OptimizedImage,Warning}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedFrame)_missingMdxReference(`OptimizedFrame`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The Conversion API sends the events Cometly tracks (leads, purchases and other conversions) from Cometly’s servers straight to Meta. When you set up the Meta Conversion API in Cometly, you choose which events Meta receives and can set a different rule for any single event.`}),`\n`,_jsx(_components.p,{children:`This matters because Meta optimizes ad delivery from the conversions it can see. Sending the conversions Cometly has tied to your ads lets Meta link more of them to the correct ad, so your campaigns learn from real leads and sales.`}),`\n`,_jsx(Heading,{level:`2`,id:`how-it-works-and-why-it-helps`,children:`How it works and why it helps`}),`\n`,_jsx(_components.p,{children:`When Cometly sends data back to Meta, it provides accurate, enriched information about your conversions. This gives you:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Better match quality`}),`: Meta can link more conversions to the correct ads.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Improved ad optimization`}),`: better data leads to smarter ad delivery.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Faster AI learning`}),`: Meta’s AI can optimize campaigns faster with richer data.`]}),`\n`]}),`\n`,_jsx(OptimizedFrame,{className:`mint-w-full mint-aspect-video mint-rounded-xl`,src:`https://www.loom.com/embed/1b4fcb623b17409ba6a2547ec21330e1`,title:`Feeding the ad platform's AI with accurate data`,allow:`fullscreen; picture-in-picture`,allowFullScreen:true}),`\n`,_jsx(Heading,{level:`2`,id:`how-cometly’s-conversion-api-is-different`,children:`How Cometly’s Conversion API is different`}),`\n`,_jsx(_components.p,{children:`Other Conversion APIs send only the data available at the time of an event. Cometly builds a profile for every visitor and keeps it up to date, so the most complete data is sent when an event occurs. That gives Meta a better chance of matching the event, which improves ad optimization.`}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-start`,children:`Before you start`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Connect your Meta ad account to the space (your Cometly workspace). See `,_jsx(_components.a,{href:`/getting-started/connect-ad-platforms`,children:`Connect your ad platforms`}),`.`]}),`\n`,_jsx(_components.li,{children:`Make sure your events are tracking accurately in Cometly. The Conversion API page recommends waiting at least 7 days after events start flowing before you turn data sharing on.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`configure-the-meta-conversion-api`,children:`Configure the Meta Conversion API`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`In Cometly, click `,_jsx(_components.strong,{children:`Events Manager`}),` in the sidebar, then open the `,_jsx(_components.strong,{children:`Conversion API`}),` tab.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Click the `,_jsx(_components.strong,{children:`Meta`}),` row to expand it.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Under `,_jsx(_components.strong,{children:`Master Data Sharing Settings`}),`, select one of the options:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Turn off data sharing`}),`: no event data is sent to Meta.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Send only attributed events`}),` (recommended): sends only events that Cometly can attribute to a Meta ad click. This prioritizes quality by including key parameters (like fbclid) that improve the match score in Meta Events Manager. If your event has a phone number, you can expect an event match quality score between 8.0 and 9.3.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Send all events`}),`: sends all event data to Meta, including unattributed events. This prioritizes quantity over quality, because some parameters (like fbclid) may be missing, which lowers the match score in Meta Events Manager.`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Select a `,_jsx(_components.strong,{children:`Meta ad account`}),` and enter a `,_jsx(_components.strong,{children:`Pixel ID`}),`. Cometly uses this account’s Meta login and this pixel for unattributed events and Meta lead forms. Attributed events go to the pixel attached to the ad that drove them. Both fields are required when you send all events, either as the master setting or in a custom rule.`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/04.webp?fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=19a301d6e06c276f43c003998b34ed2c`,alt:`Meta section of the Conversion API tab with arrow 1 on the selected Send only attributed events option, arrow 2 on the Meta ad account and Pixel ID fields, and arrow 3 on the Save button.`,\"data-og-width\":`1600`,width:`1600`,\"data-og-height\":`1083`,height:`1083`,\"data-path\":`images/guides/conversion-api/meta/04.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/04.webp?w=280\u0026fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=5e2e3dfa1bd3540a4198a27328bd2aa6 280w, https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/04.webp?w=560\u0026fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=044622cad1394c4cf8094e94479ebbd9 560w, https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/04.webp?w=840\u0026fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=32a78422a907b1e9e8776ac66c28edb0 840w, https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/04.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=384843c16bf49be8d0c21d0a6bffde3e 1100w, https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/04.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=527328d7268f480aa94e9763a1261358 1650w, https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/04.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=e7e2483ecad77e6be9a8d849e5df8f6b 2500w`})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Save`}),`.`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`custom-rules-for-specific-events`,children:`Custom rules for specific events`}),`\n`,_jsx(_components.p,{children:`The master setting applies to every event. To make one event behave differently, add a custom rule. Events without a rule follow the master setting.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Expand `,_jsx(_components.strong,{children:`Custom Rules for Specific Events`}),` and click `,_jsx(_components.strong,{children:`Add custom rule`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Under `,_jsx(_components.strong,{children:`Cometly event`}),`, select one of your tracked events.`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/01.webp?fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=3990a5820889762f4d20583af64bc931`,alt:`Custom Rules for Specific Events panel with four rules and the Cometly event dropdown open on the first rule, showing a searchable list of events.`,\"data-og-width\":`1600`,width:`1600`,\"data-og-height\":`788`,height:`788`,\"data-path\":`images/guides/conversion-api/meta/01.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/01.webp?w=280\u0026fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=34e925d7282d24699f5547226b27346d 280w, https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/01.webp?w=560\u0026fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=d29bad7c2828f33d662144047b885efc 560w, https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/01.webp?w=840\u0026fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=4ada6318c8f0fbf3342609dcfee0f73d 840w, https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/01.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=b625eaa6da67b946add02788a067c77d 1100w, https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/01.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=2142db9283763debae9d796d0709a3dc 1650w, https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/01.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=1353cc9ace3710cc5f9d3c49ea30f6d3 2500w`})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Under `,_jsx(_components.strong,{children:`Rule`}),`, pick one of the options:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Do not send any events`}),`: the event is never sent to Meta.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Only send attributed events`}),`: sends the event only when it is attributed to a Meta ad.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Send all events`}),`: sends every occurrence of the event, regardless of attribution.`]}),`\n`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/02.webp?fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=b42a78c73df59f00a4afcebff45f44c7`,alt:`Custom Rules for Specific Events panel with three rules and the Rule dropdown open on the first rule, with a box around the options Do not send any events, Only send attributed events and Send all events.`,\"data-og-width\":`1600`,width:`1600`,\"data-og-height\":`688`,height:`688`,\"data-path\":`images/guides/conversion-api/meta/02.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/02.webp?w=280\u0026fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=839296835e84d535406cf162e3f0ad98 280w, https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/02.webp?w=560\u0026fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=24b5bf720fa48096de755d2024425fa7 560w, https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/02.webp?w=840\u0026fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=bd338ec275c9c1eb45fc557b71e0ffa0 840w, https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/02.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=a4a2079e25f93945eb017f29b0c9f7ce 1100w, https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/02.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=605eae692040844c130ced657a1b990d 1650w, https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/02.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=f2b4cf3ecb86dc84db646f9e5f6a3a40 2500w`})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Save`}),`.`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`advanced-force-all-events-to-a-single-meta-pixel`,children:`Advanced: force all events to a single Meta pixel`}),`\n`,_jsxs(_components.p,{children:[`When the master setting is `,_jsx(_components.strong,{children:`Send all events`}),`, an `,_jsx(_components.strong,{children:`Advanced`}),` section appears with the option `,_jsx(_components.strong,{children:`Force all events to a single Meta pixel`}),`. By default Cometly routes each conversion to the Meta pixel attached to the ad that drove it, which is correct for nearly all accounts. Turning this on sends every conversion to the Pixel ID you entered above instead.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Only turn this on if you have consolidated to a single pixel, or Meta support or your agency told you to send everything to one pixel. Forcing events to the wrong pixel can break attribution in Meta Ads Manager and is difficult to reverse.`})}),`\n`,_jsx(Heading,{level:`2`,id:`check-it-worked`,children:`Check it worked`}),`\n`,_jsxs(_components.p,{children:[`On the `,_jsx(_components.strong,{children:`Conversion API`}),` tab, the `,_jsx(_components.strong,{children:`Meta`}),` row shows an `,_jsx(_components.strong,{children:`Active`}),` badge once data sharing is on. Cometly sends each conversion to Meta about 15 minutes after the event is tracked, so allow that long before you look for new events in Meta Events Manager.`]}),`\n`,_jsxs(_components.p,{children:[`If you choose `,_jsx(_components.strong,{children:`Send only attributed events`}),`, you see higher match quality scores inside Meta, because Cometly sends enriched data for each event.`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/03.webp?fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=47cf6f87820698a2c0e8b17994027a46`,alt:`Meta Events Manager Event Quality tab showing an Event Match Quality Score of 8.0 out of 10`,\"data-og-width\":`1600`,width:`1600`,\"data-og-height\":`1521`,height:`1521`,\"data-path\":`images/guides/conversion-api/meta/03.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/03.webp?w=280\u0026fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=cf4073a95859fedd0354eb8b2ecf885f 280w, https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/03.webp?w=560\u0026fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=c0d8b3ee0207a264b088784ab6edaf98 560w, https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/03.webp?w=840\u0026fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=41cfd32f202598362f704ff99ef0b64d 840w, https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/03.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=241623c526484a652bb8651ec799ebeb 1100w, https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/03.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=6a3d89089ef685f47a84417f1febe571 1650w, https://mintcdn.com/cometly/BM7eSn6-ecx8ZzBx/images/guides/conversion-api/meta/03.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=BM7eSn6-ecx8ZzBx\u0026q=85\u0026s=e4ce293f221e73063747e101b01847f7 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`important-considerations`,children:`Important considerations`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`One Conversion API only`}),`: Meta allows only one active Conversion API. Disable any others before enabling Cometly’s.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Page view events`}),`: Cometly’s Conversion API doesn’t send page view events. Add the Meta Pixel to the `,_jsx(_components.code,{children:`\u003chead>`}),` of all your site pages for browser-based tracking.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Best setup`}),`: place the Meta Pixel in the `,_jsx(_components.code,{children:`\u003chead>`}),` of your site for page views, and use Cometly’s Conversion API to send all other events to Meta from the server.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`frequently-asked-questions`,children:`Frequently asked questions`}),`\n`,_jsx(Heading,{level:`3`,id:`how-long-does-it-take-for-cometly-events-to-show-up-in-meta-events-manager`,children:`How long does it take for Cometly events to show up in Meta Events Manager?`}),`\n`,_jsxs(_components.p,{children:[`Cometly sends each conversion to Meta about 15 minutes after the event is tracked, so a new lead or sale does not appear in Meta instantly. If events still have not arrived after that, work through `,_jsx(_components.a,{href:`/support/troubleshooting/conversion-api/meta-capi-not-sending-events`,children:`Meta CAPI not sending events`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`can-i-stop-a-single-conversion-from-being-sent-to-meta-for-example-when-a-visitor-opts-out`,children:`Can I stop a single conversion from being sent to Meta, for example when a visitor opts out?`}),`\n`,_jsxs(_components.p,{children:[`Yes. You can flag an individual event so Cometly records it for attribution and reporting but does not send it through the Conversion API. The flag applies to every ad platform, not only Meta. See `,_jsx(_components.a,{href:`/guides/conversion-api/exclude-an-event`,children:`Exclude an event`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`why-does-meta-say-my-site-is-in-a-category-with-restrictions`,children:`Why does Meta say my site is in a category with restrictions?`}),`\n`,_jsxs(_components.p,{children:[`Meta flags or blocks Conversion API events from sites that deal with sensitive topics (health, political or social issues) unless the event includes the Event Source URL parameter. You can send that URL to Cometly so it is included in the events sent to Meta. See `,_jsx(_components.a,{href:`/guides/conversion-api/meta-event-source-url`,children:`Event source URL for the Meta Conversion API`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/support/troubleshooting/conversion-api/meta-capi-not-sending-events`,children:`Fix Meta Conversion API events that are not arriving`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/guides/conversion-api/meta-event-source-url`,children:`Send the Event Source URL to Meta`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/guides/conversion-api/exclude-an-event`,children:`Exclude an event from the Conversion API`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/guides/conversion-api/overview`,children:`Set up the Conversion API for another ad platform`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/support/contact`,children:`Contact support`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Still have questions or need a hand? We’re happy to help. Reach our team at `,_jsx(_components.a,{href:`mailto:support@cometly.com`,children:`support@cometly.com`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Configure the Meta Conversion API","sidebarTitle":"Meta","description":"Set up the Meta Conversion API in Cometly to send the leads and sales you track back to Meta, so its ad delivery learns from real conversions.","og:title":"Set Up the Meta Conversion API in Cometly","href":"/guides/conversion-api/meta"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How it works and why it helps","slug":"how-it-works-and-why-it-helps","depth":2,"children":[]},{"title":"How Cometly’s Conversion API is different","slug":"how-cometly’s-conversion-api-is-different","depth":2,"children":[]},{"title":"Before you start","slug":"before-you-start","depth":2,"children":[]},{"title":"Configure the Meta Conversion API","slug":"configure-the-meta-conversion-api","depth":2,"children":[{"title":"Custom rules for specific events","slug":"custom-rules-for-specific-events","depth":3,"children":[]},{"title":"Advanced: force all events to a single Meta pixel","slug":"advanced-force-all-events-to-a-single-meta-pixel","depth":3,"children":[]}]},{"title":"Check it worked","slug":"check-it-worked","depth":2,"children":[]},{"title":"Important considerations","slug":"important-considerations","depth":2,"children":[]},{"title":"Frequently asked questions","slug":"frequently-asked-questions","depth":2,"children":[{"title":"How long does it take for Cometly events to show up in Meta Events Manager?","slug":"how-long-does-it-take-for-cometly-events-to-show-up-in-meta-events-manager","depth":3,"children":[]},{"title":"Can I stop a single conversion from being sent to Meta, for example when a visitor opts out?","slug":"can-i-stop-a-single-conversion-from-being-sent-to-meta-for-example-when-a-visitor-opts-out","depth":3,"children":[]},{"title":"Why does Meta say my site is in a category with restrictions?","slug":"why-does-meta-say-my-site-is-in-a-category-with-restrictions","depth":3,"children":[]}]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/cometly/3e5ee102dead7316/cometly.js"],"dynamicCss":".mint-aspect-video {\n aspect-ratio: 16 / 9\n}\n.mint-w-full {\n width: 100%\n}\n.mint-rounded-xl {\n border-radius: 0.75rem\n}","subdomain":"cometly","siteName":"Cometly Docs","title":"Set Up the Meta Conversion API in Cometly","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-18T21:55:49.877Z","originalFileLocation":"guides/conversion-api/meta.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Set up the Meta Conversion API in Cometly to send the leads and sales you track back to Meta, so its ad delivery learns from real conversions.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cometly Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cometly/gMocZlOJ0QUZ28NI/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/cometly/gMocZlOJ0QUZ28NI/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cometly/gMocZlOJ0QUZ28NI/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cometly/gMocZlOJ0QUZ28NI/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cometly/gMocZlOJ0QUZ28NI/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cometly/gMocZlOJ0QUZ28NI/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cometly/gMocZlOJ0QUZ28NI/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cometly/gMocZlOJ0QUZ28NI/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cometly/gMocZlOJ0QUZ28NI/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Set Up the Meta Conversion API in Cometly\">\u003cmeta data-mint-head property=\"og:description\" content=\"Set up the Meta Conversion API in Cometly to send the leads and sales you track back to Meta, so its ad delivery learns from real conversions.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cometly Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cometly.com/guides/conversion-api/meta\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cometly.mintlify.site/_mintlify/api/og/v2?division=Conversion+API\u0026amp;title=Configure+the+Meta+Conversion+API\u0026amp;description=Set+up+the+Meta+Conversion+API+in+Cometly+to+send+the+leads+and+sales+you+track+back+to+Meta%2C+so+its+ad+delivery+learns+from+real+conversions.\u0026amp;theme=4b81b0d192612debf11d7771\u0026amp;signature=f66504ad7c645636599335a2f6f20078a1dcae854d6a323e9c80c4b0d1b0a178\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Set Up the Meta Conversion API in Cometly\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Set up the Meta Conversion API in Cometly to send the leads and sales you track back to Meta, so its ad delivery learns from real conversions.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cometly.mintlify.site/_mintlify/api/og/v2?division=Conversion+API\u0026amp;title=Configure+the+Meta+Conversion+API\u0026amp;description=Set+up+the+Meta+Conversion+API+in+Cometly+to+send+the+leads+and+sales+you+track+back+to+Meta%2C+so+its+ad+delivery+learns+from+real+conversions.\u0026amp;theme=4b81b0d192612debf11d7771\u0026amp;signature=f66504ad7c645636599335a2f6f20078a1dcae854d6a323e9c80c4b0d1b0a178\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/cometly/gMocZlOJ0QUZ28NI/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cometly Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0086FF\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cometly.com/guides/conversion-api/meta\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/conversion-api/meta.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cometly.com/#organization\",\"name\":\"Cometly Docs\",\"url\":\"https://docs.cometly.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cometly/hnuCBvleNSBDJAON/logo/light.svg?fit=max\u0026auto=format\u0026n=hnuCBvleNSBDJAON\u0026q=85\u0026s=1b725e99cd933554c9ab680583d1b779\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cometly.com#website\",\"name\":\"Cometly Docs\",\"url\":\"https://docs.cometly.com\",\"publisher\":{\"@id\":\"https://docs.cometly.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cometly.com/guides/conversion-api/meta#webpage\",\"url\":\"https://docs.cometly.com/guides/conversion-api/meta\",\"name\":\"Configure the Meta Conversion API\",\"description\":\"Set up the Meta Conversion API in Cometly to send the leads and sales you track back to Meta, so its ad delivery learns from real conversions.\",\"dateModified\":\"2026-11-18T21:55:49.877Z\",\"isPartOf\":{\"@id\":\"https://docs.cometly.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cometly.com/guides/conversion-api/meta#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cometly.com/guides/conversion-api/meta#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Conversion API\",\"item\":\"https://docs.cometly.com/guides/conversion-api/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Configure the Meta Conversion API\",\"item\":\"https://docs.cometly.com/guides/conversion-api/meta\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.cometly.com/guides/conversion-api/meta#article\",\"headline\":\"Configure the Meta Conversion API\",\"name\":\"Configure the Meta Conversion API\",\"description\":\"Set up the Meta Conversion API in Cometly to send the leads and sales you track back to Meta, so its ad delivery learns from real conversions.\",\"url\":\"https://docs.cometly.com/guides/conversion-api/meta\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cometly.com/guides/conversion-api/meta#webpage\"},\"dateModified\":\"2026-11-18T21:55:49.877Z\",\"publisher\":{\"@id\":\"https://docs.cometly.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cometly.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cometly Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Cometly Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guides/conversion-api/meta.md","siteName":"Cometly Docs","nav":{"global":null,"tabs":[{"tab":"Getting Started","icon":"rocket","pages":[{"title":"Getting Started","href":""}]},{"tab":"Guides","icon":"book-open","groups":[{"group":"Overview","pages":[{"title":"Guides","sidebarTitle":"Overview","href":"/guides/overview"}]},{"group":"Tracking and pixel","pages":[{"title":"Set up First Party Domain Tracking","href":"/guides/tracking/first-party-domain"},{"title":"Cross-domain tracking","href":"/guides/tracking/cross-domain-tracking"},{"title":"Cometly Pixel Helper (Chrome extension)","href":"/guides/tracking/pixel-helper"},{"title":"Pixel setup for SaaS companies","href":"/guides/tracking/pixel-setup-for-saas"},{"title":"Track only after consent","href":"/guides/tracking/consent"},{"title":"Exclude domains from the referrer source","href":"/guides/tracking/exclude-referral-domains"},{"title":"How Order ID works and when to use it","href":"/guides/tracking/order-id"},{"title":"Drop data-center traffic from your page views","href":"/guides/tracking/drop-data-center-traffic"},{"title":"Track sign-ups made with OAuth (Sign up with Google)","href":"/guides/tracking/oauth-signups"}]},{"group":"Form tracking","pages":[{"title":"Form tracking for third-party embedded forms","href":"/guides/form-tracking/third-party-forms"},{"title":"Test form tracking","href":"/guides/form-tracking/testing"}]},{"group":"Events","pages":[{"title":"How events work","href":"/guides/events/how-events-work"},{"title":"Manage custom events","href":"/guides/events/custom-events"},{"title":"Custom fields","href":"/guides/events/custom-fields"},{"title":"Edit or delete a conversion on a contact","href":"/guides/events/edit-or-delete-conversions"},{"title":"Set up Add to Cart and Initiate Checkout events","href":"/guides/events/add-to-cart-and-initiate-checkout"},{"title":"Set up call tracking","href":"/guides/events/call-tracking"}]},{"group":"URL parameters","pages":[{"title":"Custom URL parameter setup","href":"/guides/url-parameters/custom-sources"},{"title":"Track email campaigns with URL parameters","href":"/guides/url-parameters/email"},{"title":"Track SMS campaigns with URL parameters","href":"/guides/url-parameters/sms"},{"title":"Meta catalog ads (dynamic website URL) URL parameters","href":"/guides/url-parameters/meta-catalog-ads"},{"title":"Apply URL parameters to a URL that contains a variant parameter","href":"/guides/url-parameters/urls-with-variant-parameter"},{"title":"Meta carousel ads URL parameter setup","href":"/guides/url-parameters/meta-carousel-ads"},{"title":"Email and SMS tracking with Klaviyo","href":"/guides/url-parameters/klaviyo-email-and-sms"},{"title":"URL parameter setup for Meta existing post ads","href":"/guides/url-parameters/meta-existing-post-ads"}]},{"group":"Conversion API","pages":[{"title":"How the Conversion API works","sidebarTitle":"Overview","description":"See how the Conversion API in Cometly sends your leads and sales back to Meta, Google and other ad platforms, and how to set it up for each platform.","href":"/guides/conversion-api/overview"},{"title":"Configure the Meta Conversion API","sidebarTitle":"Meta","href":"/guides/conversion-api/meta"},{"title":"Configure the Google Conversion API","sidebarTitle":"Google Ads","description":"Set up the Google Conversion API in Cometly to send your tracked leads and sales to Google Ads as offline conversions, mapped to your conversion actions.","href":"/guides/conversion-api/google"},{"title":"Configure the TikTok Conversion API","sidebarTitle":"TikTok","href":"/guides/conversion-api/tiktok"},{"title":"Configure the LinkedIn Conversion API","sidebarTitle":"LinkedIn","href":"/guides/conversion-api/linkedin"},{"title":"Configure the Microsoft Ads Conversion API","sidebarTitle":"Microsoft Ads","href":"/guides/conversion-api/microsoft"},{"title":"Configure the Reddit Conversion API","sidebarTitle":"Reddit","href":"/guides/conversion-api/reddit"},{"title":"Configure the X Ads Conversion API","sidebarTitle":"X Ads","href":"/guides/conversion-api/x"},{"title":"Configure the Taboola Conversion API","sidebarTitle":"Taboola","href":"/guides/conversion-api/taboola"},{"title":"Configure the AdRoll Conversion API","sidebarTitle":"AdRoll","href":"/guides/conversion-api/ad-roll"},{"title":"Configure the ChatGPT Ads Conversion API","sidebarTitle":"ChatGPT Ads","href":"/guides/conversion-api/chatgpt-ads"},{"title":"Configure the AppLovin Conversion API","sidebarTitle":"AppLovin","href":"/guides/conversion-api/applovin"},{"title":"Event source URL for the Meta Conversion API","sidebarTitle":"Meta event source URL","href":"/guides/conversion-api/meta-event-source-url"},{"title":"Exclude an event from the Conversion API (consent, GPC and CCPA)","sidebarTitle":"Exclude an event","href":"/guides/conversion-api/exclude-an-event"}]},{"group":"Ads Manager","pages":[{"title":"Use the Ads Manager","href":"/guides/ads-manager/overview"},{"title":"Exclude an ad campaign from tracking","href":"/guides/ads-manager/exclude-a-campaign"},{"title":"Use filters in the Ads Manager","href":"/guides/ads-manager/filters"}]},{"group":"Report Builder","pages":[{"title":"Report Builder 101","href":"/guides/report-builder/overview"},{"title":"Build a report","href":"/guides/report-builder/build-a-report"},{"title":"Create grouped reports (Group By)","href":"/guides/report-builder/grouped-reports"},{"title":"Keyword reports for Google Ads and Microsoft Ads","href":"/guides/report-builder/keyword-reports"},{"title":"Analyze metrics month over month","href":"/guides/report-builder/month-over-month"},{"title":"Build an off-page SEO report","href":"/guides/report-builder/off-page-seo-report"},{"title":"Track affiliate conversions","href":"/guides/report-builder/affiliate-conversions"},{"title":"Track custom parameters","href":"/guides/report-builder/custom-parameters"},{"title":"New vs. returning events","href":"/guides/report-builder/new-vs-returning-events"},{"title":"Sources report","href":"/guides/report-builder/sources-report"},{"title":"Totals report","href":"/guides/report-builder/totals-report"},{"title":"URL vs. URL Parameters filters","href":"/guides/report-builder/url-vs-url-parameters-filters"}]},{"group":"Dashboards","pages":[{"title":"Customize your dashboards","href":"/guides/dashboards/customize"},{"title":"Build a cohort analysis dashboard","href":"/guides/dashboards/cohort-analysis"},{"title":"Calculate the time between contact creation and an event","href":"/guides/dashboards/time-between-profile-creation-and-event"},{"title":"Duplicate dashboards across spaces","href":"/guides/dashboards/duplicate-across-spaces"},{"title":"Use Quick Filters on dashboards","href":"/guides/dashboards/quick-filters"}]},{"group":"Agent","pages":[{"title":"Use the Agent","href":"/guides/agent/overview"},{"title":"Agent prompt library","href":"/guides/agent/prompt-library"},{"title":"Best practices for custom instructions","href":"/guides/agent/custom-instructions"}]},{"group":"Analyzing data","pages":[{"title":"Attribution models and attribution windows","href":"/guides/analyzing-data/attribution-models-and-windows"},{"title":"Metrics glossary","href":"/guides/analyzing-data/metrics-glossary"},{"title":"Data maturing","href":"/guides/analyzing-data/data-maturing"},{"title":"Export and analyze Cometly data","href":"/guides/analyzing-data/export-data"},{"title":"Create and use custom metrics","href":"/guides/analyzing-data/custom-metrics"},{"title":"Recommended naming conventions for paid ad campaigns","href":"/guides/analyzing-data/naming-conventions"},{"title":"Referral vs. direct traffic sources","href":"/guides/analyzing-data/referral-vs-direct"}]}]},{"tab":"Integrations","icon":"plug","pages":[{"title":"Integrations","href":"/integrations/overview"}]},{"tab":"Troubleshooting","icon":"wrench","pages":[{"title":"Troubleshooting","href":"/support/troubleshooting/overview"}]},{"tab":"Developers \u0026 API","icon":"code","pages":[{"title":"Developers \u0026 API","href":"/api-reference/overview"}]},{"tab":"MCP","icon":"robot","pages":[{"title":"MCP","href":"/mcp/overview"}]},{"tab":"Help \u0026 Support","icon":"headset","pages":[{"title":"Help \u0026 Support","href":"/support/contact"}]}]},"basePath":"","title":"Set Up the Meta Conversion API in Cometly","deploymentId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","buildId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-DBAS9Liu.js","DynamicMarkdown-C4w9kavL.js","zoom-image-lightbox-B9O1U98p.js","lightbox-handle-r17bVUz3.js"]}