mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Allow FF to send events.
This commit is contained in:
@@ -146,6 +146,11 @@
|
||||
ga('create', '<?php echo env('ANALYTICS_ID', 'XXX-XX-X'); ?>', 'auto');
|
||||
ga('send', 'pageview');
|
||||
|
||||
// send an event if relevant:
|
||||
@if(Session::has('gaEventCategory') && Session::has('gaEventAction'))
|
||||
ga('send','event','{{Session::get('gaEventCategory')}}','{{Session::get('gaEventAction')}}');
|
||||
@endif
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user