convert-cart / analytics
Magento 2 plugin to integrate convertcart
Installs: 44
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 1
Type:magento2-module
Requires
- php: ~5.5.0|~5.6.0|^7.0|^8.0
This package is auto-updated.
Last update: 2024-09-10 08:56:36 UTC
README
Table of Contents
Introduction
Welcome to the Magento 2 Plugin by Convert Cart. This plugin integrates seamlessly with Magento 2 ecommerce websites, enabling the tracking of user behavior. Additionally, it synchronizes crucial data such as product catalogs, order histories, customer profiles, and category information to our servers on a regular basis. This synchronization powers our recommendation engine, providing personalized and data-driven insights to enhance your ecommerce operations.
Features
- Script injection on the frontend for user behavior tracking.
- Token generation for synchronizing product/order/customer/category data to Convert Cart servers for recommendations.
- Product deletion tracking to avoid recommending deleted products to the visitors of the store.
Installation
Composer Installation
-
Run the following command in the root folder of your Magento installation when the domain is added in app.convertcart.com (for production):
composer require convert-cart/analytics
If you're intending to setting up a domain in app-beta.convertcart.com (for beta testing), please use tag name followed by the suffix
-beta
like1.0.7-beta
. The command will be like,composer require convert-cart/analytics:1.0.7-beta
If you wanted to know the exact changes that's needed to setup a beta server on a production tag, you can take a look into this commit.
-
After installing via Composer, run the following commands from the Magento root directory:
php bin/magento maintenance:enable php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f php bin/magento maintenance:disable php bin/magento cache:flush
Manual Installation
-
Download the latest version of the plugin from the releases page.
-
Extract the downloaded archive.
-
Upload the contents to the
app/code/convert-cart/analytics
directory of your Magento installation. -
Run the following commands from the Magento root directory:
bin/magento module:enable Convertcart_Analytics bin/magento setup:upgrade bin/magento setup:di:compile bin/magento setup:static-content:deploy -f bin/magento cache:clean bin/magento cache:flush
Configure Domain Id
Please reach out to your Customer Support Manager to Configure your domain with Convert Cart.
Troubleshooting
If you encounter issues, try the following steps:
- Ensure the plugin is enabled:
bin/magento module:status Convertcart_Analytics
- Clear Magento cache:
bin/magento cache:clean
- Check the logs in
var/log
for any error messages.
Uninstall
Please use the following command to uninstall the plugin and delete all the tables and settings related to the plugin,
bin/magento module:uninstall Convertcart_Analytics
Setting up folder & file permissions,
If you encounter folder permission issues on folder such as cache, please use the following commands to set the appropriate permissions for public files and directories:
-
Goto magento2 directory
find . -type f -exec chmod 644 {} \; find . -type d -exec chmod 755 {} \; find var pub/static pub/media app/etc generated/ -type f -exec chmod g+w {} \; find var pub/static pub/media app/etc generated/ -type d -exec chmod g+ws {} \; chown -R <magento user>:<web server group> . #(usually by default magento user and we user used to be www-data, check it with your server administrator) chmod u+x bin/magento
-
644 sets files to read and write for the owner, and read-only for group and others.
-
755 sets directories to read, write, and execute for the owner, and read and execute for group and others.
Contact
Please contact sales@convertcart.com if any issues occur during the integration process.