# Install matomo analytics on weweb

**URL:** <https://community.weweb.io/t/install-matomo-analytics-on-weweb/4056>\
**Category:** Ask us anything\
**Created:** [August 28, 2023, 8:26am UTC](https://community.weweb.io/t/install-matomo-analytics-on-weweb/4056 "2023-08-28T08:26:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Geoffroy](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/geoffroy/32/3564_2.png) [@Geoffroy](https://community.weweb.io/u/Geoffroy)\
**Post date:** [August 28, 2023, 8:26am UTC](https://community.weweb.io/t/install-matomo-analytics-on-weweb/4056/1 "2023-08-28T08:26:04Z")

</div>

Hello everyone,

We are trying to install Matomo analytics on weweb, without success. Following exchanges with matomo support, it seems that the loading of the matomo tag manager is blocked by a service worker error:  
 ![unnamed](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/2/22657b03884852bdc40665247a34197fa9395205.png)

Do you know how to fix this? Is this a bug on our side or on the weweb side?

---

<div class="post-metadata">

**Author:** ![Alexis](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/alexis/32/13248_2.png) [@Alexis](https://community.weweb.io/u/Alexis)\
**Post date:** [August 28, 2023, 9:03am UTC](https://community.weweb.io/t/install-matomo-analytics-on-weweb/4056/2 "2023-08-28T09:03:36Z")

</div>

Could you share how you added matomo and the details of the errors which could be related please ?

---

<div class="post-metadata">

**Author:** ![Geoffroy](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/geoffroy/32/3564_2.png) [@Geoffroy](https://community.weweb.io/u/Geoffroy)\
**Post date:** [August 28, 2023, 9:26am UTC](https://community.weweb.io/t/install-matomo-analytics-on-weweb/4056/3 "2023-08-28T09:26:33Z")

</div>

@Alexis First time i’d add matomo script to header of all pages in the weweb’s custom code section.

After, i added it in app load workflow usine satechange weweb embed tool  
Seem that service worker error is due to my brave browser shield  
But i have a lot of strange error related to matomo :

 ![screenshot-nimbusweb.me-2023.08.28-11_20_04 (2)](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/b/b02e4fe477b2d096884e2e3d1d796f435dc786af.jpeg)

With a desktop browser, matomo only receives a pageview at page load, but not at page change.

---

<div class="post-metadata">

**Author:** ![Geoffroy](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/geoffroy/32/3564_2.png) [@Geoffroy](https://community.weweb.io/u/Geoffroy)\
**Post date:** [August 28, 2023, 9:54am UTC](https://community.weweb.io/t/install-matomo-analytics-on-weweb/4056/4 "2023-08-28T09:54:20Z")

</div>

happen here : [https://www.smartsportbyibisbudget.com/](https://www.smartsportbyibisbudget.com/)

---

<div class="post-metadata">

**Author:** ![Alexis](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/alexis/32/13248_2.png) [@Alexis](https://community.weweb.io/u/Alexis)\
**Post date:** [August 28, 2023, 12:21pm UTC](https://community.weweb.io/t/install-matomo-analytics-on-weweb/4056/5 "2023-08-28T12:21:36Z")

</div>

I disabled my blocker extension on my side and its working

 ![Capture d’écran 2023-08-28 à 14.21.00](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/6/69db3ba25aa81462320bfb2e735ccda213588549.jpeg)

---

<div class="post-metadata">

**Author:** ![Geoffroy](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/geoffroy/32/3564_2.png) [@Geoffroy](https://community.weweb.io/u/Geoffroy)\
**Post date:** [August 28, 2023, 12:45pm UTC](https://community.weweb.io/t/install-matomo-analytics-on-weweb/4056/6 "2023-08-28T12:45:31Z")

</div>

@Alexis matomo container try to fetch some css files on cdn.weweb.app, but there is errors. Do you know why ? (refer to my previous screenshot)

---

<div class="post-metadata">

**Author:** ![Alexis](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/alexis/32/13248_2.png) [@Alexis](https://community.weweb.io/u/Alexis)\
**Post date:** [August 28, 2023, 12:55pm UTC](https://community.weweb.io/t/install-matomo-analytics-on-weweb/4056/7 "2023-08-28T12:55:45Z")

</div>

I don’t know sorry, the errors in your capture doesn’t show up on my side
