PHPackages                             onlineactivitybv/php-advertiserpostback - 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. onlineactivitybv/php-advertiserpostback

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

onlineactivitybv/php-advertiserpostback
=======================================

PHP Library to setup postback tracking

v2.0.3(7y ago)11.2kMITPHPPHP &gt;=7.0

Since Jan 25Pushed 7y ago1 watchersCompare

[ Source](https://github.com/onlineactivitybv/php-advertiserpostback)[ Packagist](https://packagist.org/packages/onlineactivitybv/php-advertiserpostback)[ RSS](/packages/onlineactivitybv-php-advertiserpostback/feed)WikiDiscussions v2 Synced yesterday

READMEChangelogDependenciesVersions (10)Used By (0)

php-advertiserpostback
======================

[](#php-advertiserpostback)

PHP Library to setup postback tracking

[Postback concept explained](doc/postbackconcept.md)

### Installation

[](#installation)

Composer:

```
$ composer require onlineactivitybv/php-advertiserpostback "^2"

```

#### Requirements

[](#requirements)

PHP 7.0+, Curl

### Usage

[](#usage)

Init:

```
require __DIR__ . '/vendor/autoload.php';

use OnlineActivityBV\AdvertiserPostback\AdvertiserPostback;

$oa = new AdvertiserPostback(
	 'abdddsdsdsjhdshjshj33jhhjdshjc', /* Here credentials provided by OA **/
     'oa6.nl', /* tracking domain, provided by OA */
     'oa_clickid' /* $_GET variable name used to send click id to lander **/);
```

---

Landingpage:

Add this code to the TOP of your landing page (sets cookie so needs to be before any other output.

```
$oa->landingPage();
```

---

Thank you page:

Save OA ClickId to your database and link to conversion

```
$clickId = $oa->getClickId();
```

With ClickID you can either choose to run postback on thank you page or you can call the postback on a later moment, with the clickId extracted from your database.

```
// first outout thank you HTML.
fastcgi_finish_request(); // optional, recommended not to delay output of thank you HTML.
$conversionStatus = $oa->addConversion($lead_id = 376, $eventId, $clickId);
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~46 days

Recently: every ~82 days

Total

9

Last Release

2661d ago

Major Versions

v1.0.2 → v2.0.0-beta2018-03-02

### Community

Maintainers

![](https://www.gravatar.com/avatar/6364406b2d7c66f8d8c6d4523f86c91d1ea7709a809bf7e878b3c370bbd94604?d=identicon)[blaaat](/maintainers/blaaat)

---

Top Contributors

[![blaaat](https://avatars.githubusercontent.com/u/277820?v=4)](https://github.com/blaaat "blaaat (12 commits)")

### Embed Badge

![Health badge](/badges/onlineactivitybv-php-advertiserpostback/health.svg)

```
[![Health](https://phpackages.com/badges/onlineactivitybv-php-advertiserpostback/health.svg)](https://phpackages.com/packages/onlineactivitybv-php-advertiserpostback)
```

###  Alternatives

[jildertmiedema/laravel-tactician

Tactician for laravel 8+

105.0k](/packages/jildertmiedema-laravel-tactician)[datatables.net/datatables.net-bs

DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, which will add advanced interaction controls to any HTML table. This is DataTables with styling for \[Bootstrap\](https://getbootstrap.com/docs/3.3/)

161.4k14](/packages/datatablesnet-datatablesnet-bs)

PHPackages © 2026

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