ScaleBun
Skip to article

Attribution

webDeveloper

The ScaleBun.attribution namespace — 2 members.

Updated Reviewed
TypeScript
import ScaleBun from '@scalebun/web';
ScaleBun.attribution.<method>(…);

Members#

MemberSignature
getInstallationIdgetInstallationId(): string
setClickIdsetClickId(id: string): void

Reference#

getInstallationId#

TypeScript
ScaleBun.attribution.getInstallationId(): string

The stable install id (seeded from the device id on first run).

setClickId#

TypeScript
ScaleBun.attribution.setClickId(id: string): void

Set 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.

Attribution · API reference · Web SDK · ScaleBun