Klaviyo
События Klaviyo, синхронизация согласий и подписка на рассылку для Medusa v2.
@hollowpoint-io/medusa-plugin-klaviyo
Klaviyo for Medusa v2: Started Checkout / Placed Order events, consent sync, and a honeypot newsletter endpoint.
Authored by Billy Mahmood. Maintained by Hollowpoint. MIT licensed.
Install
No migrations. If the plugin is installed without / / , subscribers no-op and the subscribe route returns 503.
Built and tested against Medusa .
What you get
- → Started Checkout (once the cart has )
- → Placed Order
- Idempotency stamps on cart/order metadata (, )
- Consent bulk jobs, including Shopify fallback for migrated stores
- with a honeypot field
- Error bodies are never logged (they can echo PII)
Options
| Option | Required | Default | Notes |
|---|---|---|---|
| yes* | Klaviyo private key | ||
| yes* | list for subscribe/unsubscribe jobs | ||
| yes* | used to build product/checkout/order URLs | ||
| no | Klaviyo API revision | ||
| no | prefix for | ||
| no | placeholder | ||
| no | |||
| no | placeholder | ||
| no | off | in-memory per-IP; single-process only — prefer an edge limiter |
*Required for the plugin to actually send. Missing options degrade silently.
Subscribe
is or . A non-empty is treated as a bot and returns without calling Klaviyo.
Rate limiting
This package does not ship a shared rate-limiter. Rate-limit at your edge, or set for a naive in-memory cap (not safe across multiple backend instances).
Develop
Need this installed and wired on a live Medusa store? Hollowpoint does Medusa migrations and plugin work.

