mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 17:04:45 -04:00
Fixes for matomo
This commit is contained in:
parent
2a53be6584
commit
735d08a679
@ -9,7 +9,7 @@
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
_paq.push(['setUserId', '{{ auth()->guard('contact')->user()->present()->name() }}']);
|
||||
_paq.push(['setUserId', '{{ auth()->guard('contact')->check()->user()->present()->name() }}']);
|
||||
(function() {
|
||||
var u="{{ $company->matomo_url }}";
|
||||
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user