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

Load the client library

Be sure to load the client library on any page that a user might sign in on. Use the following code snippet:

<script src="https://accounts.google.com/gsi/client" async defer></script>

You can optimize your page's loading speed if you load the script with the async and defer boolean attributes.