# Integration Every page of this site is also served as Markdown. The whole site in one file: [llms-full.txt](/llms-full.txt) ## Pages - [Segmentify Integration](/index.md): Documentation for the Segmentify Integration library. - [Introduction](/01-introduction.md): This guide will help you set up the Segmentify integration library in your project. - [Configuration](/02-configuration.md): Simple configuration example. - [Page Mapping](/03-page-mapping.md): Page mapping defines how URLs on your site map to Segmentify page types. When configured, the library automatically detects the current page and sends the appropriate tracking event. - [SPA Mode](/04-spa-mode.md): Single Page Applications handle navigation client-side without full page reloads. The library has built-in SPA support to re-detect page types on route changes. - [Events](/05-events.md): The `Events` class provides methods for tracking all types of user interactions on your e-commerce site. Every event is enriched with device info, session data, referrer, and user context before being sent to the Segmentify API. - [User Identification](/06-user-identification.md): The library manages user sessions and identity tracking automatically via cookies and the Segmentify API. - [Error Handling](/07-error-handling.md): The library provides built-in error tracking at multiple levels, reporting client-side errors back to the Segmentify API. - [ReactiveStore](/08-reactive-store.md): ReactiveStore is an in-memory key-value store backed by the window object with Proxy-based validation. The library uses it internally to hold configuration and runtime state. - [PersistedStore](/09-persisted-store.md): PersistedStore is a thin static wrapper around window.localStorage for persisting data across page reloads. - [Queue](/10-queue.md): The `Queue` class is a generic FIFO (First-In, First-Out) linked list used internally by the `Events` class to process tracking events in order. - [Logger](/11-logger.md): The `Logger` class provides structured console logging with prefixes and grouping. All output is gated behind the `debug` config flag — when off, nothing is logged. - [Copy for LLMs](/copy-for-llms.md): Give this documentation, or a Google Doc, to an LLM as clean Markdown