JS: GOOGLE JAVASCRIPT API


Google+ JavaScript API


FROM:

<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';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>

OR:

<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>

BECOME:

<script async='async' defer='defer' src='https://apis.google.com/js/platform.js?publisherid=0123456789' type='text/javascript'></script>

OR:

&lt;script async='async' defer='defer' src='https://apis.google.com/js/platform.js?publisherid=0123456789' type='text/javascript'&gt;&lt;/script&gt;

FULL SCRIPT:

<script>
// Defines the configuration options, these must be set before you load
// the platform.js file.
window.___gcfg = {
lang: 'en-US',
parsetags: 'explicit' // DS?: can the onload param be removed from the line below and added here?
// E.g., 'explicit','onload'
}
</script>
<script src='https://apis.google.com/js/platform.js?publisherid=0123456789' async='async' defer='defer'></script>

en-US = With site local language
0123456789 = With Google's ID


CHECK GOOGLE'S API






Rebates Bonus
Exclusive Rebate

Sign up today and be the first to get notified on new updates.


LOAD DISCUSSION