Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi! Same question over here. Could you detail a bit on how to set the global php variable?

    Thanks 🙂

    Dirk

    Yes, what does that mean… It’s the sole reason I’m interested in your plugin for multi-device tracking.

    claybaby

    (@claybaby)

    same. I added this to my functions.php, but I don’t think it’s working

    function set_global_variable_ga(){
    	global $ga_userId;
    }
    add_action('wp_login', set_global_variable_ga);

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘USER_ID’ is closed to new replies.