anasstouaticoder / magento2-module-referrer-tracker
用于跟踪来自社交媒体和市场的外部引用者的扩展
1.0.7
2024-05-27 08:19 UTC
Requires
- php: ^7.4 || ^8.0 || ^8.1 || ^8.2
- anasstouaticoder/magento2-module-base: ^1.1
- magento/framework: 103.0.*
- magento/module-customer: 103.0.*
- magento/module-sales: 103.0.*
README
跟踪您的网络商店中的引用者域名
``anasstouaticoder/magento2-module-referrer-tracker``
主要功能
用于跟踪来自社交媒体或市场的外部引用者的扩展
安装
* = 在生产中请使用 --keep-generated
选项
类型 1:Zip 文件
- 将 zip 文件解压到
app/code/AnassTouatiCoder
- 运行
php bin/magento module:enable AnassTouatiCoder_ReferrerTracker
以启用模块 - 运行
php bin/magento setup:upgrade
以应用数据库更新 * - 运行
php bin/magento cache:flush
以清除缓存
类型 2:Composer
- 运行
composer require anasstouaticoder/magento2-module-referrer-tracker
以安装模块 composer - 运行
php bin/magento module:enable AnassTouatiCoder_ReferrerTracker
以启用模块 - 运行
php bin/magento setup:upgrade
以应用数据库更新 - 运行
php bin/magento cache:flush
以清除缓存
配置
- 在后台办公室
-要启用跟踪客户注册,请转到“商店”=>“配置”=>“ATOUATI 工具”=>“客户注册”,选择“是”并保存。-要跟踪客户在网站上下达新订单时的情况,请转到“商店”=>“配置”=>“ATOUATI 工具”=>“订单成功”,选择“是”并保存。-如果您想排除某些域名,请转到“商店”=>“配置”=>“ATOUATI 工具”=>“排除外部域名”,添加一些域名并保存。
- 使用 CLI:-当客户在网站上注册时启用跟踪:
bin/magento config:set 'anasstouaticoder_trackreferrerorigin/general/order' 1
-当客户在网站上下达新订单时启用跟踪:bin/magento config:set 'anasstouaticoder_trackreferrerorigin/general/order' 1
规格
属性
-
平面模型:-sales_order => atouati_external_origin -sales_order_grid => atouati_external_origin
-
EAV 模型:-Customer entity => atouati_external_origin