链接到Google PlusOne,而无需嵌入按钮(出于隐私原因) [英] Linking to Google PlusOne, without embedding the button (for privacy reasons)

查看:74
本文介绍了链接到Google PlusOne,而无需嵌入按钮(出于隐私原因)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

似乎Google仅提供将代码嵌入 +1按钮中.

It seems that Google only offers code to embed the +1 button.

但是,与此相关的还有严重的隐私问题(加上相当长的加载时间).

However, there are heavy privacy concerns (plus quite some load time) associated with it.

有关与Facebook like和Google +1相关的隐私和法律问题的一些指示,请参阅:喜欢按钮和隐私问题

For some pointers about the privacy and legal issues associated with Facebook like and Google +1, see: Like button and privacy concern

常见的解决方法似乎是 双击解决方案 德语(

A common workaround seems to be a two-click solutionGerman (also discussed on slashdotEnglish), where the first click enables the button (loading the javascript from Google), the second then is on the regular +1 button.

但是,我也不想实现此两键式解决方案.很大程度上是因为 Google +1按钮非常糟糕,并且不适合页面布局.

However, I do not want to implement this two-click solution either. Largely because the Google +1 button is ugly as hell, and doesn't fit to the page layout.

我真正要寻找的是一个单独的网页,用户可以在其中基本上确认他喜欢该网页.该页面可以在google.com上显示,本质上这将是第二次单击.我并不是要诱使人们为该页面+1.第二次单击对我来说一切都很好.我只是不想强制加载他们的plusone按钮(而且我不喜欢它的外观).

What I'm really looking for is a separate web page, where the user can essentially confirm that he likes the page. This page can live on google.com, and essentially this would be the second click. I'm not trying to trick people into +1'ing the page. The second click is all fine with me. I just don't want to force them to load the plusone button (and I don't like its looks).

似乎有选择

https://plus.google.com/share?url=<URL>

但这是Google+上的共享,而不是 +1 .

which however is a share on Google+, not a +1.

我也看到了此URL:

https://plusone.google.com/_/+1/confirm?hl=en&url=<URL>

(例如,请参见此处:将Google Plus(一个或一个)链接添加到电子邮件通讯中),但我无法提交此表单(即似乎无效).

(see e.g. here: Adding a Google Plus (one or share) link to an email newsletter) but I cannot submit this form (i.e. doesn't seem to work).

最好的可行解决方案似乎是双击方法. :-(

The best working solutions seems to be the two-click approach. :-(

更新:网址https://plusone.google.com/_/+1/confirm?hl=en&url=<URL>实际上确实有效.只是我的隐私代理破坏了它.然后,它似乎更多是"Google+共享"对话框.我对该结果还不满意(特别是因为这似乎不是Google提倡的方法,我想他们可以随时考虑禁止该网站)

Update: the url, https://plusone.google.com/_/+1/confirm?hl=en&url=<URL> actually does seem to work. It was just my privacy proxy breaking it. Then it seems to be more of a "Google+ share" dialog. I'm not yet happy with this result (in particular, since this doesn't seem to be an advocated approach for Google, and they can at any point consider to ban the site, I guess)

推荐答案

我现在正在研究的方法相当简单:

The approach that I'm now looking into is fairly trivial:

我已经为网站设置了一个 Google Plus页面,并且加号"按钮会将用户发送到该网站.实际上,就像我正在使用的Facebook图标一样.然后,用户将获得互动选项的完整选择,包括+1,以及循环和共享.

I've set up a Google Plus page for the web site, and the "plus" button sends user there. In fact just like the Facebook icon I'm using. Then the users get the full choice of interaction options, including +1, but also circling and sharing.

首先,这显然不应违反任何g +政策.其次,对于用户而言,这是一个相当透明的行为. 加号"按钮将他们带到Google plus,在那里他们会看到通常的plus UI.

First of all, this obviously should not violate any g+ policies. Secondly, it is a fairly transparent behaviour for the users. The "plus" button takes them to Google plus, where they see the usual plus UI.

其次,仍然只有两次单击以"+1".因此,它并不比其他任何符合数据隐私保护的解决方案都要糟糕.

Secondly, it's still just two clicks to "+1". So it is not worse than any other data privacy compliant solution.

这篇关于链接到Google PlusOne,而无需嵌入按钮(出于隐私原因)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆