如何防止Prestashop放置分析型Cookie?

huangapple go评论61阅读模式
英文:

How do i prevent Prestashop from placing analytics cookies?

问题

我正在设置一个Prestashop网店。

当我检查我的店铺使用了哪些cookie时,我得到了(1) PHPSESSID和(2) Prestashop-* (iubenda)。

第二个是一个分析cookie,通过使用它,我将能够让用户接受或拒绝使用这个cookie,以符合欧盟GDPR法律的要求。
我不想使用cookie进行分析,因此没有必要打扰我的客户弹出同意横幅。

我想阻止我的网店安装分析cookie。

我已经卸载了与用户账户有关的任何模块(我能找到的)。

有什么解决办法吗?

我已经禁用了与用户账户相关的模块(我能找到的)。
我尝试使用不同的术语在StackOverflow和Google上搜索,但只找到过时的答案。
Prestashop的GDPR模块没有帮助(或者我可能没有正确使用它)。

英文:

I am setting up a Prestashop webshop.

When I check what cookies my shop uses I get (1) PHPSESSID and (2) Prestashop-* (iubenda).

The second one is an analytics cookie and by using it I will have to be able to make my user accept or decline the use of this cookie to comply with EU GDPR law.
I do not (want to) use cookies for analytics and it is therefore unnecessary to bother my customers with a consent banner.

I want to prevent my webshop from installing the analytics cookie.

I have uninstalled any module (that I could find) that had anything to do with user accounts.

Any solutions?

I have disabled modules concerning user accounts (those that I could find.)
I have tried searching StackOverflow and Google with different terms but only outdated answers come up.
Prestashops GDPR module didn't help (or maybe I didn't use it right?)

答案1

得分: 0

Prestashop的干净安装只会保存***"Prestashop-xxxx"*** cookie(包含用户会话的加密信息)和PHPSESSID用于会话。

因此,其他写入的cookie肯定是您安装的第三方模块的结果。

您可以通过检查集成到hookHeader中的模块来验证这一点。

为了推迟加载此类cookie,有许多与cookie和欧洲法规相关的特定模块,允许您推迟加载某些hook,直到接受政策。您可以在官方Addons中找到它们,所以我不会重复造轮子。

英文:

A clean installation of Prestashop will only save the "Prestashop-xxxx" cookie (containing encrypted information about the user's session) and PHPSESSID for the session.

Therefore, any other cookies that are written are certainly a result of third-party modules you have in place.

You can verify this by checking the modules integrated into the hookHeader especially.

To defer the loading of such a cookie, there are dozens of specific modules related to cookies and European legislation that allow you to postpone the loading of certain hooks until the policy is accepted. You can find them in official Addons, so I wouldn't reinvent the wheel.

huangapple
  • 本文由 发表于 2023年8月9日 06:55:27
  • 转载请务必保留本文链接:https://go.coder-hub.com/76863625.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定