Skip to main content
Fires when a visitor loads a page. This is the foundation of all analytics — every page load should trigger this event.
Shopify: Automatically tracked by the Upstack Pixel on all page loads.

JavaScript

window._upstack('page');
With custom properties:
window._upstack('page', {
  pageCategory: 'product',
  collectionHandle: 'summer-2026'
});

Properties

PropertyTypeRequiredDescription
pageCategorystringNoPage type (e.g., 'product', 'collection', 'blog')
collectionHandlestringNoCollection identifier for collection pages

Auto-Captured

The SDK automatically captures page_url, page_title, page_referrer, and page_path.

When to Fire

  • On initial page load
  • On SPA route changes
  • After dynamic content loads (infinite scroll)