FR

Important: this documentation is not applicable to your currently selected format nation-usa!

amp-onetap-google

Description

Displays Google One Tap.

Required Scripts

<script async custom-element="amp-onetap-google" src="https://cdn.ampproject.org/v0/amp-onetap-google-0.1.js"></script>

Supported Layouts

Overview

amp-onetap-google displays Google One Tap sign-in.

Example

<amp-onetap-google
  layout="nodisplay"
  data-src="https://example.com/onetap"
></amp-onetap-google>

After a successful sign-in, amp-access and/or amp-subscriptions are refreshed on the page.

Attributes

data-src (required) The URL of the intermediate iframe. You can use URL substitution variables to pass values like ACCESS_READER_ID.
common attributes This element includes common attributes extended to AMP components.
Besoin d'une aide supplémentaire ?

Vous avez lu ce document une douzaine de fois mais il ne répond pas à toutes vos questions ? D'autres personnes ont peut-être eu le même sentiment. Contactez-les sur Stack Overflow.

Se rendre sur Stack Overflow
Vous avez trouvé un bug ou une fonctionnalité manquante ?

The AMP project strongly encourages your participation and contributions! We hope you'll become an ongoing participant in our open source community but we also welcome one-off contributions for the issues you're particularly passionate about.

Se rendre sur GitHub