@spindl-xyz/attribution-lite
Version:
Web3 Attribution SDK
12 lines (11 loc) • 1.09 kB
TypeScript
import { Config } from "../../../core";
export declare const pageView: () => Promise<boolean>, enableAutoPageViews: (props?: {
trackReplaceState?: boolean;
}) => () => void;
export declare const attribute: (address: string) => Promise<boolean>, enableAutoWalletConnects: () => () => void;
export declare const checkReferrerCode: (code: string) => Promise<boolean>, createReferrerCode: (address: string, code?: string) => Promise<string>, getReferrerAddress: (code: string) => Promise<string>, getReferrerAttribution: (address: string) => Promise<string>, getReferrerHistory: (address: string) => Promise<import("@spindl-xyz/sdk-core").ReferrerHistory[]>, getReferrerStats: (address: string) => Promise<import("@spindl-xyz/sdk-core").ReferrerStats>, getReferrerCode: (address: string) => Promise<string>, validateReferrerCode: (slug?: string) => boolean;
export declare const track: (name: string, properties?: Record<string, any>, identityProps?: {
address?: string;
customerUserId?: string;
}) => Promise<boolean>;
export declare function configure(initialConfig: Config): void;