• Hi, the latest version of ultimate_ga didn’t solve the issue.
    Could you fix line 1047 in ultimate_ga.php
    if (!user_level) {
    in this block

    function uga_track_user() {
    
      global $user_level;
    
      uga_debug('Start uga_track_user');
    
      if (!user_level) {
    
        // user nog logged on -> track
    
        uga_debug('User not logged on');
    
        $result = true;
    
      } else {

    by

    function uga_track_user() {
    
      global $user_level;
    
      uga_debug('Start uga_track_user');
    
      if (!$user_level) {
    
        // user nog logged on -> track
    
        uga_debug('User not logged on');
    
        $result = true;
    
      } else {

    thanks (need a $ in if condition)

Viewing 1 replies (of 1 total)
  • +1 (as I’ve had the same report from a user of my plugin) but it doesn’t look like this plugin is being maintained (last updated 14 years ago).
    I think your best option is to switch plugins.

Viewing 1 replies (of 1 total)
  • The topic ‘undefined constant user_level – assumed ‘user_level’’ is closed to new replies.