PrestaShop is an open-source ecommerce platform for merchants of any size to setup and manage an online store. You can easily integrate Matomo with PrestaShop to track key metrics and uncover comprehensive insights to enhance decision-making and marketing strategies.

You will need a PrestaShop account and your Matomo instance on Cloud or On-Premise.

Download the free Matomo plugin

  1. Navigate to Matomo’s Integrations page and click the PrestaShop download link.
  2. You will be directed to Tecnoacquisiti’s website displaying the plugin details for Matomo Analytics for PrestaShop with ecommerce tracking. Add this plugin to your cart.
  3. To load JQuery libraries for the ecommerce tracking, you will need the PrestaShop third-party code and jQuery impact reduction plugin available on the same site. Add this plugin to your cart.
  4. Complete the Checkout process for both free plugins and download the plugin zip files.

Upload the PrestaShop module

  1. Log in to your PrestaShop as administrator.
  2. Open Modules > Module Manager and click the Upload a module button.
  3. Select and upload the Matomo plugin zip file.
  4. The PrestaShop-JQuery plugin zip file will be uploaded after configuring the Matomo tracking.

Configure Matomo tracking

  1. After installation is complete, click Configure. You can also search for Matomo in the Module Manager and click (1) Configure in the right-hand menu.
    prestashop install matomo
  2. Toggle the Enable monitoring option and set it to enabled.
  3. Enter your Matomo URL instance and SiteID (found in Matomo Administration settings > Manage Measurables).
  4. Toggle the Ecommerce tracking option and set it to enabled.
  5. Enable/disable the optional settings according to your privacy setup requirements.
  6. Click Save.
  7. In the PrestaShop Module Manager, click the Upload a module button and select the PrestaShop-JQuery plugin.
  8. After installation, click Configure.
  9. Toggle the Local JQuery option (1) to enabled and click Save.

Position the Matomo module

  1. In the PrestaShop admin dashboard, expand the Design menu and click Positions.
  2. In the All modules dropdown, select the Matomo Analytics module.
  3. Under the displayAfterBodyOpeningTag hook, click-and-drag the Matomo module to position 1 as shown in the example below.
  4. Click Save.

Test the integration

  1. Perform user actions in your PrestaShop storefront.
  2. Login to Matomo and check if these actions are tracked in the Visits log.
  3. You should now be successfully tracking your visitors on PrestaShop.
Previous FAQ: How do I install the Matomo tracking code on my Shopify store?