@advenue/install-referrer
v0.3.0
Published
Pure-TypeScript parsers for the Google Play Install Referrer string, including Meta (Facebook) encrypted-referrer decoding, used by the [Advenue](https://advenue.io) attribution platform.
Readme
@advenue/install-referrer
Pure-TypeScript parsers for the Google Play Install Referrer string, including Meta (Facebook) encrypted-referrer decoding, used by the Advenue attribution platform.
No native code and no platform dependencies — usable in the mobile SDK and server-side alike.
Install
npm install @advenue/install-referrerUsage
import { extractReferrerProperties } from '@advenue/install-referrer';
const props = extractReferrerProperties({
installReferrer: 'utm_source=meta&utm_content=...',
referrerClickTimestampSeconds: 1750000000,
installBeginTimestampSeconds: 1750000100,
});Docs
License
MIT.
