Edit Matomo tracking code
This commit is contained in:
parent
2d187c73dd
commit
91cdaed5bb
1 changed files with 17 additions and 1 deletions
|
@ -6,8 +6,23 @@
|
|||
|
||||
{{ snippet('metadata') }}
|
||||
{{ snippet('favicon') }}
|
||||
{{ snippet('matomo') }}
|
||||
|
||||
<!-- Matomo -->
|
||||
<script>
|
||||
var _paq = window._paq = window._paq || [];
|
||||
_paq.push(['disableCookies']);
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
var u="//matomo.paulnicoue.com/";
|
||||
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
||||
_paq.push(['setSiteId', '2']);
|
||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
</script>
|
||||
|
||||
<!-- Stylesheets -->
|
||||
{% block stylesheets %}
|
||||
<link rel="stylesheet" href="{{ asset('assets/css/style.min.css') }}">
|
||||
{% endblock %}
|
||||
|
@ -127,6 +142,7 @@
|
|||
</footer>
|
||||
{% endblock %}
|
||||
|
||||
<!-- Scripts -->
|
||||
{% block scripts %}
|
||||
<script src="{{ asset('assets/js/app.js') }}"></script>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue