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.

Description

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.

Parameters

$optimized_xpath

(boolean) (Required) Default: true.

Source

File: public/helpers/class-nelio-ab-testing-tracking.php

Changelog

Changelog
VersionDescription
5.0.0Introduced.