➡️Page Views

Instrumenting Page View lets you visualize user flows and sessions within the Spindl App. These are optional, but give you more insight into user journeys and sources of traffic.

Spindl supports two modes for Page View tracking:

1. Automatic Page View Tracking

You can initialize this once in the app, and Spindl will log Page View events automatically:

spindl.enableAutoPageViews();
  • Check out our examples repo to see how it's implemented in different contexts in Next.js/React or HTML

2. Manual Page View Tracking

You can call this method manually on every page load.

spindl.pageView();

Last updated