Developer docs

Shopify & Woo

Any commerce site can load the snippet. Shopify and WooCommerce are connections that map paid orders into the same pipeline. Partner app or webhook secret required. Depth varies by shop.

What each door is for

DoorStatusWhat arrives
Website snippetNowPage, clicks, identify, whatever you track.
ShopifyPartialOAuth, paid-order webhooks, optional customer/product sync. Partner App required.
WooCommercePartialHMAC webhooks. Secret required. No WordPress.org plugin.

Shopify

  1. Connect from Integrations. OAuth. We never ask you to paste an Admin API token into a chat.
  2. Paid orders map to Order Completed with total, optional subtotal, currency. Unpaid, cancelled, and refunded orders are skipped on purpose.
  3. Keep the snippet on the storefront for Page Viewed, Product Viewed, Product Added, and identity after customer login.
js Ajax add-to-cart on a Shopify theme
document.addEventListener("submit", (event) => {
  const form = event.target;
  if (!(form instanceof HTMLFormElement)) return;
  if (!form.action.includes("/cart/add")) return;
  const sku = form.querySelector('[name="id"]')?.value;
  executen.track("Product Added", { variant_id: sku, quantity: 1 });
});

WooCommerce

Connect a webhook secret from Integrations. HMAC on the raw body. We will not pretend a .org plugin exists. Put the snippet in the theme; identify logged-in buyers; let the webhook carry paid orders.

js Woo added_to_cart (theme JS)
jQuery(document.body).on("added_to_cart", function (_e, _fragments, _hash, $button) {
  var sku = $button && $button.data("product_sku");
  var id = $button && $button.data("product_id");
  executen.track("Product Added", { sku: sku, product_id: String(id), quantity: 1 });
});

Catalog rows for HubSpot, Salesforce, Stripe stay labeled Catalog until they are actually connected. A green tick is earned.

IntegrationsTracking Health