# How do I connect Matomo to my store?

The **Matomo** app connects Matomo Cloud or your own Matomo to your store and landing pages: page views, product views, add to cart and orders in the Matomo **Ecommerce** reports. The script loads after your page has appeared.

## Steps

1. In **Matomo**, open **Administration › Websites › Manage**, add your store and note its **ID**. Turn **Ecommerce** on for this website.
2. Open **Administration › Websites › Tracking code** and copy the code (or note your Matomo address, like `https://yourname.matomo.cloud/`).
3. In Dropify, go to **Apps > Discover**, find **Matomo** and click **Install**. Then open it from **Apps > My apps**.
4. Click **Connect**, paste the code in **Or paste the whole install code**, or fill **Matomo address** and **Website ID**, then click **Connect**. Dropify checks that Matomo answers at this address.
5. Under **On your store**, keep **Load Matomo** on and pick **Load on**: **Store and landing pages**, **Store only** or **Landing pages only**. Click **Save changes**. Keep **Ecommerce tracking** on.
6. Optional: turn on **Identify signed-in customers** (Customer Accounts needed) to send only the customer number as the Matomo user id.
7. Test: visit a product and place a test order, then check **Visitors › Real-time** and **Ecommerce** in Matomo.

If you use a cookie banner app (Cookiebot or CookieYes), Matomo waits until the shopper accepts statistics cookies, then starts.

To stop it, turn **Load Matomo** off (your ids stay saved), click **Disconnect**, or **Uninstall** the app. The script is gone from your pages on the next visit.

## Common problems

- "Enter the https address of your Matomo (like https://yourname.matomo.cloud/) or paste the whole Matomo tracking code." → use the https address, not http.
- "No Matomo answers at this address. Check the Matomo URL in Administration > Websites > Tracking code." → the address is wrong or your server is down.
- "This address cannot be reached from the internet. Use the public https address of your server." → use your public address, not a local one.
- No orders in Ecommerce → turn Ecommerce on for the website in Matomo.

## Related
- [Hotjar or Microsoft Clarity isn't showing session recordings](https://help.dropify.shop/en/pixels_tracking/hotjar-clarity-session-recording-not-showing/)
- [How do I add my Facebook, TikTok, or Google pixel ID?](https://help.dropify.shop/en/pixels_tracking/how-to-add-a-tracking-pixel/)
- [How do I add a Cookiebot cookie banner to my store?](https://help.dropify.shop/en/storefront_settings/cookiebot/)
