title: Google share button -> Callback function not called
body: <p>Have read the google document, got my google share button up and running.
  Now I would like to perform an action after a "share".</p>
  
  <p>There is a parameter called 'onendinteraction' available to define a callback function to run.</p>
  
  <p>For some reason, I cannot get this function to be called.</p>
  
  <pre><code>SiteLanguageName=$("#social-network").attr('lang');
  SiteURL=$("#social-network").attr('href');
  
  window.___gcfg = {
  lang: SiteLanguageName,
  parsetags: 'onload',
  annotation:'none',
  height: 24,
  href:SiteURL,
  onendinteraction: 'AfterShare'
  };
  
  (function() {
  var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
  po.src = 'https://apis.google.com/js/plusone.js';
  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
  
  function AfterShare(data) { alert('This is the result '+data.type); }
  </code></pre>
  
  <p>After the user click 'Share', no alert box pops up.
  Maybe I'm missing something simple.</p>
  
  <p>This can be seen here:</p>
  
  <p><a href="http://www.linguashop.com/welsh-to-english" rel="nofollow">http://www.linguashop.com/welsh-to-english</a></p>
  
  <p>Any help would be greatly appreciated.</p>