anasstouaticoder / magento2-module-referrer-tracker
Extension for tracking external Referrers coming from socials media and marketplaces
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
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
Track referrer Domains in your web shop
``anasstouaticoder/magento2-module-referrer-tracker``
Main Functionalities
Extension for tracking external Referrers coming from socials medai or marketplaces
Installation
* = in production please use the --keep-generated
option
Type 1: Zip file
- Unzip the zip file in
app/code/AnassTouatiCoder
- Enable the module by running
php bin/magento module:enable AnassTouatiCoder_ReferrerTracker
- Apply database updates by running
php bin/magento setup:upgrade
* - Flush the cache by running
php bin/magento cache:flush
Type 2: Composer
- Install the module composer by running
composer require anasstouaticoder/magento2-module-referrer-tracker
- enable the module by running
php bin/magento module:enable AnassTouatiCoder_ReferrerTracker
- apply database updates by running
php bin/magento setup:upgrade
- Flush the cache by running
php bin/magento cache:flush
Configuration
- In Back Office:
-To enable tracking customer registration, go to Stores => Configuration => ATOUATI Tools => Customer Registration and select Yes then save. -To enable tracking customer when they passe a new order, go to Stores => Configuration => ATOUATI Tools => Order Success then select Yes then save. -If you want to exclude domains then, go to Stores => Configuration => ATOUATI Tools => Exclude External Domains and add some domains then save.
- Using CLI:
-Enable tracking customers when they register in the website
:
bin/magento config:set 'anasstouaticoder_trackreferrerorigin/general/order' 1
-Enable tracking customers when they passe a new order in the website
: bin/magento config:set 'anasstouaticoder_trackreferrerorigin/general/order' 1
Specifications
Attributes
-
Flat Models: -sales_order => atouati_external_origin -sales_order_grid => atouati_external_origin
-
EAV Models: -Customer entity => atouati_external_origin