proudsugar / mixpanel-php-extended
Extensions for the Mixpanel PHP library
dev-master
2014-02-21 14:59 UTC
Requires
- php: >=5.0
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is not auto-updated.
Last update: 2025-06-17 09:59:53 UTC
README
Extensions for the Mixpanel PHP library. Provides cookie and reserved properties parsing. Most methods reflect their counterpart implementation in Mixpanel.js.
NOTE: This class can be used in production, but coverage is basic. More PHPUnit test cases are underway. Use at your own wisdom.
os(); // returns Operating System string.
device() // returns mobile device or empty string.
browser() // returns browser string or empty string.
referringDomain(); // returns referer domain.
searchInfo(); // returns $search_engine and mp_keyword based on referer.
campaignParams(); // returns utm_* google params based on referer.
getProperties(BOOL); // returns an array with all reserved properties available
– The Proudsugar Team.