PHP code example of delocalzrt / owa-php-sdk
1. Go to this page and download the library: Download delocalzrt/owa-php-sdk library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
delocalzrt / owa-php-sdk example snippets
$config = [
'instance_url' => 'http://your.domain.com/owa/',
'cookie_domain' => 'your.domain.com'
];
$sdk = new OwaSdk\sdk($config);
$tracker = $sdk->createTracker();
$tracker->setSiteId('9ceefbab8a804bc03cb0be196abe12f8');
$tracker->setPageTitle('Standalone PHP Test Page3');
$tracker->trackPageView();