Google Adsense

I set this up back in the dark ages (before Facebook, LOL) but then unwisely as it turns out put first my own web site, then several others I consult for onto the same Google Analytics account. In investigating this, discovered that I had a balance over $40 in AdSense, so decided to give it another look. The ads I put on a couple static pages on my needlework site seemed to be doing quite well displaying appropriate links.

Turns out adding the script for an ad block to the header.php file using the same approach you use to add Google Analytics code in WordPress to the footer.php file was causing a problem matching content on my blog’s home page which shows several recent posts.

So today I moved the ad block code to single.php which displays an indivudual post on one page. It seems to be matching content more effectively. I do seem to be getting a lot of WordPress ads probably because I left the acknowledgement in the footer.php file, but that is fine with me.

About Kathy

Perl, MySQL, CGI scripting, web design, graphics following careers as an analytical chemist and educator, then in IT as a database administrator (DBA), programmer, and server administrator. Diagnosed with Mitochondrial Myopathy in 1997.
This entry was posted in Technical. Bookmark the permalink.