To use the Tracker API, install the @wix/referral package using npm or Yarn:
@wix/referral
or
Then import { tracker } from @wix/referral:
{ tracker }