Magento Cookie 同意横幅

将 UniConsent 的 Cookie 横幅与 Magento 集成,确保您的电子商务商店符合 GDPR、CCPA、LGPD 和欧盟 Cookie 法。

说明
Use UniConsent Cookie Banner on Magento
Microsoft certified CMP - UniConsent CMPIAB certified CMP - UniConsent CMPIAB TCF V2 certified CMP - UniConsent CMPIAB TCF Canada certified consent manager - UniConsent CMPGoogle-certified CMP Gold tire - UniConsent CMPGoogle-certified CMP partner

如何设置

1. 获取 UniConsent CMP 安装代码

First, login to your UniConsent account, go to Consent Manager > My Websites, click Manage.

Second, click Install & Setup and copy the cmp code in the black area.

UniConsent Installation

2. 在 Magento 上添加 UniConsent 横幅

访问 Magento 管理面板:

Log in to your Magento backend admin panel.

导航到内容配置:

Go to Content > Design > Configuration. Select the store view where you want to add the cookie banner (e.g., Main Website).

编辑 HTML Head:

Click on Edit next to your chosen store view. Scroll down to the HTML Head section.

插入 UniConsent CMP 代码:

In the Scripts and Style Sheets field, paste the CMP code you copied from UniConsent. Ensure the code is placed just below the <head> tag to load it correctly.

保存配置并刷新缓存:

Click Save Configuration to apply the changes. Flush the Magento Cache by navigating to System > Cache Management and clicking Flush Magento Cache.

测试实施效果:

Visit your website to verify that the UniConsent cookie banner appears and functions as intended.