Language: English

๐Ÿ”— 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) 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