One Tap Support on ITP Browsers

Stay organized with collections Save and categorize content based on your preferences.

Due to Intelligent Tracking Prevention (ITP), an additional warm welcome page is displayed for ITP browsers, like Chrome on iOS, Safari, and FireFox. With this change, the One Tap UX works across multiple platforms, and thus provides consistent experience for both users and developers.

You can control whether the upgraded One Tap UX should be enabled on ITP browsers by setting the data-itp_support attribute.

Opt In before Oct. 12, 2022

The upgraded One Tap UX on ITP browsers was launched on April 12, 2022. However, before Oct. 12, 2022, it won't be enabled on your website unless you choose to opt in.

To opt in for testing or early launch, you can add data-itp_support="true" to your code, as shown in the following snippet:

<div id="g_id_onload"
     data-client_id="YOUR_GOOGLE_CLIENT_ID"
     data-itp_support="true"
     data-login_uri="https://your.domain/your_login_endpoint">
</div>

Put it another way, the default value of the data-itp_support attribute is false before Oct. 12, 2022.

Opt Out

From Oct. 12, 2022, the upgraded One Tap UX on ITP browsers will be enabled by default for all websites that are not explicitly opted out.

To opt out, you can add data-itp_support="false" to your code, as shown in the following snippet:

<div id="g_id_onload"
     data-client_id="YOUR_GOOGLE_CLIENT_ID"
     data-itp_support="false"
     data-login_uri="https://your.domain/your_login_endpoint">
</div>

Put it another way the default value of the data-itp_support attribute would be true after Oct. 12, 2022.

One good example is, you want to roll it out at a later time, or by a percentage roll out fully controlled by yourself. In this case, you can just opt out now, and then remove the opt-out later at your own control.