Attribution
webDeveloper
The ScaleBun.attribution namespace — 2 members.
TypeScript
import ScaleBun from '@scalebun/web';
ScaleBun.attribution.<method>(…);Members#
| Member | Signature |
|---|---|
getInstallationId | getInstallationId(): string |
setClickId | setClickId(id: string): void |
Reference#
getInstallationId#
TypeScript
ScaleBun.attribution.getInstallationId(): stringThe stable install id (seeded from the device id on first run).
setClickId#
TypeScript
ScaleBun.attribution.setClickId(id: string): voidSet the deferred deep-link attribution token (auto-captured from ?scalebun_click_id= at init; this is for hosts running their own redirect). Rides every subsequent event → deterministic attribution.