2017 © Pedro Peláez
 

library rangefinder-sst

Server-side tracking for Rangefinder (rangefinderapp.com)

image

dirk/rangefinder-sst

Server-side tracking for Rangefinder (rangefinderapp.com)

  • Wednesday, February 12, 2014
  • by dirk
  • Repository
  • 1 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Rangefinder Server-Side Tracking for PHP

Rangefinder's server-side tracking allows you to record basic visitor information for every visitor, even those who block Rangefinder's client-side JavaScript. The client-side analytics fills in extra details, such as screen dimensions and page title, when/if it runs., (*1)

Installation

This library is designed to run on PHP 5.3 or newer. However, it should work with older versions with one minor change., (*2)

With Composer

Simply require dirk/rangefinder-sst in your composer.json., (*3)

Basic installation

Download the latest version of the tracking library (it's just a single file) and upload it to your server. Then you can just require it in your code:, (*4)

require_once 'path/to/Track1.php';

Usage

The server-side tracking runs in two parts. First is sends off a tiny UDP packet to Rangefinder with the basic visit information, then it provides the <script> tag with the ID of that packet., (*5)

// 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()

License

Licensed under the New BSD License. See LICENSE for details., (*6)

The Versions

12/02 2014

dev-master

9999999-dev https://github.com/rangefinder/rangefinder-sst-php

Server-side tracking for Rangefinder (rangefinderapp.com)

  Sources   Download

BSD-3-Clause

by Dirk Gadsden

api analytics

12/02 2014

0.1.1

0.1.1.0

Server-side tracking for Rangefinder (rangefinderapp.com)

  Sources   Download

proprietary

by Dirk Gadsden

12/02 2014

0.1.0

0.1.0.0

Server-side tracking for Rangefinder (rangefinderapp.com)

  Sources   Download

proprietary

by Dirk Gadsden