ThoughtMetric

Install tracking

Install on Magento 2

Install the ThoughtMetric extension on a Magento 2 store.

ThoughtMetric integrates with Magento 2 via a plugin. A developer needs to install this plugin into the Magento source code by following the steps below.

  1. Create a ThoughtMetric account

    Go to the ThoughtMetric sign-up page and sign up.

  2. Select the Magento platform

    After you sign up, you are directed to an onboarding guide. Click the Magento button to view the installation instructions for that platform.

    Install on Magento 2 screenshot 1
  3. Navigate to your Magento 2 installation folder on your server.

  4. Add the ThoughtMetric repository

    Add the ThoughtMetric repository to the composer sources.

    composer config repositories.thoughtmetric-magento git 'https://github.com/thoughtmetric/thought-magento.git'
  5. Install the ThoughtMetric plugin

    composer require thoughtmetric/integration:dev-master
  6. Upgrade your Magento modules

    bin/magento setup:upgrade
  7. Open the ThoughtMetric admin panel in Magento

    Navigate to Stores → Configuration, change the scope to the Main Website level, then click ThoughtMetric Reporting.

    Install on Magento 2 screenshot 2
  8. Enter your Property ID

    Paste your ThoughtMetric Property ID into the Property ID configuration in your Magento settings and click Save.

    Install on Magento 2 screenshot 3
  9. Clear the Magento cache

    Clear the cache to make sure the changes apply.

    bin/magento cache:flush