|
5 | 5 | data-target="#modalCredits">{{ _('credits') }}</a> |
|
6 | 6 | <a data-toggle="modal" href="#"
|
7 | 7 | data-target="#modalMentions">{{ _('legal') }}</a>
|
8 |
| - {% if configuration.AFFICHAGE_RGPD %} |
| 8 | + {% if configuration.AFFICHAGE_RGPD and configuration.OREJIME_APPS | length > 0 %} |
9 | 9 | |
|
10 | 10 | <a data-toggle="modal" href="#"
|
11 | 11 | data-target="#modalPersonalData">{{ _('personal_data') }}</a>
|
| 12 | + | <a id="preferences-cookies" href="#" onclick="orejime.show()">{{ _('preferences_cookies') }}</a> |
12 | 13 | {% endif %}
|
13 | 14 | </small>
|
14 | 15 |
|
|
74 | 75 | </div>
|
75 | 76 | {% endif %}
|
76 | 77 |
|
77 |
| -{% if configuration.ID_GOOGLE_ANALYTICS != "UA-xxxxxxx-xx" %} |
78 |
| - <!-- Script Google Analytics --> |
79 |
| - <script> |
80 |
| - (function (i, s, o, g, r, a, m) { |
81 |
| - i['GoogleAnalyticsObject'] = r; |
82 |
| - i[r] = i[r] || function () { |
83 |
| - (i[r].q = i[r].q || []).push(arguments) |
84 |
| - }, i[r].l = 1 * new Date(); |
85 |
| - a = s.createElement(o), |
86 |
| - m = s.getElementsByTagName(o)[0]; |
87 |
| - a.async = 1; |
88 |
| - a.src = g; |
89 |
| - m.parentNode.insertBefore(a, m) |
90 |
| - })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga'); |
| 78 | + <!-- BLOC TRACEURS / ANALYSES VIZA COOKIES --> |
91 | 79 |
|
92 |
| - ga('create', '{{configuration.ID_GOOGLE_ANALYTICS}}', 'auto'); |
93 |
| - ga('send', 'pageview'); |
94 |
| - </script> |
95 |
| -{% endif %} |
0 commit comments