Developer docs

Get the Command Center listening

One snippet. A write key. Events. Then Home has something true to say.

Quick start

  1. 1

    Drop in the snippet

    Publishable key only. Home stays empty until events arrive.

  2. 2

    Identify when you know them

    A stable user id after login. Strong-id merge — not “same browser, same person.”

  3. 3

    Track the shop

    Product, cart, checkout, order. Amounts on the order. Tracking Health leaves holes blank.

html Theme, GTM, or Next.js Script
<script src="https://api.executen.com/sdk/executen.js" data-write-key="pk_live_…" async></script>
js After login
executen.identify("user_123", { name: "Ada" });
js Thanks page — value, not a secret revenue field
executen.track("Order Completed", { value: 154, currency: "USD", sku: "oak-table" });

The client

The snippet hangs a small API on window.executen. Auto-track sends Page Viewed and asks the edge what to show. You add the rest.

js
executen.page(name?);
executen.track(event, properties?);
executen.identify(userId, traits?);
executen.decide(page?);
executen.consent.update({ analytics, personalization, marketing });
EventWho sends it
Page ViewedSDK on load, or page()
Identifyidentify() after login
Product Viewed / Product Added / Checkout StartedYou, on the storefront
Order CompletedYou, or Shopify / Woo paid webhook
Experience Exposed / Experiment AssignedSDK after decide()

Full event reference Platform installs Sales widget

Put a Command Center
on the shop

Tell us about the shop. We’ll send a workspace, then the docs earn their keep.

  • Early access
  • One snippet to start
  • Agents that draft, not wander