Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Tek Dokunma istemi varsayılan olarak masaüstü web tarayıcısı pencerelerinin sağ üst köşesinde gösterilir. FedCM kullanıldığında istem konumunu tarayıcı tamamen kontrol eder. Bu nedenle, özel düzenler desteklenmez.
Aksi takdirde, istem konumunu değiştirmek için One Tap'i bir kapsayıcı öğesinin içinde gösterin.
Bunu yapmak için data-prompt_parent_id özelliğinde kapsayıcı öğesinin DOM kimliğini belirtin.
Aşağıdaki kod örneğinde, g_id_onload öğesi kapsayıcı öğesi olarak yeniden kullanılır ve Tek Dokunma istemi belirtilen konumda gösterilir:
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2024-11-08 UTC."],[[["\u003cp\u003eWith the migration of One Tap to the FedCM API, browsers will control the prompt's size and position, eliminating support for custom positions.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers are advised against customizing the position for new One Tap integrations and to review the migration guide for existing integrations to ensure compatibility.\u003c/p\u003e\n"],["\u003cp\u003eCustomizing the One Tap login flow is possible, including positioning the prompt within a container element by utilizing the \u003ccode\u003edata-prompt_parent_id\u003c/code\u003e attribute, but avoid obscuring any prompt content to comply with Google's policies.\u003c/p\u003e\n"],["\u003cp\u003eRemember that the \u003ccode\u003edata-prompt_parent_id\u003c/code\u003e attribute is disregarded on mobile web browsers, limiting customization in those environments.\u003c/p\u003e\n"],["\u003cp\u003eHiding or manipulating the One Tap prompt's content to misrepresent its origin from a Google iframe can lead to severe consequences, including project or account suspension.\u003c/p\u003e\n"]]],[],null,[]]