VYG Docs

Event types

Website, store and custom events you can send to VYG.

Every event has an eventType. The built-in types are listed below. To see available types, including custom types, use GET /v1/event-types (MCP tool list_event_types), with a JSON schema summary for each type.

curl -s "https://api.vyg.app/v1/event-types" \
  -H "Authorization: Bearer $VYG_API_KEY"

This endpoint lists collection event types; it does not register new types. To define webhook events for a data source (a custom integration), see Custom Events.

Storefront events

Sent by the web pixels from shoppers' browsers.

eventTypeWhen it is sent
page_viewedA shopper views a page.
product_viewedA shopper views a product.
collection_viewedA shopper views a collection.
search_submittedA shopper runs a search.
cart_viewedA shopper views their cart.
product_added_to_cartA shopper adds a product to their cart.
product_removed_from_cartA shopper removes a product from their cart.
checkout_startedA shopper starts checkout.
checkout_contact_info_submittedA shopper submits contact details in checkout.
checkout_address_info_submittedA shopper submits an address in checkout.
checkout_shipping_info_submittedA shopper submits shipping details in checkout.
payment_info_submittedA shopper submits payment details in checkout.
checkout_completedA shopper completes checkout.
link_clickedA shortened link in a message is clicked.
updatePropertiesIdentity details (email, phone) are attached to a visitor.
viewA generic page or screen view.
modifyConsentA visitor changes their consent choices.

Store and messaging events

Recorded by VYG from your connected store and from messaging.

eventTypeWhen it is recorded
order_createdAn order is paid.
checkout_abandonedA checkout is abandoned.
checkout_recoveredAn abandoned checkout is completed after VYG messaged the shopper.
cart_updatedA cart changes.
customer_updatedA customer is created or updated in the store.
consent_updatedA customer's marketing consent changes.
subscription_changedA subscription starts, stops or restarts.
refund_issuedA refund is processed on an order.
fulfillment_updatedA fulfillment's status changes.

Your own events

Server-side events can use any eventType made of a letter followed by letters, digits or underscores, up to 64 characters, for example orderShipped or supportTicketClosed. Custom integrations define their event types with event definitions; see Custom Integration.

On this page