The AMP One Tap component is deprecated. This means that new web apps shouldn't use this component, and developers of the existing apps should follow the migration guide to make any necessary changes to avoid negative impacts for user sign-in to their websites.
The layout of the AMP component. Only "nodisplay" is allowed.
data-src
This attribute is the URI of your One Tap intermediate iframe. See the following
table for further information:
Type
Required
Example
string
Yes
data-src="https://example.com/onetap_iframe.html"
layout
This attribute is the layout of the AMP component, which is a required attribute
of AMP components. For the <amp-onetap-google> component, only
"nodisplay" is allowed. See the following table for further information:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["This reference page describes the API of the `\u003camp-onetap-google\u003e` AMP component, which enables One Tap sign-up/sign-in on AMP pages."],["To use this component, you need to place a specific script tag into your AMP pages and configure the component with `data-src` and `layout` attributes."],["The `data-src` attribute specifies the URI of your One Tap intermediate iframe, while the `layout` attribute must be set to \"nodisplay\"."],["Refer to the \"Integrate One Tap using an Iframe\" guide to learn how to use intermediate iframes for this implementation."]]],[]]