Internet entrepreneurship Success (eight): Analysis of advertising Click to enhance the revenue of the site

Source: Internet
Author: User

Intermediary transaction SEO diagnosis Taobao guest Cloud host technology Hall

After the site through the promotion of access to traffic, profitability is the next issue to consider. What is the profit model of the website, how to choose the Profit method which is suitable for oneself site, is the question that this chapter needs to discuss deeply.

First, divergent thinking to maximize the profitability of the website

Second, the Advertising alliance to choose to be cautious

Iii. introduction of large advertising alliance

Iv. is the website suitable for profit through advertising alliance?

Five, the Website advertisement optimization method

Vi. Google AdSense Application for actual combat

Details of the above can go to the article "Internet Entrepreneurship Success (eight): Google AdSense Application Actual" read.

Seven. Analysis of advertising clicks, enhance the revenue of the website

Google AdSense Advertising Alliance has been the most important channels for profit, but the default AdSense statistics background only basic display times and click-through simple data, these statistics can not fully reflect the specific situation of advertising. Here to teach you how to add analytics statistics code, cleverly statistics AdSense ads click, and then through the statistical data for the optimization of advertising, so as to obtain higher advertising revenue.

1. Advertising clicks

Although the internet has been a variety of statistical AdSense ads click Software, but because Google official statement can not modify the code adsense, and these third-party statistical services most need to modify the code to carry out statistics. And then the official updated AdSense advertising code, the new version of the advertising code can hardly use any third-party statistical tools, and the default data tables only a brief number, and can not carry out further advertising analysis, resulting in the analysis of ad clicks and other data is inconvenient.

Through the default statistics, you can learn from the "number of page shows" and "clicks" on the revenue generated by the last advertisement, but do not know who the ads are clicked by which users, how to click the details. And for advertising analysis, these data is particularly important, not only through it to further optimize the ads, but also to make it conform to user habits, to avoid web ads will bring visitors disgust and so on.

In fact, not only the analysis of advertising clicks to increase revenue, for webmaster, click Statistics can also analyze what IP addresses clicked on ads, so as to better avoid the current popular "malicious click." Although most third-party tools can no longer be able to statistics AdSense, but we can also through Google Analytics, clever to add statistical code, the ads click on various aspects of detailed statistics.

Google AdSense will integrate Google Analytics, according to Google's official blog. Google AdSense Publishers will gradually provide an invitation to use this feature, but currently not every Publisher can use this feature, but the use of some code, still can achieve the use of analytics statistics AdSense features high.

Google Analytics is Google's Web site traffic statistics Analysis Services, to use analytics, you need to register Google's account first. Then login http://www.google.com/analytics/, the site defaults to the English interface, only the top of the page to choose the language for the "Chinese (Simplified)" can be modified. If you have not registered a statistics account, you will need to register to sign in.

If you have not used analytics before, login first need to add a site to be counted: Click "Add Site Profile", follow the instructions on the page to enter the text, confirm and then according to the "Tracking Code" column prompts, according to their own needs to add statistical source code.

Figure 11 Creating a Web site configuration file

2. Create a statistical transformation target with the function of borrowing

After the site is added, return to the Statistics main page, select the Web site that you want to count under the site profile, click the "Modify" button, go to the "Convert Target and Channel" section, and click the "Settings" button to choose to modify a target.

When you open the target column, select the active target Radio box to open, match the type to front match, enter "/count" in the Target URL text box, and fill in "count". The goal is a Non-existent site directory, added only for AdSense click Statistics function.

Figure 12 Setting target information

"Defining channels" is a series of web pages that guide visitors to the destination site, such as the process of registering a user, which can be accomplished through the implementation of this channel. If you need to, you can fill in the following section of the page address. After all the above parameters are set up, click the "Save Settings" button.

Small hint: The target URL here can fill any website directory, need to note is, cannot fill in already existing website directory address.

3. Add code Analysis Click to optimize advertising

After the setup is complete in the statistics program, a JavaScript file will be added next. Save the following code as a astrack.js file, and if you modify the "Destination URL" in the previous section, you need to open the code file, find the Urchintracker ('/count ') two code, and change "/count" to the parameter you just modified. Otherwise, the program code will not be statistically normal.

function As_click () {

Urchintracker ('/count ');

}

Incredibly funky onload add-event scripting, for all browsers

if (typeof Window.addeventlistener!= ' undefined ')

{

//.. Gecko, Safari, Konqueror and Standard

Window.addeventlistener (' Load ', Adsense_init, false);

}

else if (typeof document.addeventlistener!= ' undefined ')

{

//.. Opera 7

Document.addeventlistener (' Load ', Adsense_init, false);

}

else if (typeof window.attachevent!= ' undefined ')

{

//.. Win/ie

Window.attachevent (' onload ', adsense_init);

}

* * Remove this condition to degrade older browsers

Else

{

//.. Mac/ie5 and anything else that gets this far

If there ' s an existing onload function

if (typeof window.onload = = ' function ')

{

Store it

var existing = onload;

Add new onload Handler

Window.onload = function ()

{

Call existing onload function

existing ();

Call Adsense_init onload function

Adsense_init ();

};

}

Else

{

Setup onload function

Window.onload = Adsense_init;

}

}

function Adsense_init () {

if (document.all) {//ie

var el = document.getElementsByTagName ("iframe");

for (var i = 0; i < el.length; i++) {

if (El[i].src.indexof (' googlesyndication.com ') >-1) {

El[i].onfocus = As_click;

}

}

else {//Firefox

Window.addeventlistener (' Beforeunload ', Dopageexit, false);

Window.addeventlistener (' MouseMove ', getmouse, true);

}

}

For Firefox

var px;

var py;

function Getmouse (e) {

Px=e.pagex;

Py=e.clienty;

}

function Findy (obj) {

var y = 0;

while (obj) {

Y + + obj.offsettop;

obj = obj.offsetparent;

}

return (y);

}

function Findx (obj) {

var x = 0;

while (obj) {

x + + Obj.offsetleft;

obj = obj.offsetparent;

}

return (x);

}

function Dopageexit (e) {

AD = document.getElementsByTagName ("iframe");

For (i=0 i<ad.length; i++) {

var adleft = Findx (Ad[i]);

var adtop = Findy (Ad[i]);

var Inframex = (px > (adLeft-10) && px < (parseint (adleft) + parseint (ad[i].width) + 15));

var Inframey = (py > (adTop-10) && py < (parseint (adtop) + parseint (ad[i].height) + 10));

if (Inframey && Inframex) {

Urchintracker ('/count ');

}

}

}

End for Firefox

Then upload the code file to the server space, and put it into the AdSense advertising code, that is, immediately after the advertising source code added. If you have multiple AdSense ads on a Web page, you can place the JavaScript code behind the last ad code.

If it is a CMS or other Web site management system, you can add advertising statistics code directly in the template, it should be noted that if the ad generated static, but also need to update the Web page, the code can be used normally. Set the correct words, Google Analytics began to statistics adsense clicks and other parameters, but because AdSense strictly prohibit the webmaster to click on their own ads, so do not click on their own to test data. Just wait a little while, and you'll see data such as target tracking.

By displaying the ads click on the data, you can see that the location of the ads click More popular, what period of time the number of ads clicked most ... This can adjust the advertising position, optimize the combination of advertising programs, so as to obtain more advertising revenue.

Please pay attention to the other chapters of chapter eighth:

Nine, Ali mother buy and sell advertising platform

Ten, domain name parking idle domain name skillfully use

RELATED links:

Internet Entrepreneurship Success (vii): Using SEO partners to optimize the site

"Internet Entrepreneurship success: Web site planning, construction, promotion of profitable combat strategy" is a comprehensive explanation of the whole process of website construction of a book, is also the author of five years experience in the establishment of a summary of the station.

This book revolves around the whole process of website construction, from the beginning of the site planning, one by one explained the site creation, site content management, website maintenance, network marketing programs, website SEO, website profitability and other practical operations, and in the form of examples for you to introduce the success of the network business case and website operation of the misunderstanding, So that we can learn the most direct site experience.

A5 Webmaster Network will be serialized this book, if you want to first read, you can go to the Network of Excellence Online bookstore Purchase, the book in Xinhua bookstore throughout the country also has sales.

Author: Tao Qiufung (endto) publishing house: Computer newspaper Electronic audio-visual publishing house.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.