Articles on: Cookie Consent
This article is also available in:

πŸ”— Integrate Hoppy Cookie with Amazon Consent Signal

If you run Amazon Ads on your store, Amazon needs to know whether a visitor has agreed to ad-related data use. The Amazon Consent Signal integration in GDPR EU Cookie Banner passes the visitor's consent choice to Amazon's ad tag automatically.



⚠️ Before You Begin


Make sure:


  • GDPR EU Cookie Banner is installed, the App Embed is enabled, and your banner is published
  • The Amazon Ad Tag (amzn.js) is already installed on your store


The integration does not install the Amazon tag for you. It works by detecting the tag you already have.



πŸ› οΈ Step 1 β€” Open the Integration


➑️ Open GDPR EU Cookie Banner


➑️ Click Integrations in the left menu


➑️ Open the Amazon Consent Signal card


The page explains: This integration works automatically by detecting your existing Amazon Ad Tag (amzn.js).



βš™οΈ Step 2 β€” Enable It


There is no ID or code to enter.


➑️ Click Enable so the status reads Amazon Consent Signal is currently Enabled


➑️ Click Save in the save bar



πŸ”„ How It Works


When the page loads and whenever a visitor makes a choice, the banner writes a cookie named amzn_consent. Your Amazon Ad Tag reads this cookie.


The cookie contains:


  • amzn_user_data β€” GRANTED or DENIED
  • amzn_ad_storage β€” GRANTED or DENIED
  • country_code β€” the visitor's country when it is known


Both values follow the Marketing category:


  • Marketing accepted β†’ GRANTED
  • Marketing declined β†’ DENIED


The cookie is updated whenever the visitor changes their choices.



πŸ§ͺ Step 3 β€” Test the Integration


You can also open View guide under Step 2: Test if integration with Amazon Consent Signal works successfully.


Test with Accept


➑️ Open your storefront in an Incognito or Private window


➑️ Open the browser console (press F12)


➑️ Click the accept button in the banner (default text: Accept)


➑️ Type document.cookie and press Enter


Expected result: the text contains amzn_consent= with the status GRANTED.


Test with Decline


➑️ Open a fresh Incognito or Private window


➑️ Decline marketing cookies


➑️ Type document.cookie in the console


Expected result: the text contains amzn_consent= with the status DENIED.



πŸ› οΈ Troubleshooting


No amzn_consent cookie


  • Check that the status is Enabled and you clicked Save
  • Make sure the banner is published and you are in a region where it is shown. Visitors outside your selected regions are not managed by the banner
  • Reload the page. The cookie is written when the page loads (as DENIED until Marketing is accepted, or as GRANTED with the Decline only banner type) and updated after each choice


The cookie is there but Amazon reports no consent signal


The integration only writes the cookie. Confirm that your Amazon Ad Tag is installed correctly and check your Amazon Ads setup. If you need more help, contact support through the chat widget.


Both values show DENIED after accepting


Make sure the visitor accepted Marketing. Accepting only Analytics does not grant Amazon consent.



⚠️ Important Notes


  • Only the Marketing category controls this integration
  • The integration does not load or block the Amazon tag itself
  • Consent updates are applied whenever the visitor changes their choice



πŸŽ‰ Final Result


βœ… Amazon receives each visitor's consent choice through the amzn_consent cookie


βœ… No code changes are required


βœ… Ad measurement can respect visitor privacy choices

Updated on: 27/11/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!