• Hi,
    conversions were only tracked for logged in users. Turns out the format for the WHERE clause was missing.

    public function update_conversion( $test_id, $user_id ) {
    	global $wpdb;
    
    	$wpdb->update(
    		$this->table_tracking_name,
    		array(
    			'converted' => current_time( 'mysql' ),
    		),
    		array(
    			'id' => $test_id,
    			'user_id' => $user_id,
    		),
    		array( '%s'),
    		array( '%s', '%s' )
    	);
    }

    If you can reproduce this, please commit the change

    https://www.ads-software.com/plugins/ab-see/

  • The topic ‘Conversions aren't tracked for not logged in users’ is closed to new replies.