PageSense Node.js SDK — Overview

PageSense Node.js SDK — Overview

What is FullStack A/B Testing?

Most A/B testing happens in the UI — swap a button color, test a headline. FullStack A/B testing goes deeper. It lets you run experiments directly in your application code: backend logic, APIs, pricing models, algorithms, recommendation engines, feature flags — all testable.

In a FullStack A/B test:
  • Users are bucketed deterministically into experiment variations.
  • Each variation implements a different behaviour or feature.
  • Goal tracking tells you which variation actually performs better.
Common use cases:
  • Testing different API behaviours
  • Comparing pricing models
  • Optimising algorithms and recommendation engines
  • Running backend performance experiments

How the Node.js SDK fits in

The PageSense Node.js SDK is a lightweight wrapper over the PageSense REST APIs. Drop it into any Node.js backend, and your application can run experiments, serve variations, and track conversions — entirely server-side, no client integration needed.
It handles all communication with PageSense internally. You write application logic; the SDK handles the experimentation layer.

What you get:
  • FullStack A/B testing with minimal setup.
  • Automatic sync of project settings and experiment configurations.
  • Real-time capture of user interactions and conversion events.
  • User attribute storage for audience targeting and report segmentation.
At runtime, the SDK:
  • Fetches all active experiments from your PageSense project.
  • Determines the right variation for each user.
  • Tracks goal completions and experiment events.
  • Sends metrics and activity data back to PageSense for reporting.





We’ve designed this documentation to guide you every step of the way. If you need further assistance or have any questions, don’t hesitate to contact us at support@zohopagesense.com - we’re always here to help!