Web pixel extension

Pixels are JavaScript code snippets that run on the online store that collect behavioral data, referred to as customer events, for marketing campaign optimization and analytics.

Previously, pixels required merchants and Partners to modify an online store’s theme code, which was a difficult and error prone process. Often this code was broken, unmaintained or forgotten.

The aim of the Web Pixel Extension is to provide Partners with a simplified process for managing and processing behavioral data, by loading pixels in a secure sandbox environment with APIs for subscribing to customer events. With this aim Web Pixel Extensions are meant to provide the following benefits to merchants and Partners:

  • Eliminate or minimize requiring merchants to add tracking code
  • Securely access all surfaces, like storefront, checkout and post-purchase pages
  • Control what data Partners have access to
  • Compatible with our Customer Privacy API, for requiring consent as needed
  • Avoid incidents with performance and privacy alerts
  • Lighter pixel code libraries with the removal of excess DOM manipulation code