承接 convert-cart/analytics 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

convert-cart/analytics

Composer 安装命令:

composer require convert-cart/analytics

包简介

Magento 2 plugin to integrate convertcart

README 文档

README

Magento 2 License Packagist

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

  1. 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 like 1.0.14-beta. The command will be like,

    composer require convert-cart/analytics:1.0.14-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.

  2. 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

  1. Download the latest version of the plugin from the releases page.

  2. Extract the downloaded archive.

  3. Upload the contents to the app/code/convert-cart/analytics directory of your Magento installation.

  4. 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:

  1. Ensure the plugin is enabled: bin/magento module:status Convertcart_Analytics
  2. Clear Magento cache: bin/magento cache:clean
  3. 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.

For Development

Code Quality: PHPCS and PHPCBF

  • PHP_CodeSniffer (PHPCS):
    • Used to check your code for compliance with Magento 2 and PHP coding standards.
    • Run phpcs . in the project root to see all coding standard violations and warnings.
  • PHP Code Beautifier and Fixer (PHPCBF):
    • Used to automatically fix many coding standard violations found by PHPCS.
    • Run phpcbf . in the project root to auto-fix fixable issues.

Note: PHPCS and PHPCBF are installed as development dependencies. If you do not have them globally, you can run them via Composer:

./vendor/bin/phpcs .
./vendor/bin/phpcbf .

After making any changes to the master branch, you can create new version tags (for beta and production) by running the following command:

  bash tagger.sh VERSION_NUMBER

Make sure to replace VERSION_NUMBER with the actual version number you want to create.

convert-cart/analytics 适用场景与选型建议

convert-cart/analytics 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2.42k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2024 年 07 月 18 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 convert-cart/analytics 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 convert-cart/analytics 我们能提供哪些服务?
定制开发 / 二次开发

基于 convert-cart/analytics 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2024-07-18