PHP code example of dirk / rangefinder-sst

1. Go to this page and download the library: Download dirk/rangefinder-sst 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/ */

    

dirk / rangefinder-sst example snippets




// Early in your code
Rangefinder\Track1::$clientKey  = SERVER-SIDE TRACKING KEY;
Rangefinder\Track1::$clientSite = SITE ID;
Rangefinder\Track1::track();
// Right before the </body>
Rangefinder\Track1::code()