单击关注按钮将用户重定向到 Google+

Redirect user to Google+ on follow button click

我想在单击 google 加关注按钮后将用户重定向到 prizepage.html。

我该怎么做?

相关代码如下:

<div class="follow">
  <h1>Follow us for your free prize</h1>
</div>

<div class="g-follow" data-annotation="vertical-bubble" data-height="24" data-href="https://plus.google.com/101560853443212199687" data-rel="publisher"></div>

<script src="https://apis.google.com/js/platform.js" async defer></script>

不,这是不可能的。 Google+ Follow Button显示支持的功能,用户点击或关注时没有触发事件或回调。

你不能。

我尝试了以下方法,但没有用:

<script src="https://apis.google.com/js/platform.js" async defer></script>
<button onclick="location.href = 'prizepage.html ';" id="myButton" class="g-follow float-left submit-button" data-annotation="vertical-bubble" data-height="24" data-href="https://plus.google.com/101560853443212199687" data-rel="publisher" ></button>