Skip to content

stape-io/twitter-tag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Conversion API Tag for Google Tag Manager Server Container

Twitter conversion API allows sending event and user data from your server to the Twitter server. Because of Twitter's requirement for authentication, the Twitter tag works only with the stape. We have a separate module that handles Twitter authentication.

  • Stape Container API Key - available for all stape users inside the sGTM container settings.
  • Consumer Key, Consumer Secret, OAuth Token, OAuth Token Secret - will be available after you apply to the Twitter developer account and create Twitter app.
  • Pixel ID - Twitter Universal Website Tag (UWT) ID.
  • Event ID - find it in Twitter Events Manager for the conversion event.
  • Use HttpOnly cookies - Forbids JavaScript from accessing the cookie if enabled.
  • Server Event Data Override - conversion time, number of items, currency, value, conversion ID, description, and contents.
  • User Data - add user data: email or twclid.

To set up Twitter CAPI tag, you will need

  1. Stape container API key
  2. Twitter developer account
  3. Twitter app
  4. Consumer Key and Secret.
  5. OAuth Token and Secret.
  6. Apply for access to Twitter CAPI

How to use Twitter CAPI tag

Open Source

Twitter Tag for GTM Server Side is developing and maintained by Stape Team under the Apache 2.0 license.