When looking up recent orders for a user in the admin, also include any guest orders placed with the same email address. This fixes a discrepancy between the amount of orders seen in admin for a given user, and the amount of orders attributed to a user within insights, as insights treat all orders with the same email address as coming from the same user.
When looking up recent orders for a user in the admin, also include any guest orders placed with the same email address. This fixes a discrepancy between the amount of orders seen in admin for a given user, and the amount of orders attributed to a user within insights, as insights treat all orders with the same email address as coming from the same user.