Using Matomo with PrestaShop
Matomo gathers detailed statistics about visitor traffic to your site. There are several modules available for PrestaShop that provide Matomo integration, but Matomo’s own site recommends the Prestashop Matomo Statistics module. To install and configure the Matomo module for PrestaShop, follow these steps:- Use your web browser to visit https://dh42.com/free-prestashop-modules/prestashop-piwik-statistics.
- At the bottom of the page, click DOWNLOAD MODULE, and then save the piwikanalyticsjs.zip file on your computer.
- Log in to your PrestaShop site as the administrator.
- In the left sidebar, under IMPROVE, click Modules, and then click Module Manager.
- Click Upload a module.
- Click Browse, and then select the .zip file you downloaded in step 2. PrestaShop installs the module.
- Click Configure. The Piwik Analytics configuration page appears:
-
In the Piwik Host text box, type the URL to your Matomo installation.
👍 Tip Do
not add http://. For example, if your domain name is example.com, and Matomo is installed in the matomo directory, type
example.com/matomo . -
In the Piwik site id text box, type the Matomo ID number for your site.
👍 Tip To obtain the Matomo ID number for your site, follow these steps:
- Log in to Matomo.
-
On the top right of the page, click the Administration (
) icon.
- In the left sidebar, click Websites, and then click Manage.
- Under Manage Measurables, locate your site and its ID number.
- In the Piwik token auth text box, type your Matomo authentication token.
- Under PIWIK ANALYTICS ADVANCED - EDIT PIWIK SITE, in the Ecommerce option box, click YES.
- Click Save. Matomo is now enabled for PrestaShop. To view site statistics, log in to your Matomo account.