For the complete documentation index, see llms.txt. This page is also available as Markdown.

Page

Description

This client-side event fires on every Shopify page load, except for product pages, the cart, and checkout.

Instrumentation

This event is implemented with our javascript analytics library. The tracking code is managed in the Shopify storefront theme.

Example:

analytics.page({
  path: '/products/sample',
  referrer: '<https://www.example.com/products/sample?variant=123456789>',
  search: '?variant=123456789',
  title: 'Example Product',
  url: '<https://www.example.com/products/sample?variant=123456789>'
});

Last updated