mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
PHRAS-2997
This commit is contained in:
@@ -84,7 +84,7 @@ define('GV_homeTitle', 'SuperPhraseanet');
|
|||||||
define('GV_metaKeywords', '');
|
define('GV_metaKeywords', '');
|
||||||
define('GV_metaDescription', '');
|
define('GV_metaDescription', '');
|
||||||
define('GV_googleAnalytics', '');
|
define('GV_googleAnalytics', '');
|
||||||
define('GV_matomoUrl', '');
|
define('GV_matomoAnalyticsUrl', '');
|
||||||
define('GV_matomoId', '');
|
define('GV_matomoAnalyticsId', '');
|
||||||
define('GV_allow_search_engine', true);
|
define('GV_allow_search_engine', true);
|
||||||
define('GV_display_gcf', true);
|
define('GV_display_gcf', true);
|
||||||
|
@@ -1,14 +1,14 @@
|
|||||||
{% if app['conf'].get(['registry', 'general', 'matomo-url']) != '' %}
|
{% if app['conf'].get(['registry', 'general', 'matomo-analytics-url']) != '' %}
|
||||||
{% if app['conf'].get(['registry', 'general', 'matomo-id']) != '' %}
|
{% if app['conf'].get(['registry', 'general', 'matomo-analytics-id']) != '' %}
|
||||||
<!-- Matomo -->
|
<!-- Matomo -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var _paq = window._paq || [];
|
var _paq = window._paq || [];
|
||||||
_paq.push(['trackPageView']);
|
_paq.push(['trackPageView']);
|
||||||
_paq.push(['enableLinkTracking']);
|
_paq.push(['enableLinkTracking']);
|
||||||
(function() {
|
(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(['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];
|
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);
|
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