Record Attribution

Record where a brand-new account came from. First touch wins.

Fire-and-forget from the client right after sign-in: it never fails the sign-up, it just returns recorded: false when the row already exists or the account is too old to be a genuine sign-up.

post/api/auth/attribution

Request body

referrerstring nullable
landing_pathstring nullable
utm_sourcestring nullable
utm_mediumstring nullable
utm_campaignstring nullable

Response

Successful Response

{"stackTrail":"paths:/api/auth/attribution:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.