Support » Plugin: Hotjar » Fake analysis while log in as admin

  • This plugin is good, the major issue is that if you are login in as admin, it will create heat map and record you. It will be great if you can disable this option, similar to the hot jar plugin for Drupal.

    • This topic was modified 1 month, 3 weeks ago by ukenpachi.
Viewing 2 replies - 1 through 2 (of 2 total)
  • asafm7

    (@asafm7)

    A simple solution will be replacing

    $is_admin = is_admin();

    with

    $is_admin = current_user_can(‘administrator’);

    Alican

    (@alican532)

    $is_admin = current_user_can(‘administrator’);

    Does this work?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this review.