--- title: analytics description: >- Provides access to Shopify's [customer event API](/docs/api/web-pixels-api/standard-events) api_name: web-pixels source_url: html: 'https://shopify.dev/docs/api/web-pixels-api/standard-api/analytics' md: 'https://shopify.dev/docs/api/web-pixels-api/standard-api/analytics.md' --- # analyticsinterface Provides access to Shopify's [customer event API](https://shopify.dev/docs/api/web-pixels-api/standard-events) ## Properties * subscribe (eventName: string, event\_callback: Function) => Promise\