Download the PHP package clicktrail/php-sdk without Composer
On this page you can find all versions of the php package clicktrail/php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download clicktrail/php-sdk
More information about clicktrail/php-sdk
Files in clicktrail/php-sdk
Package php-sdk
Short Description ClickTrail deterministic attribution core and PHP SDK - parse, classify and merge first/last-touch attribution; event ingestion contracts.
License MIT
Informations about the package php-sdk
中文
Index
- Why
- Installation
- Attribution capture
- Consent gating
- Delivery
- Fixture parity
- Testing
- License
Why
ClickTrail is the open-source attribution handoff layer that keeps observed acquisition context attached to conversion records inside the stack you own. This PHP package carries the same deterministic first-touch / last-touch contract into PHP applications, validated field-by-field against the golden fixtures shared with the WordPress plugin and GTM templates.
Installation
Attribution capture
A direct visit afterwards changes nothing — first touch stays, stored last touch persists. That is the merge law, tested, not promised.
Consent gating
Unknown consent is denied by default. Snapshots travel with the lead, so months later the conversion worker knows exactly which permissions existed at capture.
Delivery
Failed batches are captured by your adapter's persistence layer via pending() / restore() and replayed after diagnosis.
Fixture parity
bin/replay-fixtures.php replays the clicktrail-js golden fixtures: currently 12/12 fixtures, 57/57 fields MATCH. Ledger: docs/FIXTURE-PARITY-LEDGER.md. Classifier changes are MAJOR releases, by definition.
Testing
License
MIT.
All versions of php-sdk with dependencies
psr/http-client Version ^1.0
psr/http-factory Version ^1.0
psr/log Version ^3.0