Hooks / nab_should_track_clicks_with_optimized_xpath

apply_filters( 'nab_should_track_clicks_with_optimized_xpath', boolean $optimized_xpath )

Whether the plugin should track click events with an optimized xpath structured.


If set to true, the tracked xpath element IDs and, therefore, it’s smaller and a little bit faster to process.

If your theme (or one of your plugins) generates random IDs for the HTML elements included in your pages, disable this feature. Otherwise, heatmaps may not work properly.



(boolean) (Required) Default: true.