Twitter Conversions API tag for sGTM

Written by

Ira Holubovska

Updated Jul 27, 2026 comments

How Twitter Conversions API works

Before you begin

How to set up X (Twitter) Conversion API tag in sGTM

Add “X (Twitter) Conversion API tag” to the server GTM container.
Create a new tag.
Configure the tag.
Event ID - you can find it when creating a conversion API event in the Twitter events manager.
Event ID - you can find it when creating a conversion API event in the Twitter events manager.

Note:

To do it, go to Events Manager → click on Install Pixel → select Manual on Installation Method → click Continue → select Conversion API → click Continue → click Generate access token.
Here is an example of tag configuration with Access Token as auth method
See X’s documentation for more details on what data parameters you can override.
Note: At least one identifier must always be sent.

Event deduplication

Use the Conversion ID (for deduplication) that can be found in the Server Event Data Override to send the deduplication key in the server GTM tag.
To create a server-only event, use the Twitter events manager to create a new event and select Install with Conversion API on the third step.

How to test X (Twitter) CAPI 

Use the server GTM Preview mode to confirm that the X Conversion API tag fires correctly and that requests are sent to X.
If you use Stape Logs, check the outgoing requests to verify that events are successfully sent to the X endpoint in real time.

Conclusion

Want to join the server side?

Try for free

Written by

Ira Holubovska

Content writer

Ira has 10+ years of digital marketing experience, with the last 5 focused on server-side tracking. She understands how and when it works across various digital marketing scenarios.

Was this article helpful?

Comments

Recommended for you

Turn better tracking into better marketing performance

Try for free