Agent setup: authorize Sight MCP and ask your agent to call
get_tracking_setup. It configures this integration automatically.
Woocommerce
Standalone WordPress plugin: the same pageview collector as
sight-wordpress, plus
WooCommerce events (add_to_cart, begin_checkout, purchase).
You do not need both plugins. If the generic WordPress plugin is
already active, this one skips a second /script.js enqueue so pageviews
aren't double-counted.
Part of Sight — see
sightapp/sight-backend
SPEC.md and tasks/plan.md (Track B, sight-woocommerce).
Install
- WooCommerce must be installed and active.
- Drop this folder in
wp-content/plugins/sight-woocommerce(or zip-upload). - Activate Sight Analytics for WooCommerce.
- WooCommerce → Sight Analytics — paste the project's API key.
Events
Custom events are names only — no cart value/currency payload in this version. Revenue still comes from a connected Stripe/Lemon Squeezy/Polar integration on the Sight dashboard, not from these storefront events.
Verify
Add a product to the cart on the storefront, then:
You should see add_to_cart (and a pageview) within a few seconds.