All Collections
Installation
Platforms integration
Installing Magento 2 plugin with Composer from Github
Installing Magento 2 plugin with Composer from Github
Murry avatar
Written by Murry
Updated over a week ago

Step 1

SSH to your server and navigate to your Magento 2 installation folder.

Step 2

Add the composer repository for the Metrilo Magento 2 plugin to your setup:
โ€‹
โ€‹composer config repositories.metrilo-magento2 git "https://github.com/Metrilo/metrilo-magento2-integration.git"

Step 3

Install the plugin:

composer require metrilo/analytics-magento2-extension

Step 4

Now that the plugin is successfully installed run:

$ bin/magento setup:upgrade

Step 5

Configure the plugin by going to "Store" > "Configuration" > "Metrilo" > click "Analytics".

You can take the credentials from the Settings/Installation page of your Metrilo project.

Step 6

Clear any caches you might have to make sure that the metrilo code appears on all of your pages.

$ bin/magento cache:flush

Did this answer your question?