apply_filters( ‘nab_use_send_beacon_tracking’, boolean $enabled )
Filters whether the plugin should track JS events with navigator.sendBeacon
or not.
Parameters
- $enabled boolean
(Required) whether to use
navigator.sendBeacon
or not. Default:true
.