I presented a new user with an onboarding modal after their first login to Netlify, but I wanted to exclude existing users from seeing it. I initially considered adding a check for users with only one site deployed, but this didn't account for users who signed up via our Sign Up flow and went through the deployment process. Instead, I used cookies to solve my problem by setting a cookie named "onboarded" on the user's first login. The react-cookie library made it easy to access and manage cookies in my React application. To further refine the solution, I created an additional check that limits the onboarding modal for users who have been with Netlify long enough to know its features, by checking if their login date is the same as their account creation date. If this condition isn't met, I use moment's diff function to identify if the user signed up less than a day ago and compare it to the onboarded cookie. The result was a quick solution that required some discovery, but ultimately allowed me to focus on more elegant solutions for common problems on the web.