You can, for example, use a tool like TrustPulse. One of its useful features is smart targeting. This way, you can display social proof notifications to the right visitors at the optimal time to help with conversion and prevent cart abandonment.