---
title: "X Ads integration"
description: "Connect X Ads to Cometly to pull campaign, ad group, and ad-level performance into revenue-grade attribution, then push enriched conversions back through the X Conversion API. Server-side events give X's optimization cleaner signal than the website pixel alone, so the algorithm bids toward customers who actually pay — not just profile clicks."
source: "https://www.cometly.com/integration/x"
---

# X Ads integration for Cometly

Track X (Twitter) Ads spend and feed qualified conversions back via the CAPI.

Connect X Ads to Cometly to pull campaign, ad group, and ad-level performance into revenue-grade attribution, then push enriched conversions back through the X Conversion API. Server-side events give X's optimization cleaner signal than the website pixel alone, so the algorithm bids toward customers who actually pay — not just profile clicks.

- Category: Ads
- Connection method: OAuth

## What you can do

- Half-hourly imports of X campaign, ad group, and ad-level performance
- Server-side X Conversion API for privacy-resilient, pixel-independent match
- Attribution-aware: conversions are tied to the X click before they're sent back
- URL-parameter tracking that doesn't reset the learning phase

## Setup (OAuth)

1. Open Apps & Integrations in Cometly and select X Ads.
2. Authorize the X Ads accounts you want to track.
3. Append Cometly URL parameters to your X campaign tracking template.
4. Enable the X Conversion API and map Cometly events to X conversion events.
5. Confirm conversions land in X Ads Manager with healthy match rates.

## Events

| Event | Description |
| --- | --- |
| Website Conversion | Fires on any tracked on-site conversion sent back to X. |
| Purchase | Fires on a completed purchase, forwarded server-side via the Conversion API. |