Skip to main content

Facebook Pixel And Conversion API

One guide for Meta / Facebook Pixel on CS-Cart:

  1. SonoTrix — Facebook Pixel And conversion API (recommended) — browser Pixel + Conversions API, test mode, multi-storefront
  2. CS-Cart built-in Facebook Pixel — browser-only Pixel ID (legacy / basic)
Avoid double tracking

Do not run both add-ons with the same Pixel ID. If you use the SonoTrix add-on, disable the built-in CS-Cart Facebook Pixel add-on.

What you need from Meta

NeedSonoTrix add-onBuilt-in CS-Cart add-on
Pixel / Dataset IDRequiredRequired
Conversions API Access TokenRequired for server eventsNot used
Test Event CodeOptional (testing)Not used

Part A — Meta (Facebook) setup

Step 1: Open Events Manager and find your Pixel ID

  1. Sign in to Meta Business Suite / Events Manager.
  2. From All Tools, open Events Manager.

Meta Business Suite — open Events Manager

  1. Open Data Sources and select your Pixel (Meta may label this as a Dataset).
  2. Open the Settings tab.
  3. Copy the Dataset ID / Pixel ID (long numeric ID).

Events Manager Settings — copy Pixel / Dataset ID

Step 2: Generate a Conversions API access token (SonoTrix add-on)

Required only for the SonoTrix add-on (not for the built-in browser-only add-on).

  1. Stay on the same Pixel Settings tab.
  2. Scroll to the Conversions API section.
  3. Prefer Set up manually, then click Generate access token.
  4. Copy the token immediately and store it securely (you may not see it again).

You need admin / developer privileges on the business for the generate link to appear.

Settings — Generate access token under Conversions API

Optional: select events when using the Get Started Conversions API wizard

Step 3 (optional): Test Event Code

  1. In Events Manager open the Test Events tab for your Pixel.
  2. Copy the Test Event Code.
  3. Use it only while testing. Leave it empty for live traffic.

Install

  1. Download the Facebook Pixel And conversion API package from SonoTrix.
  2. In CS-Cart admin go to Add-ons → Manage add-ons.
  3. Upload and install the package.
  4. Enable the add-on when installation finishes.
  5. Disable the built-in Facebook Pixel add-on if it is active.

See also: How to Install CS-Cart Add-ons.

Pixel Credentials

Go to Add-ons → Manage add-ons → Facebook Pixel And conversion API → Settings.

  1. Paste Pixel id.
  2. Paste Access Token.
  3. Save.

Pixel Events (browser)

Enable the browser events you want, for example:

  • PageView
  • View content
  • View category
  • Add to cart
  • Add to wishlist
  • Complete registration
  • Search
  • Initiate checkout
  • Purchase

Conversion API Events (server)

Enable matching server events (same names as above). Purchase and key funnel events are usually enough to start; turn on more as needed.

Test Events

  1. Turn on Enable Test Mode while validating.
  2. Paste Test Event Code.
  3. Browse the storefront and place a test order.
  4. Confirm events in Meta Test Events.
  5. Disable test mode and clear the test code for production.

Storefronts Pixels (Ultimate / multi-storefront)

For each storefront choose:

  • Disabled — no pixel for that storefront
  • Default — use the main credentials above
  • Custom — enter a different Pixel ID and Access Token for that storefront

Orders Settings

Map CS-Cart order statuses used for confirmed, canceled, refunded, processing, and completed flows so server purchase-related signals stay consistent with your store workflow.

Verify (SonoTrix)

  1. Open the storefront in a private window and visit a product, add to cart, and checkout.
  2. In Events Manager → Test Events (or Overview), confirm browser and server events arrive.
  3. After go-live, clear the test code and watch Overview / Diagnostics for Event Match Quality improvements.

Part C — Built-in CS-Cart Facebook Pixel (browser only)

Use this only if you need a simple Pixel ID with no Conversions API. For CAPI, test mode, or multi-storefront pixels, use Part B instead and disable this add-on.

Install / enable

  1. In CS-Cart admin go to Add-ons → Manage add-ons.
  2. Find Facebook Pixel (supplier: CS-Cart).
  3. Install if needed, then set status to Active.

Settings

Go to Add-ons → Manage add-ons → Facebook Pixel → Settings → General.

  1. Paste Facebook Pixel Identifier (same Pixel ID from Part A, Step 1).
  2. Enable the tracking options you need:
    • Track all page views
    • Track adding product to cart
    • Track placing order
  3. Save.

No Access Token is required for this built-in add-on.

Verify (built-in)

  1. Install Meta Pixel Helper (or similar).
  2. Visit the storefront and confirm the Pixel ID fires on page view / cart / purchase as enabled.
  3. Confirm the same events in Events Manager Overview.

Official Meta help