getAttributionToken

The attributionToken from the last inbound Button attributed Intent. For attribution to work correctly, you must:

  • Always access this token directly—*never cache it*.
  • Never manage the lifecycle of this token—Button manages the token validity window server-side.
  • Always include this value when reporting orders to your order API.

Return

the last tracked Button attribution token.