mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
PHRAS-2997 Rename properties
This commit is contained in:
@@ -25,6 +25,6 @@
|
||||
</div>
|
||||
</div>
|
||||
{% include 'common/analytics.html.twig' %}
|
||||
{% include 'common/mamoto_analytics.html.twig' %}
|
||||
{% include 'common/matomo_analytics.html.twig' %}
|
||||
</body>
|
||||
</html>
|
||||
|
@@ -1,14 +1,14 @@
|
||||
{% if app['conf'].get(['registry', 'general', 'matomo-url']) != '' %}
|
||||
{% if app['conf'].get(['registry', 'general', 'matomo-id']) != '' %}
|
||||
{% if app['conf'].get(['registry', 'general', 'matomo-analytics-url']) != '' %}
|
||||
{% if app['conf'].get(['registry', 'general', 'matomo-analytics-id']) != '' %}
|
||||
<!-- Matomo -->
|
||||
<script type="text/javascript">
|
||||
var _paq = window._paq || [];
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
var u="//{{ app['conf'].get(['registry', 'general', 'matomo-url']) }}/";
|
||||
var u="//{{ app['conf'].get(['registry', 'general', 'matomo-analytics-url']) }}/";
|
||||
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
||||
_paq.push(['setSiteId', {{ app['conf'].get(['registry', 'general', 'matomo-id']) }}]);
|
||||
_paq.push(['setSiteId', {{ app['conf'].get(['registry', 'general', 'matomo-analytics-id']) }}]);
|
||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
|
Reference in New Issue
Block a user