1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 20:52:56 +01:00

Update app.blade.php

This commit is contained in:
Lars Kusch 2023-01-16 12:40:54 +01:00 committed by GitHub
parent 0369017da6
commit 684407b4e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,9 @@
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
_paq.push(['setUserId', '{{ auth()->guard('contact')->check()->user()->present()->name() }}']);
@if (auth()->guard('contact')->check())
_paq.push(['setUserId', '{{ auth()->guard('contact')->user()->present()->name() }}']);
@endif
(function() {
var u="{{ $company->matomo_url }}";
_paq.push(['setTrackerUrl', u+'matomo.php']);