PHPackages                             cyberduck/referer-tracker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. cyberduck/referer-tracker

ActiveSilverstripe-module[Utility &amp; Helpers](/categories/utility)

cyberduck/referer-tracker
=========================

Referer Tracker

4.0.0(8y ago)621.0k1[1 issues](https://github.com/Cyber-Duck/referer-tracker/issues)[2 PRs](https://github.com/Cyber-Duck/referer-tracker/pulls)BSD-3-ClausePHPPHP &gt;=5.6

Since Jan 7Pushed 1y ago3 watchersCompare

[ Source](https://github.com/Cyber-Duck/referer-tracker)[ Packagist](https://packagist.org/packages/cyberduck/referer-tracker)[ Docs](https://github.com/Cyber-Duck/Referer-Tracker)[ RSS](/packages/cyberduck-referer-tracker/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (1)Versions (7)Used By (0)

Silverstripe-Referer-Tracker
============================

[](#silverstripe-referer-tracker)

Track the referer path for visitors in silverstripe

Installation
------------

[](#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
-----

[](#usage)

Returns all referers which are deemed "internal"

```
$this->refererTracker->retrieveInternal()
```

Returns all referers which are deemed "external"

```
$this->refererTracker->retrieveExternal()
```

Convenience method which returns a single, merged array of the above

```
$this->refererTracker->retrieveAll()
```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance25

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 75% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~256 days

Total

5

Last Release

3162d ago

Major Versions

1.0.2 → 4.0.02017-10-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/27ef1eafa7cfeb2a4d815ff6329e472795ab626f27504a1467f0df43fded7d7e?d=identicon)[Ben-Speakman](/maintainers/Ben-Speakman)

---

Top Contributors

[![threesquared](https://avatars.githubusercontent.com/u/892142?v=4)](https://github.com/threesquared "threesquared (6 commits)")[![sileence](https://avatars.githubusercontent.com/u/237530?v=4)](https://github.com/sileence "sileence (2 commits)")

---

Tags

silverstripepathtrackerreferersilverstripe 4

### Embed Badge

![Health badge](/badges/cyberduck-referer-tracker/health.svg)

```
[![Health](https://phpackages.com/badges/cyberduck-referer-tracker/health.svg)](https://phpackages.com/packages/cyberduck-referer-tracker)
```

###  Alternatives

[silverstripe/userforms

UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code

1321.1M83](/packages/silverstripe-userforms)[symbiote/silverstripe-gridfieldextensions

A collection of useful grid field components

951.9M264](/packages/symbiote-silverstripe-gridfieldextensions)[silverstripe/tagfield

Tag field for SilverStripe

561.3M50](/packages/silverstripe-tagfield)[jonom/silverstripe-betternavigator

Front-end utility menu for Silverstripe websites featuring administration and development tools

59429.0k12](/packages/jonom-silverstripe-betternavigator)[cyber-duck/silverstripe-seo

A SilverStripe module to optimise the Meta, crawling, indexing, and sharing of your website content

4251.3k](/packages/cyber-duck-silverstripe-seo)[lekoala/silverstripe-cms-actions

Add actions to your models in SilverStripe

39317.0k29](/packages/lekoala-silverstripe-cms-actions)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
