PHP
SDK Customization
PageSense SDK provides a flexible configuration model that allows developers to adapt its behavior to suit the needs of their application. While the SDK can be used with minimal setup using the default configuration, applications with stricter ...
Get and Update Project Settings
The getAndUpdateProjectSettings() API is responsible for retrieving the latest project configuration from the PageSense servers and updating the SDK’s internal state accordingly. This ensures that your application always operates with the most recent ...
Track Goal
The trackGoal() method is used to record goal conversions for Full Stack A/B Testing experiments in PageSense. It records the conversion events in PageSense only for the users who qualify for the experiment. This API can be invoked with or without ...
Get Variation Name
The getVariationName() method retrieves the allocated variation name for a given user for a Full Stack A/B Test experiment. This API only provided the variation allocated for the user and does not trigger tracking events to PageSense. You can use ...
Activate Experiment
The activateExperiment() method is used to activate a Full Stack A/B Test experiment for a given user. It evaluates whether the user qualifies for the experiment based on the audience targeting rules and assigns a corresponding variation if the user ...
Initialization of PHP SDK
The PageSenseClient class is the main interface provided by the PageSense PHP SDK to run Full Stack A/B Testing experiments for the users. Before serving variations or tracking goals, the client must be initialized with your project’s configuration, ...
Installation of PHP SDK
The PageSense PHP SDK empowers developers to integrate, run, and analyze Full Stack A/B tests directly from their PHP applications. It offers a simple, secure, and reliable way to connect your PHP applications to the PageSense’s experimentation ...