public static function print_heatmap_tracking_mode_field() { $field_name = 'hm_tracking_mode'; printf('<select id="%1$s" name="nelioab_settings[%1$s]" %2$s>', $field_name, self::get_basic_details()); ?> <option value='<?php echo NelioABSettings::ELEMENT_BASED_HEATMAP_TRACKING; ?> '><?php _e('High Accuracy - Use All HTML Elements', 'nelioab'); ?> </option> <option value='<?php echo NelioABSettings::HTML_BASED_HEATMAP_TRACKING; ?> '<?php if (NelioABSettings::get_heatmap_tracking_mode() == NelioABSettings::HTML_BASED_HEATMAP_TRACKING) { echo ' selected="selected"'; } ?> ><?php _e('Tolerance to Random IDs - Use Body Tag', 'nelioab'); ?> </option> </select> <div class="the-descr" style="display:none;"><span class="description"><?php _e('By default, Nelio A/B Testing takes into account the elements that are below your users\' cursor to track and build heatmaps and clickmaps. This offers a higher accuracy when Heatmaps are displayed, because hot spots are based on elements and not pages. Unfortunately, this approach may not work if, for instance, your page loads elements dynamically or HTML element IDs are randomly generated. If this is your case, track Heatmaps using the body tag.', 'nelioab'); ?> </span></div><?php }