diff --git a/uniweb/templates/uniweb/base.html b/uniweb/templates/uniweb/base.html index 57a3160f53c01f35fdb2111d7aca597123bb2436..a49df61e873090b07855299f494e7c7234bfbc64 100644 --- a/uniweb/templates/uniweb/base.html +++ b/uniweb/templates/uniweb/base.html @@ -24,8 +24,8 @@ } </style> - {% if page.matomo_id %} - {% include "shared/matomo_snippet.html" with matomo_id=page.matomo_id %} + {% if page.root_page.matomo_id %} + {% include "shared/matomo_snippet.html" with matomo_id=page.root_page.matomo_id %} {% endif %} </head>