Warning: This data is provided under the Google User Data Policy. Please review and comply with the policy. Failure to do so may result in project suspension or account suspension.

Change the One Tap sign-in context

By default, the One Tap prompt is assumed to be used within a sign-in context. The language in the prompt might include certain words, such as "sign in," that don't fit the context you wish to use it in. You can change the context attribute to use a different set of wordings. The following table lists the available contexts and their descriptions:

signin "Sign in with Google."
signup "Sign up with Google."
use "Use with Google."

The following code example implements the use context:

<div id="g_id_onload"