2017 © Pedro Peláez
 

silverstripe-vendormodule referer-tracker

Referer Tracker

image

cyberduck/referer-tracker

Referer Tracker

  • Friday, October 27, 2017
  • by Ben-Speakman
  • Repository
  • 3 Watchers
  • 5 Stars
  • 2,968 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 2 Open issues
  • 6 Versions
  • 12 % Grown

The README.md

Silverstripe-Referer-Tracker

Track the referer path for visitors in silverstripe, (*1)

Installation

  • Save the folder referer-tracker in your site root
  • Or add the folowing to your composer.json "cyberduck/referer-tracker": "dev-master"
  • Run a dev/build?flush=1
  • Add the following tracking code to the init function of your Page.php
public function init() {
    parent::init(); 
    $this->refererTracker = new refererTracker(function($a, $b) { return \Session::set($a, $b); }, function ($q) { return \Session::get($q); } );
    $this->refererTracker->log();
}

Usage

Returns all referers which are deemed "internal", (*2)

$this->refererTracker->retrieveInternal()

Returns all referers which are deemed "external", (*3)

$this->refererTracker->retrieveExternal()

Convenience method which returns a single, merged array of the above, (*4)

$this->refererTracker->retrieveAll()

The Versions

27/10 2017

4.0.x-dev

4.0.9999999.9999999-dev https://github.com/Cyber-Duck/Referer-Tracker

Referer Tracker

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe tracker path referer silverstripe 4

27/10 2017

4.0.0

4.0.0.0 https://github.com/Cyber-Duck/Referer-Tracker

Referer Tracker

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe tracker path referer silverstripe 4

13/01 2016

dev-master

9999999-dev https://github.com/Cyber-Duck/Referer-Tracker

Referer Tracker

  Sources   Download

BSD-3-Clause

The Requires

 

by John Hamelink

silverstripe tracker path referer

13/01 2016

1.0.2

1.0.2.0 https://github.com/Cyber-Duck/Referer-Tracker

Referer Tracker

  Sources   Download

BSD-3-Clause

The Requires

 

by John Hamelink

silverstripe tracker path referer

13/01 2016

1.0.1

1.0.1.0 https://github.com/Cyber-Duck/Referer-Tracker

Referer Tracker

  Sources   Download

BSD-3-Clause

The Requires

 

by John Hamelink

silverstripe tracker path referer

07/01 2015

1.0

1.0.0.0 https://github.com/Cyber-Duck/Referer-Tracker

Referer Tracker

  Sources   Download

BSD-3-Clause

The Requires

 

by John Hamelink

silverstripe tracker path referer