Preskočiť na obsah
Pomoc
X serverové API pre konverzie X Corp.

How do I set up the X Server Conversion API (Twitter Conversion API)?

Install the X Server Conversion API app to send your orders to X from Storeep's servers. Add the API key, API key secret, access token, and access token secret of an X developer app with Ads API access, and use the same Pixel ID and event as your browser pixel.

2 minúty čítania

What this app does

The X Server Conversion API app sends your orders to X from Storeep's servers through the X Conversion API, so ad blockers and browser limits do not hide them. For browser events too, install the X Browser Pixel app with the same pixel. How the two work together is explained in Tracking and Analytics.

Before you start

  • Your X Pixel ID, the same one your browser pixel uses.
  • An app in the X Developer Portal with Ads API access. From that app you need four keys: the API key, the API key secret, an access token, and an access token secret. The access token must belong to a user who can manage your ad account.

Set up the app

  1. Open Apps, find X Server Conversion API, click Install, open it, and click Add new pixel.
  2. Keep Activate on. Turn on Abandoned orders only if you want recovered abandoned orders sent too.
  3. Type a Pixel name and paste the same Pixel ID as your Browser Pixel.
  4. Pick the same Markets and Conversion event type (Lead or Purchase).
  5. Paste your four keys into API key, API key secret, Access token, and Access token secret.
  6. Click Add.

What X receives

  • Your conversion event for each new order, with the value in your store currency.
  • A ViewContent the first time a visitor opens a product, collection, or landing page in a visit.
  • Order events carry the buyer's email and phone in hashed form.
  • The X click ID is sent too when the visitor came from an ad.

Avoid double counting

Storeep gives the browser and server copies of each order the same conversion ID, so X can count it once. Use the same Pixel ID and event type in both apps.

Test your setup

This app has no test mode. Place a real test order, then check your pixel's activity in X Ads Events Manager. It can take some time for events to appear. Cancel the test order afterwards.

Common problems

  • "The pixel id you have entered is incorrect": paste only the Pixel ID, not the pixel code.
  • "The API key you have entered is incorrect" (or the secret or token): copy the key again from the X Developer Portal, without spaces.
  • Server events stopped: the keys were regenerated or the developer app lost Ads API access. Paste the new keys into the entry.

Stále potrebujete pomoc?

Napíšte nám a my vám odpovieme.

Kontaktujte nás