Redirect to page after user login

Hello! I am trying to redirect my customers to a specific page when they log in (/apps/loyalty), but I’m not having any luck. I have tried adding a query string to the end of the login links in my theme files, support suggested I try adding into the form tag, and after confirming that neither option works, I was told it would need a custom javascript solution, but she was unable to guide me on that, and suggested I post here. Help, please!

Thanks, I’ve got it working now!