Michael Kleber, one of the members in Google Adense developer team posted that they had introduced a new code for Adsense tag.
The new script code can be mentioned only once in the website, that means even if you have multiple ads on your website, you can specify those with in a single tag.
New script tag is-
<script async src="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
After crawling the above code, it just goes to the .js file, which has below code
<ins class="adsbygoogle"
style="display:inline-block;width:350px;height:200px"
data-ad-client="ca-pub-xxxxxxxxxxxxxxxx"
data-ad-slot="yyyyyyyyyy"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
Later you can also add Google Analytics by mentioning google_analytics_uacct="UA-zzzzzz-zz" in "ins" class
Data Analytics with data-analytics-uacct="UA-zzzzzz-zz" in "ins" class
The new script code can be mentioned only once in the website, that means even if you have multiple ads on your website, you can specify those with in a single tag.
New script tag is-
<script async src="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
After crawling the above code, it just goes to the .js file, which has below code
<ins class="adsbygoogle"
style="display:inline-block;width:350px;height:200px"
data-ad-client="ca-pub-xxxxxxxxxxxxxxxx"
data-ad-slot="yyyyyyyyyy"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
Later you can also add Google Analytics by mentioning google_analytics_uacct="UA-zzzzzz-zz" in "ins" class
Data Analytics with data-analytics-uacct="UA-zzzzzz-zz" in "ins" class
0 comments:
Post a Comment