I have an HTML modal with a "Sign In" and a "Sign Up" tab. Each tab offer users the ability to "Sign In" or "Sign Up" with Google.
Google's reference states that I should only include the g_id_onload in one element per page. Google treats either context: 'signin' vs 'signup' the same in the backend. Is there a way to capture which g_id_signin button was clicked if I have multiple buttons on the page, so I can give the user proper feedback?
eg: "Thanks for signing up!", "Successfully signed in", "Account does not exist. Please sign up first."