Earn money online being a Web Entrepreneur
18 Apr
It’s extremely popular to display adverts at the bottom of posts on a blog. The reader reads the blog posting, arrives at the end of the post, and the first thing he/she sees is an advert. If you have optimized your website correctly, the chances are that your advert will suite the topic just blogged about, and this will increase your chances of receiving a click from the user. What happens if you would like to rotate the adverts, so that you are not just displaying Google Adsense, for example, at the bottom of every post?
This is tricky, and I have not seen too many solutions around, so I decided to code my own solution to this problem. Below I will paste some of my code, along with the best description I can put together. I use PHP in this example.
Line | ||
1 | <?php | Starts a PHP segment |
2 | $num = rand(1,2); | Randomly selects a 1 or a 2 |
3 | if ($num == 1) | If a 1 was selected |
4 | { | then. |
5 | ?> | (turn php off) |
6 | // advert code here | paste your adsense code here |
7 | <?php | (turn php on) |
8 | } | finished with advert if the random number is 1 |
9 | else | if the random number was a 2 |
10 | { | then |
11 | ?> | (turn off php) |
12 | // advert code here | paste your adsense code here |
13 | <?php | (turn php on) |
14 | } | finish with advert if the random number is 2 |
15 | ?> | (turn off php) |
Alright, now that the code is there, I can start explaining. It looks rather odd and tricky, but really it isn’t, especially if you have any knowledge of PHP. This little code snippet handles two different affiliate programs, and displays them randomly under your blog posts. I hope my explanation above was helpful, it is not easy explaining code so that everyone will follow.
Copy and paste the above code into notepad, and save the file as randomad.php. Once you have done this, all that is left, is placing it on your website, which will be done with this code:
<?php include(’randomad.php’); ?>
If you are a wordpress user, here are the steps to place this code correctly, so random adverts appear under each post:
1. Login to WP-Admin
2. Click Presentation
3. Click Theme Editor
4. Click Main Index Template, on the right of the screen
5. This is where things get tricky, now you need to look for the end of your posts code. Normally you would see something about comments or links to technorati or permalinks, you would place the code under that. Each theme is different so it is hard for me to tell you exactly where it goes. A common occurance is this..
</div>
<?php endwhile; endif; ?>
Which you should be able to find in the Main Index Template, if you see this then place the <?php include(’randomad.php’); ?> line of code right above the <.div>, like this..
<?php include(’randomad.php’);?>
</div>
<?php endwhile; endif; ?>
6. Save the changes by clicking “Update File”, and go back to your website and refresh, wallah.
If you have any questions about implementing this, please feel free to contact The Webtrepreneur! Best of luck!
15 Apr
Alright, we have setup an account, and we have created adsense adverts, now we need to take a look at what channels are.
When you login to your Google Adsense account, you will see a tab labeled “Adsense Setup”, which I mentioned in creating adsense adverts, click this tab. This will bring you so a screen which looks rather complicated, not to worry, it’s not too tricky.
If you look at the image along side, you will see two numbers: 1 and 2. Our first step is to click on “URL channels”, labeled with a 1. Then proceed to click “Add new URL channels”, which is labeled with a 2. When you click this, it will display a text area. The specific instructions are on the located on the right, but all that is really required is that you type in the domain name, leaving out the http://www so if I wanted to add a channel for https://webtrepreneur.co.za, I would type in webtrepreneur.co.za only. Once you have typed in the domain of choice, click the “Add Chanel” button, and you will see the domain appear in the list above.
For those of you who have many websites, you can add each one to the list. Why would you do this? Well, basically, what channels do is allow you to track your Adsense revenue across all your websites, so you can monitor and see which websites are bringing in the most revenue. If you only have one website, what you can do is setup channels for different areas, for example, if you have wordpress installed on your website, you can track Adsense on your main page, as well as different pages you have adsense on. E.g. webtrepreneur.co.za/index.php and webtrepreneur.co.za/comments.php - this will allow me to see whether I generate more revenue from adverts on my main page or on my comments page. Knowing this will allow you to place adverts to maximize your revenue.
If you now return back to your main page, by clicking the “Reports” tab at the top of the screen, you will see “AdSense for Content” about a 1/3 down your screen, and along side this, you will see a clickable link “top channels”. When you click this link it will list all your channels, and give you a breakdown of each one, I have placed an example on the side, of my channels.
You can get more information here.
15 Apr
Yesterday I covered setting up an Adsense account. If you are new to the game, sign up for an Adsense account with the link below, and read my artcile on setting up an Adsense account.
Right, so now we have setup an adsense account, and we want to start placing adverts on our websites. The process is fairly straight forward, let’s take a look.
Step1 - Once you are logged into your account, you will see three tabs, “Reports”, “Adsense Setup”, “My Account”. You should be currently on “Reports”. Click on the “Adsense Setup” tab, and move along to step2.
Step2 - On the “Adsense Setup” page, you will once again be presented with three options. Today I am going to cover the standard adverts, which you see on most websites. Click on the “Adsense for Content” link.
Step3 - We now have the choice of two options, either to to setup ad units, which are the common adsense adverts, or a link unit advert. Google shows us example on the right hand side, and both options follow the same setup, so in this example I will be using the ad units approach.
Step4 - Select the “Ad unit” link (baring in mind, that you can choose to show either Text Adverts or Image Adverts), I will be choosing the Text Adverts. The next page you are presented with is the important step, the setup. Read below:
Step5 - Once you have selected your colours, click the “Continue>>” button, this will bring you to a page about channels, for now we are going to skip this step, and you may click the “Continue>>” button once again. We are now at the final step, the code.
Step6 - You will now see a textarea with a bunch of strange code. This code is Javascript, which is a client side programming language, which basically means, you copy the code given to you, and add it into the current code of your website, whereever you would like to see the adverts. Once you have done that, we are finished, and your adverts will appear on your website!
Webtrepreneur suggests that you play around with colours and advert placement. The process of setting up your adsense is fairly easy, as we saw, but selected the best colours and placement for your website, is something which takes a lot of trial and error. I will return to the topic of colour usage and placement in posts to come, but for now, I will let you swim freely.
Enjoy the experience, you are now able to start earning a little revenue already!
15 Apr
Alright, I have been bombarded with emails asking me to start talking about adsense! It is obvious that people are here for one reason - To make some money! I have covered the basics of SEO, and how to drive some traffic to your website, so let’s get right to it:
Signing up for Google Adsense
Step 1 -
Click the link above to start the process! This will load a website, which will allow you to either, take a tour about Google Adsense or Sign Up for Google Adsense. Feel free to skip the tour if you are keen to start making money, you can always take the tour another time, it’s not crucial!
Step 2 -
Once you have clicked the signup link above, you will be presented with a comprehensive form. Take your time, and fill out the form correctly, there are no shortcuts here, you need to fill in all your information correctly. Google pay via cheque, so make sure you enter your address in correctly. Once you have done so, submit the form, and wait for further instructions. You will be asked for your email account (make sure you use a valid one), and a password. After this, you are basically done.
Step 3 -
At this point, Google will send you an email, which should arrive fairly quickly in your inbox. This email will include a link, which you will be required to click in order to confirm your account. Click the link, and you will be presented with a login form.
Step 4 -
Login using your email address and password.
You’re done. Pretty straight forward? Webtrepreneur supports Googles excellent services! I will post an article or two tomorrow explain how to setup adsense adverts on your website, as well as tips to create the best adverts for your website. I will then cover channels and various other important adsense factors, so stay connected to Webtrepreneur.