Jude, Blogging From The Ground Up Newsletter - Power Your Blog With Google Search
|Date:||2nd March 2011|
Just to reiterate, there are two great benefits to using Google for your site search engine:
- It's Google! That means you have full power of the Google search on your blog.
- You can use Adsense for your search results and make some money on your site searches. You can usually make more money with these click throughs because the ads are super well targeted.
So how do I make this happen?Â Let's take a look.
- By now I am sure you have signed up for an AdSense account, so head on over there and login. If you're not already signed up as an Adsense publisher, do it now.Â Some people will tell you to do it through http://www.google.com/cse/Â Â Â Â ignore them.
- In your Adsense account, click on "Adsense Setup". Then click on "Adsense for Search".
- Click the "Get Started" button. You will enter the set up wizard for creating your search form.
- For "Search Type", select "Only sites I select". In your "Selected
Sites" box, type the full URL to your blog. You can enter other sites too if you want.
- Below enter a few keywords about your site.Â This will help push more appropriate ads for your blog subjects.
- You can leave all other fields as default. Continue to the next step.
- Choose the look and feel of your search form. Continue to the next step.Â Keeping it set to the standard form is probably your best bet.
- Next, you can choose where you want your search results to appear.Â We want this search to display its results on your blog directly and not take you back to Google, so choose
"open results within my own site" and specify the URL. It should be something like "http://www.nameofmyblog.com/search-resultsÂ (we are going to create this page in a few more steps)
Choose the ad position and color palette that fits your blog style and look then continue to the next step.Â Remember, Google ads are more likely to be clicked when they are better integrated into your site.
- Assign a unique name to the search engine. This is for your tracking purposes. Now hit the "Submit and Get Code" button.
- Now you will have two boxes with different snippets of code .Â The first one is for the search box and the second is for the results page.
- Open a new window and head back to your WordPress Admin.Â On the left hand side click on Appearance and then Editor.Â Click on the template page you want the search to show up.Â If you want it on the sidebar click "sidebar.php" if its in the header click on "header.php".Â
- Copy and paste the "search box code" into your template.Â
- Now for the search results.Â Create a new page with a permalink that matches the value you used above in step 8.Â
Switch the page editor to HTML mode and paste in the second snippet. Now save the page.Â Â
Test your page to see how the ads show up.Â If it is too wide for your screen go back into the html and find this line of code: var googleSearchFrameWidth = 800;
Make the number something that better fits the size of your area.Â Hit submit and you are done.Â Be sure to test it out.
Santa Monica, California 90402, USA
To unsubscribe or change subscriber options visit:|