VYG Docs

Data collection

Send website and server events to VYG.

Send events such as purchases, page views and support updates to build customer profiles and segments. Use this address to send events:

https://cdp.vyg.app

This host only accepts events. Reading customer data happens on the REST API at https://api.vyg.app/v1; see Get started.

Ways to send events

SourceEndpointCredentialPage
Shopify storefrontPOST /cdp/ingestNoneBrowser ingest
Other websitesGET /cdp/vyg.js, then POST /cdp/ingestNoneWeb pixel
Your servers and back-office appsPOST /cdp/eventsA vyg_ API keyServer-side events
  • Shopify stores send storefront events through the VYG web pixel that is installed with the VYG Shopify app. There is nothing to add by hand.
  • Other websites load the VYG web pixel script. It sends page views on its own and gives you vyg.track and vyg.identify for anything else.
  • Servers send batches of events with an API key, for events that do not happen in a browser, such as a shipment or a support ticket.

Use the browser pixel on a registered storefront. Server event requests require a VYG API key. Follow the setup guide for your collection method.

Event types

See Event types or get the list from GET /v1/event-types.

Errors

Collection errors use the same format as REST API errors. See Collect errors.

On this page