adding trigger for tracking when using cokkies for login