magma/magento2-cookie-restriction-fix 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

magma/magento2-cookie-restriction-fix

Composer 安装命令:

composer require magma/magento2-cookie-restriction-fix

包简介

Magento 2 module fixing Magento Cookie Restriction bug on Magento 2.1.x versions

README 文档

README

In order to comply with European Cookie Law we have to enable Magento Cookie Restriction Mode.

By enabling Cookie Restriction Mode Magento 2.1.x does not show Google Analytics Tracking code even if user allow cookies.

This is due to bug #5596 (magento/magento2#5596) affecting magento 2.1.x versions.

This module fixes the issue and enable Google Analytics if user gives consent.

Not only Magento Google Analytics module benefits from this fix, but also every module using the standard Magento module Cookie.

Installation

Install module:

composer config repositories.magento2-cookie-restriction-fix git https://github.com/magma/magento2-cookie-restriction-fix.git
composer require magma/magento2-cookie-restriction-fix

Enable module:

./bin/magento setup:upgrade

Cookie Restriciton Mode and third-party modules

In order to comply with Cookie Law every third-party module should block tracking cookies unless the user accepts to save them.

Standard Magento Module Cookie Restriction Mode is meant to do so.

Third party developers can use this mechanism by checking the condition isUserNotAllowSaveCookie provided by the module Magento_Cookie.

Compatibility

Tested on Magento 2.1.8. It should work on older Magento 2.1.x versions.

Suggested modules

统计信息

  • 总下载量: 252
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 3
  • Forks: 2
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-09-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固