Skip to main content

useBuyerAttributes

The useBuyerAttributes hook fetches shopping preference signals for personalization. Returns genderAffinity (MALE, FEMALE, or NEUTRAL) and categoryAffinities (list of product taxonomy categories the user engages with). Use this data to customize product recommendations, filter content, or tailor messaging. This is privacy-sensitive data derived from the user's Shop activity, always handle respectfully and transparently in your UI.

Caution

This hook requires adding the following scopes to the manifest file:

profile

For more details, see manifest.json.

Anchor to params
params


Was this page helpful?