Customer Privacy API Use

Topic summary

  • Issue: Developers report they cannot use the customerPrivacy and applyTrackingConsentChange hooks within a checkout extension and are seeking guidance on how to import them.

  • Context: These hooks relate to a Customer Privacy API for handling tracking consent in checkout. No import paths, code samples, or package names were provided or confirmed in the thread.

  • Status/Next steps: Another participant confirms experiencing the same challenge. No solution or workaround has been shared yet; the discussion remains open and needs clarification on the correct import source and usage within checkout extensions.

Summarized with AI on January 4. AI used: gpt-5.

I am unable to use customerPrivacy and applyTrackingConsentChange.

Can you please guide how to import these hooks in checkout extension.

1 Like

I’m also facinng same challenge with my extention