Page cover

Install/Upgrade M2E Analytics Connector

Follow this guide to download and install M2E Analytics Connector into your Magento.

Download the extension from Adobe Commerce marketplace

Step 1. Log in to your Adobe Commerce Marketplace Customer Account.

Step 2. Find M2E Analytics Connector in the Adobe Commerce Marketplace catalog and purchase the extension (it's free).

Step 3. Once your order is placed, click Install.

Step 4. Under Marketplace > Access Keys tab, click Create A New Access Key. The authentication keys will be generated automatically.

Installation

Step 1. Update the composer.json file in your Magento project with the name. For example:

composer require m2e/analytics-connector

Step 2. Enter your Magento authentication keys. Your public key is your username; your private key is your password.

Step 3. Wait for Composer to finish updating your project dependencies and make sure there aren’t any errors:

Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing m2e/analytics-connector: Downloading (100%)
Writing lock file
Generating autoload files

Step 4. Enable the extension and clear static view files:

bin/magento module:enable M2E_AnalyticsConnector --clear-static-content

You should see the following output:

The following modules have been enabled:
- M2E_AnalyticsConnector

To make sure that the enabled modules are properly registered, run 'setup:upgrade'.
Cache cleared successfully.
Generated classes cleared successfully. Please run the 'setup:di:compile' command to generate classes.
Generated static view files cleared successfully.

Step 5. Register the extension:

bin/magento setup:upgrade

Step 6. Recompile your Magento project: In Production mode, you may receive a message to “Please rerun Magento compile command”. Magento does not prompt you to run the compile command in Developer mode.

bin/magento setup:di:compile
bin/magento setup:static-content:deploy

Step 7. Verify that the extension is enabled:

bin/magento module:status M2E_AnalyticsConnector

You should see the output:

Module is enabled

Step 8. Clean the cache:

bin/magento cache:clean

That's it! M2E Analytics Connector is installed. Now you should disable maintenance mode:

bin/magento maintenance:disable

Set up general configurations for your extension and enjoy automated profit calculation on eBay, Amazon, and Walmart.

Upgrade

Step 1. Back up your database (not required, but recommended).

Step 2. Enable maintenance mode:

bin/magento maintenance:enable

Step 3. Run update per module name:

composer update m2e/analytics-connector

Step 4. Run the following commands to upgrade, deploy, and clean the cache.

bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy
bin/magento cache:clean

That's it! M2E Analytics Connector is upgraded to the latest version. Now you should disable maintenance mode:

bin/magento maintenance:disable