Komponent AMP One Tap został wycofany. Oznacza to, że nowe aplikacje internetowe nie powinny używać tego komponentu, a deweloperzy istniejących aplikacji powinni wprowadzić zmiany zgodnie z przewodnikiem po migracji, aby uniknąć negatywnego wpływu na logowanie się użytkowników w ich witrynach.
Układ komponentu AMP. Dozwolone jest tylko ustawienie „nodisplay”.
data-src
Ten atrybut to identyfikator URI pośredniego elementu iframe usługi One Tap. Więcej informacji znajdziesz w tabeli poniżej:
Typ
Wymagane
Przykład
ciąg znaków
Tak
data-src="https://example.com/onetap_iframe.html"
układ : layout (might be used for DTP, web and app design)
Ten atrybut to układ komponentu AMP, który jest wymaganym atrybutem komponentów AMP. W komponencie <amp-onetap-google> dozwolony jest tylko
„nodisplay”. Więcej informacji znajdziesz w tej tabeli:
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2024-11-08 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."]]],[]]