dhermes / bossylobster-blog

Content, Settings and Build for my Blog
Apache License 2.0
2 stars 3 forks source link

Make sure Google AdSense is integrated and works with Analytics #20

Closed dhermes closed 9 years ago

dhermes commented 9 years ago

This is a sprout off of #16

dhermes commented 9 years ago

A different theme (other than octopress) https://github.com/dandesousa/pelican-timberland/issues/1

dhermes commented 9 years ago

https://support.google.com/adsense/answer/181950?hl=en

For ads to appear properly, you need to place your ad code between the opening <BODY> and closing </BODY> tags of your source code.

The ad code is

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- bossylobster_main_Blog1_300x250_as -->
<ins class="adsbygoogle"
     style="display:inline-block;width:300px;height:250px"
     data-ad-client="ca-pub-4173900012268590"
     data-ad-slot="3101815662"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
dhermes commented 9 years ago

Should be in sidebar and responsive to page width http://ryanunderdown.com/adsense/responsive-ads-with-adsense.php

dhermes commented 9 years ago

https://support.google.com/adsense/answer/3543893?hl=en

and

https://support.google.com/adsense/answer/3213689?hl=en