Skip to content

#118 — Persist referral code in URL query param #154

@IbrahimIjai

Description

@IbrahimIjai

Description:
If the URL has ?ref=CODE, store the referral code in localStorage and pre-fill applyReferralCode on first trade confirmation. Enables affiliate link sharing.

Acceptance criteria:

  • ?ref= param read in the Trade route loader
  • Code stored in localStorage under so4-referral-code
  • Auto-applied on first createIncreaseOrder if not already registered

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions