Category Archives: Social Media Accounts

social media accounts and their use for SEO

Google Plus One button

The Google plus button can be added to your site by placing this code above the </body> tag, this code is for asynchronous loading of the button so it loads in parallel with your web page:

<script type=”text/javascript”>
  (function() {
    var po = document.createElement(‘script’); po.type = ‘text/javascript’; po.async = true;
    po.src = ‘https://apis.google.com/js/plusone.js?onload=onLoadCallback’;
    var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(po, s);
  })();
</script>

<script type=”text/javascript”>
window.___gcfg = {
  lang: ‘en-GB’,
  parsetags: ‘onload’,
  data-annotation: ‘none’
};
(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);
  })();
</script>

Now to add the actual button to your site you need to place this code at the appropriate place:

<div data-size=”tall” data-annotation=”none”></div>

This code adds the plus one button without the annoying counter, for more information on other formatting methods and sizes of the button check out this page:

https://developers.google.com/+/web/+1button/#plusonetag