Skip to main content

Tracking conversions with CartPanda

Cartpanda is a built-in checkout in AtomicPlayer revenue tracking. The player adds a click key to Cartpanda buy links. Cartpanda sends the sale back to a webhook, and AtomicPlayer ties the approved sale to the video the viewer clicked. Revenue tracking is available on Standard and Scale.

Connect Cartpanda​

  1. Open Integrations & APIs → Revenue.
  2. In Checkout, choose Cartpanda.
  3. Keep Parameter on src. This is the parameter Cartpanda returns.
  4. Select Connect. A card for Cartpanda appears with its webhook URL.
  5. Copy the webhook URL. It contains a secret token. Treat it like a password.

Revenue → Checkout

Set up the webhook in Cartpanda​

  1. In Cartpanda, open Admin → Notifications → Webhooks.
  2. Send order.paid and order.refunded to the webhook URL.

Cartpanda keeps src and sck on the checkout link, including stores on mycartpanda.com.

The player recognizes links to pay.cartpanda.com, checkout.cartpanda.com, and mycartpanda.com, including their subdomains. When a viewer clicks one, the player writes a click key into src and then opens the checkout. This works for buttons inside the player. With the JavaScript embed, it also works for buy links on the page around the player. A link that already carries a click key keeps it. A click key stays valid for 30 days.

Test and check the connection​

Select Send test sale on the Cartpanda card. A test order of 97.00 in your reporting currency appears under Recent orders with a Test label. Select Remove test to delete it.

The card status starts as Waiting for first sale. It changes to Live when webhooks arrive. Needs attention means the last webhook failed, and the card shows Last webhook with the reason. An approved sale without a click key is listed but left out of revenue. Select Remove to disconnect Cartpanda.

CTA click webhooks​

The conversion.fired event in Integrations & APIs → Webhooks is a different signal. It fires when a viewer clicks a player CTA and carries button metadata only, with no amount. Use revenue tracking for sales.

Frequently asked questions​

Does AtomicPlayer record Cartpanda sales as revenue?

Yes. Connect Cartpanda under Integrations & APIs → Revenue and add the webhook URL in Cartpanda. Approved sales are tied to the last video click and appear in Analytics → Revenue.

Which plan do I need?

Revenue tracking is available on Standard and Scale.

Why is a sale not tied to a video?

Cartpanda did not return the click key in src, or the click is older than 30 days. Check that the buy link points at a Cartpanda domain and that the parameter is kept.

How do I test the setup?

Select Send test sale on the card. Remove the test order afterwards with Remove test.