Installation

The Tracking API allows you to send data to GoSquared from any platform, such as:

If there isn't a module available for your platform you can also interact with the GoSquared API via Segment.

Download the SDK and extract it to an appropriate folder in your project. Somewhere on your include_path is best.

Adjust the require_once statement if necessary so it resolves to the path where you placed the SDK.

require_once('gosquared-php-sdk/main.php');

// initialise with your config
$GS = new GoSquared(array(
  'site_token' => 'GSN-106863-S',
  'api_key' => 'demo'
));

// good to go - call functions on $GS object