A Google Tag Manager server-side tag template that sends conversion events to the X (Twitter) Ads Conversion API directly from your server container, without writing any code.
Sharing server-side conversions with X helps you measure ad performance, optimize delivery, and build audiences. This template reads the events received by your server container and forwards them to X so your conversions can be attributed to your ads.
The tag exposes the following user parameters:
| Parameter | Required | Description |
|---|---|---|
| Pixel ID | Yes | Your X Pixel ID. |
| Access Token | Yes | The access token generated for your Conversion API access. |
| Event ID | No | The Event ID of a manually created event in Events Manager in X Ads Manager. When left empty, the incoming event name is used. If neither an Event ID nor an event name is present, the conversion is not sent. |
This template can only be applied to a Server container.
Use the Logs Settings section to control console logging: never, only during GTM debug/preview, or always.